1 /* SPDX-License-Identifier: GPL-2.0 */
6 #if defined(CONFIG_XEN_DOM0)
7 int xen_reset_device(const struct pci_dev
*dev
);
8 int xen_find_device_domain_owner(struct pci_dev
*dev
);
9 int xen_register_device_domain_owner(struct pci_dev
*dev
, uint16_t domain
);
10 int xen_unregister_device_domain_owner(struct pci_dev
*dev
);
12 static inline int xen_reset_device(const struct pci_dev
*dev
)
17 static inline int xen_find_device_domain_owner(struct pci_dev
*dev
)
22 static inline int xen_register_device_domain_owner(struct pci_dev
*dev
,
28 static inline int xen_unregister_device_domain_owner(struct pci_dev
*dev
)