Lines Matching defs:dev
23 void (*func)(QPCIDevice *dev, int devfn, void *data), in qpci_device_foreach()
32 QPCIDevice *dev; in qpci_device_foreach() local
56 bool qpci_has_buggy_msi(QPCIDevice *dev) in qpci_has_buggy_msi()
61 bool qpci_check_buggy_msi(QPCIDevice *dev) in qpci_check_buggy_msi()
70 static void qpci_device_set(QPCIDevice *dev, QPCIBus *bus, int devfn) in qpci_device_set()
80 QPCIDevice *dev; in qpci_device_find() local
93 void qpci_device_init(QPCIDevice *dev, QPCIBus *bus, QPCIAddress *addr) in qpci_device_init()
104 static uint8_t qpci_find_resource_reserve_capability(QPCIDevice *dev) in qpci_find_resource_reserve_capability()
136 QPCIDevice *dev; in qpci_secondary_buses_rec() local
221 void qpci_device_enable(QPCIDevice *dev) in qpci_device_enable()
249 uint8_t qpci_find_capability(QPCIDevice *dev, uint8_t id, uint8_t start_addr) in qpci_find_capability()
270 void qpci_msix_enable(QPCIDevice *dev) in qpci_msix_enable()
301 void qpci_msix_disable(QPCIDevice *dev) in qpci_msix_disable()
323 bool qpci_msix_pending(QPCIDevice *dev, uint16_t entry) in qpci_msix_pending()
336 bool qpci_msix_masked(QPCIDevice *dev, uint16_t entry) in qpci_msix_masked()
356 uint16_t qpci_msix_table_size(QPCIDevice *dev) in qpci_msix_table_size()
368 uint8_t qpci_config_readb(QPCIDevice *dev, uint8_t offset) in qpci_config_readb()
373 uint16_t qpci_config_readw(QPCIDevice *dev, uint8_t offset) in qpci_config_readw()
378 uint32_t qpci_config_readl(QPCIDevice *dev, uint8_t offset) in qpci_config_readl()
384 void qpci_config_writeb(QPCIDevice *dev, uint8_t offset, uint8_t value) in qpci_config_writeb()
389 void qpci_config_writew(QPCIDevice *dev, uint8_t offset, uint16_t value) in qpci_config_writew()
394 void qpci_config_writel(QPCIDevice *dev, uint8_t offset, uint32_t value) in qpci_config_writel()
399 uint8_t qpci_io_readb(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readb()
413 uint16_t qpci_io_readw(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readw()
427 uint32_t qpci_io_readl(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readl()
441 uint64_t qpci_io_readq(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readq()
455 void qpci_io_writeb(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_io_writeb()
467 void qpci_io_writew(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_io_writew()
480 void qpci_io_writel(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_io_writel()
493 void qpci_io_writeq(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_io_writeq()
506 void qpci_memread(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_memread()
513 void qpci_memwrite(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_memwrite()
520 QPCIBar qpci_iomap(QPCIDevice *dev, int barno, uint64_t *sizeptr) in qpci_iomap()
580 void qpci_iounmap(QPCIDevice *dev, QPCIBar bar) in qpci_iounmap()
585 QPCIBar qpci_legacy_iomap(QPCIDevice *dev, uint16_t addr) in qpci_legacy_iomap()