Lines Matching refs:pci_pdev
53 static struct pci_pdev pci_pdevs[CONFIG_MAX_PCI_DEV_NUM];
58 static struct pci_pdev *hv_owned_pci_pdevs[CONFIG_MAX_PCI_DEV_NUM];
65 const struct pci_pdev **get_hv_owned_pdevs(void) in get_hv_owned_pdevs()
67 return (const struct pci_pdev **)hv_owned_pci_pdevs; in get_hv_owned_pdevs()
238 bool pdev_need_bar_restore(const struct pci_pdev *pdev) in pdev_need_bar_restore()
263 static inline void pdev_save_bar(struct pci_pdev *pdev) in pdev_save_bar()
272 void pdev_restore_bar(const struct pci_pdev *pdev) in pdev_restore_bar()
281 static const struct pci_pdev *pci_find_pdev(uint16_t pbdf) in pci_find_pdev()
284 const struct pci_pdev *found = NULL, *tmp; in pci_find_pdev()
287 tmp = hlist_entry(n, struct pci_pdev, link); in pci_find_pdev()
307 const struct pci_pdev *pdev = pci_find_pdev(pbdf); in pci_lookup_drhd_for_pbdf()
423 struct pci_pdev *pdev; in scan_pci_hierarchy()
544 static void config_pci_bridge(const struct pci_pdev *pdev) in config_pci_bridge()
585 struct pci_pdev *pdev = NULL; in init_all_dev_config()
669 static void pci_enable_ptm_root(struct pci_pdev *pdev, uint32_t pos) in pci_enable_ptm_root()
700 static void pci_enumerate_ext_cap(struct pci_pdev *pdev) in pci_enumerate_ext_cap()
773 static void pci_enumerate_cap(struct pci_pdev *pdev) in pci_enumerate_cap()
844 struct pci_pdev *pci_init_pdev(union pci_bdf bdf, uint32_t drhd_index) in pci_init_pdev()
847 struct pci_pdev *pdev = NULL; in pci_init_pdev()