Home
last modified time | relevance | path

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

/openbmc/linux/drivers/xen/xen-pciback/
H A Dpciback.h34 struct xen_pcibk_device { struct
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,
112 void (*release)(struct xen_pcibk_device *pdev, struct pci_dev *dev,
114 int (*add)(struct xen_pcibk_device *pdev, struct pci_dev *dev,
116 struct pci_dev *(*get)(struct xen_pcibk_device *pdev,
[all …]
H A Dxenbus.c39 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()
142 static int xen_pcibk_attach(struct xen_pcibk_device *pdev) in xen_pcibk_attach()
362 static int xen_pcibk_reconfigure(struct xen_pcibk_device *pdev, in xen_pcibk_reconfigure()
521 struct xen_pcibk_device *pdev = dev_get_drvdata(&xdev->dev); in xen_pcibk_frontend_changed()
662 struct xen_pcibk_device *pdev = in xen_pcibk_be_watch()
663 container_of(watch, struct xen_pcibk_device, be_watch); in xen_pcibk_be_watch()
688 struct xen_pcibk_device *pdev = alloc_pdev(dev); in xen_pcibk_xenbus_probe()
[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.c55 struct xen_pcibk_device *pdev;/* non-NULL if struct pci_dev is in use */
191 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()
701 struct xen_pcibk_device *pdev = psdev->pdev; in common_process()