Home
last modified time | relevance | path

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

/linux/drivers/xen/xen-pciback/
H A Dpciback.h34 struct xen_pcibk_device { struct
67 struct pci_dev *pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, argument
70 struct pci_dev *pcistub_get_pci_dev(struct xen_pcibk_device *pdev,
94 typedef int (*publish_pci_dev_cb) (struct xen_pcibk_device *pdev,
97 typedef int (*publish_pci_root_cb) (struct xen_pcibk_device *pdev,
106 int (*init)(struct xen_pcibk_device *pdev);
107 void (*free)(struct xen_pcibk_device *pdev);
108 int (*find)(struct pci_dev *pcidev, struct xen_pcibk_device *pdev,
111 int (*publish)(struct xen_pcibk_device *pdev, publish_pci_root_cb cb);
112 void (*release)(struct xen_pcibk_device *pdev, struct pci_dev *dev,
[all …]
H A 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()
88 static void free_pdev(struct xen_pcibk_device *pdev) in free_pdev()
107 static int xen_pcibk_do_attach(struct xen_pcibk_device *pdev, int gnt_ref, in xen_pcibk_do_attach()
142 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 …]
H A Dpassthrough.c20 static struct pci_dev *__xen_pcibk_get_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_get_pci_dev()
45 static int __xen_pcibk_add_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_add_pci_dev()
72 static void __xen_pcibk_release_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_release_pci_dev()
100 static int __xen_pcibk_init_devices(struct xen_pcibk_device *pdev) in __xen_pcibk_init_devices()
117 static int __xen_pcibk_publish_pci_roots(struct xen_pcibk_device *pdev, in __xen_pcibk_publish_pci_roots()
159 static void __xen_pcibk_release_devices(struct xen_pcibk_device *pdev) in __xen_pcibk_release_devices()
178 struct xen_pcibk_device *pdev, in __xen_pcibk_get_pcifront_dev()
H A Dpciback_ops.c142 int xen_pcibk_enable_msi(struct xen_pcibk_device *pdev, in xen_pcibk_enable_msi()
177 int xen_pcibk_disable_msi(struct xen_pcibk_device *pdev, in xen_pcibk_disable_msi()
197 int xen_pcibk_enable_msix(struct xen_pcibk_device *pdev, in xen_pcibk_enable_msix()
256 int xen_pcibk_disable_msix(struct xen_pcibk_device *pdev, in xen_pcibk_disable_msix()
280 static inline bool xen_pcibk_test_op_pending(struct xen_pcibk_device *pdev) in xen_pcibk_test_op_pending()
293 static void xen_pcibk_test_and_schedule_op(struct xen_pcibk_device *pdev) in xen_pcibk_test_and_schedule_op()
321 static void xen_pcibk_do_one_op(struct xen_pcibk_device *pdev) in xen_pcibk_do_one_op()
399 struct xen_pcibk_device *pdev = in xen_pcibk_do_op()
400 container_of(data, struct xen_pcibk_device, op_work); in xen_pcibk_do_op()
411 struct xen_pcibk_device *pdev = dev_id; in xen_pcibk_handle_event()
H A Dvpci.c31 static struct pci_dev *__xen_pcibk_get_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_get_pci_dev()
69 static int __xen_pcibk_add_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_add_pci_dev()
150 static void __xen_pcibk_release_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_release_pci_dev()
184 static int __xen_pcibk_init_devices(struct xen_pcibk_device *pdev) in __xen_pcibk_init_devices()
203 static int __xen_pcibk_publish_pci_roots(struct xen_pcibk_device *pdev, in __xen_pcibk_publish_pci_roots()
210 static void __xen_pcibk_release_devices(struct xen_pcibk_device *pdev) in __xen_pcibk_release_devices()
233 struct xen_pcibk_device *pdev, in __xen_pcibk_get_pcifront_dev()
H A Dpci_stub.c58 struct xen_pcibk_device *pdev;/* non-NULL if struct pci_dev is in use */
210 static struct pci_dev *pcistub_device_get_pci_dev(struct xen_pcibk_device *pdev, in pcistub_device_get_pci_dev()
247 struct pci_dev *pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, in pcistub_get_pci_dev_by_slot()
265 struct pci_dev *pcistub_get_pci_dev(struct xen_pcibk_device *pdev, in pcistub_get_pci_dev()
764 struct xen_pcibk_device *pdev = psdev->pdev; in common_process()