Home
last modified time | relevance | path

Searched refs:xen_pcibk_device (Results 1 – 6 of 6) sorted by relevance

/drivers/xen/xen-pciback/
Dpciback.h33 struct xen_pcibk_device { struct
66 struct pci_dev *pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, argument
69 struct pci_dev *pcistub_get_pci_dev(struct xen_pcibk_device *pdev,
88 typedef int (*publish_pci_dev_cb) (struct xen_pcibk_device *pdev,
91 typedef int (*publish_pci_root_cb) (struct xen_pcibk_device *pdev,
100 int (*init)(struct xen_pcibk_device *pdev);
101 void (*free)(struct xen_pcibk_device *pdev);
102 int (*find)(struct pci_dev *pcidev, struct xen_pcibk_device *pdev,
105 int (*publish)(struct xen_pcibk_device *pdev, publish_pci_root_cb cb);
106 void (*release)(struct xen_pcibk_device *pdev, struct pci_dev *dev,
[all …]
Dxenbus.c37 static struct xen_pcibk_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
39 struct xen_pcibk_device *pdev; in alloc_pdev()
41 pdev = kzalloc(sizeof(struct xen_pcibk_device), GFP_KERNEL); in alloc_pdev()
67 static void xen_pcibk_disconnect(struct xen_pcibk_device *pdev) in xen_pcibk_disconnect()
89 static void free_pdev(struct xen_pcibk_device *pdev) in free_pdev()
108 static int xen_pcibk_do_attach(struct xen_pcibk_device *pdev, int gnt_ref, in xen_pcibk_do_attach()
143 static int xen_pcibk_attach(struct xen_pcibk_device *pdev) in xen_pcibk_attach()
203 static int xen_pcibk_publish_pci_dev(struct xen_pcibk_device *pdev, in xen_pcibk_publish_pci_dev()
226 static int xen_pcibk_export_device(struct xen_pcibk_device *pdev, in xen_pcibk_export_device()
273 static int xen_pcibk_remove_device(struct xen_pcibk_device *pdev, in xen_pcibk_remove_device()
[all …]
Dpassthrough.c19 static struct pci_dev *__xen_pcibk_get_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_get_pci_dev()
44 static int __xen_pcibk_add_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_add_pci_dev()
71 static void __xen_pcibk_release_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_release_pci_dev()
99 static int __xen_pcibk_init_devices(struct xen_pcibk_device *pdev) in __xen_pcibk_init_devices()
116 static int __xen_pcibk_publish_pci_roots(struct xen_pcibk_device *pdev, in __xen_pcibk_publish_pci_roots()
158 static void __xen_pcibk_release_devices(struct xen_pcibk_device *pdev) in __xen_pcibk_release_devices()
177 struct xen_pcibk_device *pdev, in __xen_pcibk_get_pcifront_dev()
Dpciback_ops.c143 int xen_pcibk_enable_msi(struct xen_pcibk_device *pdev, in xen_pcibk_enable_msi()
183 int xen_pcibk_disable_msi(struct xen_pcibk_device *pdev, in xen_pcibk_disable_msi()
207 int xen_pcibk_enable_msix(struct xen_pcibk_device *pdev, in xen_pcibk_enable_msix()
272 int xen_pcibk_disable_msix(struct xen_pcibk_device *pdev, in xen_pcibk_disable_msix()
300 static inline bool xen_pcibk_test_op_pending(struct xen_pcibk_device *pdev) in xen_pcibk_test_op_pending()
313 static void xen_pcibk_test_and_schedule_op(struct xen_pcibk_device *pdev) in xen_pcibk_test_and_schedule_op()
341 static void xen_pcibk_do_one_op(struct xen_pcibk_device *pdev) in xen_pcibk_do_one_op()
419 struct xen_pcibk_device *pdev = in xen_pcibk_do_op()
420 container_of(data, struct xen_pcibk_device, op_work); in xen_pcibk_do_op()
431 struct xen_pcibk_device *pdev = dev_id; in xen_pcibk_handle_event()
Dvpci.c29 static struct pci_dev *__xen_pcibk_get_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_get_pci_dev()
67 static int __xen_pcibk_add_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_add_pci_dev()
149 static void __xen_pcibk_release_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_release_pci_dev()
183 static int __xen_pcibk_init_devices(struct xen_pcibk_device *pdev) in __xen_pcibk_init_devices()
202 static int __xen_pcibk_publish_pci_roots(struct xen_pcibk_device *pdev, in __xen_pcibk_publish_pci_roots()
209 static void __xen_pcibk_release_devices(struct xen_pcibk_device *pdev) in __xen_pcibk_release_devices()
232 struct xen_pcibk_device *pdev, in __xen_pcibk_get_pcifront_dev()
Dpci_stub.c51 struct xen_pcibk_device *pdev;/* non-NULL if struct pci_dev is in use */
180 static struct pci_dev *pcistub_device_get_pci_dev(struct xen_pcibk_device *pdev, in pcistub_device_get_pci_dev()
201 struct pci_dev *pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, in pcistub_get_pci_dev_by_slot()
226 struct pci_dev *pcistub_get_pci_dev(struct xen_pcibk_device *pdev, in pcistub_get_pci_dev()
647 struct xen_pcibk_device *pdev = psdev->pdev; in common_process()