Lines Matching refs:dev
265 struct dev;
266 typedef int (*pci_probe_t)(struct dev *, struct pci_device *);
283 extern void scan_pci_bus(int type, struct pci_device *dev);
284 extern void find_pci(int type, struct pci_device *dev);
297 pci_read_config_byte(struct pci_device *dev, unsigned int where, uint8_t *value)
299 return pcibios_read_config_byte(dev->bus, dev->devfn, where, value);
302 pci_write_config_byte(struct pci_device *dev, unsigned int where, uint8_t value)
304 return pcibios_write_config_byte(dev->bus, dev->devfn, where, value);
307 pci_read_config_word(struct pci_device *dev, unsigned int where, uint16_t *value)
309 return pcibios_read_config_word(dev->bus, dev->devfn, where, value);
312 pci_write_config_word(struct pci_device *dev, unsigned int where, uint16_t value)
314 return pcibios_write_config_word(dev->bus, dev->devfn, where, value);
317 pci_read_config_dword(struct pci_device *dev, unsigned int where, uint32_t *value)
319 return pcibios_read_config_dword(dev->bus, dev->devfn, where, value);
322 pci_write_config_dword(struct pci_device *dev, unsigned int where, uint32_t value)
324 return pcibios_write_config_dword(dev->bus, dev->devfn, where, value);
328 extern unsigned long pci_bar_start(struct pci_device *dev, unsigned int bar);
329 extern unsigned long pci_bar_size(struct pci_device *dev, unsigned int bar);
331 extern int pci_find_capability(struct pci_device *dev, int cap);
337 struct dev;