Lines Matching refs:dev
18 int xen_find_device_domain_owner(struct pci_dev *dev);
19 int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain);
20 int xen_unregister_device_domain_owner(struct pci_dev *dev);
26 static inline int xen_find_device_domain_owner(struct pci_dev *dev)
30 static inline int xen_register_device_domain_owner(struct pci_dev *dev,
35 static inline int xen_unregister_device_domain_owner(struct pci_dev *dev)
47 int (*enable_msi)(struct pci_dev *dev, int vectors[]);
48 void (*disable_msi)(struct pci_dev *dev);
49 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec);
50 void (*disable_msix)(struct pci_dev *dev);
55 static inline int xen_pci_frontend_enable_msi(struct pci_dev *dev,
59 return xen_pci_frontend->enable_msi(dev, vectors);
62 static inline void xen_pci_frontend_disable_msi(struct pci_dev *dev)
65 xen_pci_frontend->disable_msi(dev);
67 static inline int xen_pci_frontend_enable_msix(struct pci_dev *dev,
71 return xen_pci_frontend->enable_msix(dev, vectors, nvec);
74 static inline void xen_pci_frontend_disable_msix(struct pci_dev *dev)
77 xen_pci_frontend->disable_msix(dev);