Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/xen/xen-pciback/
Dpciback.h34 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()
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()
202 static int xen_pcibk_publish_pci_dev(struct xen_pcibk_device *pdev, in xen_pcibk_publish_pci_dev()
225 static int xen_pcibk_export_device(struct xen_pcibk_device *pdev, in xen_pcibk_export_device()
272 static int xen_pcibk_remove_device(struct xen_pcibk_device *pdev, in xen_pcibk_remove_device()
[all …]
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()
Dvpci.c30 static struct pci_dev *__xen_pcibk_get_pci_dev(struct xen_pcibk_device *pdev, in __xen_pcibk_get_pci_dev()
68 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()
Dpciback_ops.c144 int xen_pcibk_enable_msi(struct xen_pcibk_device *pdev, in xen_pcibk_enable_msi()
184 int xen_pcibk_disable_msi(struct xen_pcibk_device *pdev, in xen_pcibk_disable_msi()
208 int xen_pcibk_enable_msix(struct xen_pcibk_device *pdev, in xen_pcibk_enable_msix()
273 int xen_pcibk_disable_msix(struct xen_pcibk_device *pdev, in xen_pcibk_disable_msix()
301 static inline bool xen_pcibk_test_op_pending(struct xen_pcibk_device *pdev) in xen_pcibk_test_op_pending()
314 static void xen_pcibk_test_and_schedule_op(struct xen_pcibk_device *pdev) in xen_pcibk_test_and_schedule_op()
342 static void xen_pcibk_do_one_op(struct xen_pcibk_device *pdev) in xen_pcibk_do_one_op()
420 struct xen_pcibk_device *pdev = in xen_pcibk_do_op()
421 container_of(data, struct xen_pcibk_device, op_work); in xen_pcibk_do_op()
432 struct xen_pcibk_device *pdev = dev_id; in xen_pcibk_handle_event()
Dpci_stub.c53 struct xen_pcibk_device *pdev;/* non-NULL if struct pci_dev is in use */
189 static struct pci_dev *pcistub_device_get_pci_dev(struct xen_pcibk_device *pdev, in pcistub_device_get_pci_dev()
210 struct pci_dev *pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, in pcistub_get_pci_dev_by_slot()
228 struct pci_dev *pcistub_get_pci_dev(struct xen_pcibk_device *pdev, in pcistub_get_pci_dev()
699 struct xen_pcibk_device *pdev = psdev->pdev; in common_process()