/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | pci_dn.c | 30 static struct pci_dn *pci_bus_to_pdn(struct pci_bus *bus) in pci_bus_to_pdn() 34 struct pci_dn *pdn; in pci_bus_to_pdn() 58 struct pci_dn *pci_get_pdn_by_devfn(struct pci_bus *bus, in pci_get_pdn_by_devfn() 62 struct pci_dn *parent, *pdn; in pci_get_pdn_by_devfn() 95 struct pci_dn *pci_get_pdn(struct pci_dev *pdev) in pci_get_pdn() 98 struct pci_dn *parent, *pdn; in pci_get_pdn() 128 static struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) in eeh_dev_init() 148 static struct pci_dn *add_one_sriov_vf_pdn(struct pci_dn *parent, in add_one_sriov_vf_pdn() 151 struct pci_dn *pdn; in add_one_sriov_vf_pdn() 173 struct pci_dn *add_sriov_vf_pdns(struct pci_dev *pdev) in add_sriov_vf_pdns() [all …]
|
D | rtas_pci.c | 35 static inline int config_access_valid(struct pci_dn *dn, int where) in config_access_valid() 45 int rtas_read_config(struct pci_dn *pdn, int where, int size, u32 *val) in rtas_read_config() 81 struct pci_dn *pdn; in rtas_pci_read_config() 97 int rtas_write_config(struct pci_dn *pdn, int where, int size, u32 val) in rtas_write_config() 131 struct pci_dn *pdn; in rtas_pci_write_config()
|
D | pci-hotplug.c | 40 struct pci_dn *pdn = PCI_DN(dn); in pci_find_bus_by_node() 58 struct pci_dn *pdn = pci_get_pdn(dev); in pcibios_release_device()
|
D | eeh_sysfs.c | 84 struct pci_dn *pdn = pci_get_pdn(pdev); in eeh_notify_resume_show()
|
D | Makefile | 123 pci64-$(CONFIG_PPC64) += pci_dn.o pci-hotplug.o isa-bridge.o
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | pci-bridge.h | 125 struct pci_dn *pci_data; 183 struct pci_dn { struct 194 struct pci_dn *parent; argument 220 #define PCI_DN(dn) ((struct pci_dn *) (dn)->data) 222 extern struct pci_dn *pci_get_pdn_by_devfn(struct pci_bus *bus, 224 extern struct pci_dn *pci_get_pdn(struct pci_dev *pdev); 225 extern struct pci_dn *pci_add_device_node_info(struct pci_controller *hose, 230 struct pci_dn *add_sriov_vf_pdns(struct pci_dev *pdev); 245 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()
|
D | ppc-pci.h | 30 struct pci_dn; 35 void *traverse_pci_dn(struct pci_dn *root, 36 void *(*fn)(struct pci_dn *, void *), 54 int rtas_write_config(struct pci_dn *, int where, int size, u32 val); 55 int rtas_read_config(struct pci_dn *, int where, int size, u32 *val);
|
D | eeh.h | 21 struct pci_dn; 145 struct pci_dn *pdn; /* Associated PCI device node */ 165 static inline struct pci_dn *eeh_dev_to_pdn(struct eeh_dev *edev) in eeh_dev_to_pdn() 357 void pseries_eeh_init_edev(struct pci_dn *pdn); 358 void pseries_eeh_init_edev_recursive(struct pci_dn *pdn); 360 static inline void pseries_eeh_add_device_early(struct pci_dn *pdn) { } in pseries_eeh_add_device_early() 361 static inline void pseries_eeh_add_device_tree_early(struct pci_dn *pdn) { } in pseries_eeh_add_device_tree_early()
|
D | device.h | 10 struct pci_dn; 33 struct pci_dn *pci_data;
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 48 struct pci_dn *pdn = pci_get_pdn(pdev); in pseries_pcibios_bus_add_device() 99 static int pseries_eeh_get_pe_config_addr(struct pci_dn *pdn) in pseries_eeh_get_pe_config_addr() 246 static int pseries_eeh_cap_start(struct pci_dn *pdn) in pseries_eeh_cap_start() 261 static int pseries_eeh_find_cap(struct pci_dn *pdn, int cap) in pseries_eeh_find_cap() 286 static int pseries_eeh_find_ecap(struct pci_dn *pdn, int cap) in pseries_eeh_find_ecap() 326 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in pseries_eeh_pe_get_parent() 362 void pseries_eeh_init_edev(struct pci_dn *pdn) in pseries_eeh_init_edev() 460 struct pci_dn *pdn; in pseries_eeh_probe() 485 void pseries_eeh_init_edev_recursive(struct pci_dn *pdn) in pseries_eeh_init_edev_recursive() 487 struct pci_dn *n; in pseries_eeh_init_edev_recursive() [all …]
|
D | pci.c | 62 struct pci_dn *pdn; in pseries_send_map_pe() 93 struct pci_dn *pdn; in pseries_set_pe_num() 107 struct pci_dn *pdn; in pseries_associate_pes() 151 struct pci_dn *pdn; in pseries_pci_sriov_enable() 201 struct pci_dn *pdn; in pseries_pcibios_sriov_disable()
|
D | msi.c | 30 static int rtas_change_msi(struct pci_dn *pdn, u32 func, u32 num_irqs) in rtas_change_msi() 71 struct pci_dn *pdn; in rtas_disable_msi() 91 static int rtas_query_irq_number(struct pci_dn *pdn, int offset) in rtas_query_irq_number() 373 struct pci_dn *pdn; in rtas_setup_msi_irqs()
|
D | iommu.c | 578 struct pci_dn *pci; in pci_dma_bus_setup_pSeries() 692 struct pci_dn *ppci; in pci_dma_bus_setup_pSeriesLP() 936 struct pci_dn *pdn; in query_ddw() 993 struct pci_dn *pdn; in create_ddw() 1072 struct pci_dn *pdn; in reset_dma_window() 1301 struct pci_dn *pci; in pci_dma_dev_setup_pSeriesLP() 1426 struct pci_dn *pci = PCI_DN(np); in iommu_reconfig_notifier()
|
D | setup.c | 253 struct pci_dn *pdn; in pci_dn_reconfig_notifier()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 230 static int pnv_eeh_find_cap(struct pci_dn *pdn, int cap) in pnv_eeh_find_cap() 265 static int pnv_eeh_find_ecap(struct pci_dn *pdn, int cap) in pnv_eeh_find_ecap() 323 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_eeh_probe() 803 struct pci_dn *pdn = pci_get_pdn_by_devfn(dev->bus, dev->devfn); in __pnv_eeh_bridge_reset() 908 static void pnv_eeh_wait_for_pending(struct pci_dn *pdn, const char *type, in pnv_eeh_wait_for_pending() 929 static int pnv_eeh_do_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_flr() 967 static int pnv_eeh_do_af_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_af_flr() 1006 struct pci_dn *pdn; in pnv_eeh_reset_vf_pe() 1208 static inline bool pnv_eeh_cfg_blocked(struct pci_dn *pdn) in pnv_eeh_cfg_blocked() 1232 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in pnv_eeh_read_config() [all …]
|
D | pci.h | 10 struct pci_dn; 285 int pnv_pci_cfg_read(struct pci_dn *pdn, 287 int pnv_pci_cfg_write(struct pci_dn *pdn,
|
D | pci.c | 598 static void pnv_pci_config_check_eeh(struct pci_dn *pdn) in pnv_pci_config_check_eeh() 653 int pnv_pci_cfg_read(struct pci_dn *pdn, in pnv_pci_cfg_read() 689 int pnv_pci_cfg_write(struct pci_dn *pdn, in pnv_pci_cfg_write() 715 static bool pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check() 738 static inline pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check() 748 struct pci_dn *pdn; in pnv_pci_read_config() 777 struct pci_dn *pdn; in pnv_pci_write_config()
|
D | pci-sriov.c | 627 struct pci_dn *pdn; in pnv_ioda_setup_vf_PE() 640 struct pci_dn *vf_pdn; in pnv_ioda_setup_vf_PE()
|
D | pci-ioda.c | 683 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_get_pe() 780 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_ioda_set_peltv() 803 struct pci_dn *pdn = pci_get_pdn(parent); in pnv_ioda_unset_peltv() 985 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_dev_PE() 1108 struct pci_dn *npu_pdn; in pnv_ioda_setup_npu_PE() 1215 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pci_ioda_dma_dev_setup() 1344 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pci_ioda_iommu_bypass_supported() 2605 struct pci_dn *pdn; in pnv_pci_enable_device_hook() 2626 struct pci_dn *pdn; in pnv_ocapi_enable_device_hook() 2805 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pci_release_device()
|
D | npu-dma.c | 25 struct pci_dn *pdn = PCI_DN(dn); in get_pci_dev() 105 struct pci_dn *pdn; in get_gpu_pci_dev_and_pe()
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 139 struct pci_dn *pdn = PCI_DN(dn); in dlpar_pci_add_bus() 207 struct pci_dn *pdn; in dlpar_remove_phb()
|
D | pnv_php.c | 238 struct pci_dn *pdn; in pnv_php_add_one_pdn()
|