/linux-6.1.9/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 | 36 static inline int config_access_valid(struct pci_dn *dn, int where) in config_access_valid() 46 int rtas_read_config(struct pci_dn *pdn, int where, int size, u32 *val) in rtas_read_config() 82 struct pci_dn *pdn; in rtas_pci_read_config() 98 int rtas_write_config(struct pci_dn *pdn, int where, int size, u32 val) in rtas_write_config() 132 struct pci_dn *pdn; in rtas_pci_write_config()
|
D | pci-hotplug.c | 41 struct pci_dn *pdn = PCI_DN(dn); in pci_find_bus_by_node() 59 struct pci_dn *pdn = pci_get_pdn(dev); in pcibios_release_device()
|
D | eeh_sysfs.c | 85 struct pci_dn *pdn = pci_get_pdn(pdev); in eeh_notify_resume_show()
|
D | Makefile | 143 pci64-$(CONFIG_PPC64) += pci_dn.o pci-hotplug.o isa-bridge.o
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | pci-bridge.h | 125 struct pci_dn *pci_data; 191 struct pci_dn { struct 202 struct pci_dn *parent; argument 228 #define PCI_DN(dn) ((struct pci_dn *) (dn)->data) 230 extern struct pci_dn *pci_get_pdn_by_devfn(struct pci_bus *bus, 232 extern struct pci_dn *pci_get_pdn(struct pci_dev *pdev); 233 extern struct pci_dn *pci_add_device_node_info(struct pci_controller *hose, 238 struct pci_dn *add_sriov_vf_pdns(struct pci_dev *pdev); 243 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()
|
D | ppc-pci.h | 26 struct pci_dn; 47 int rtas_write_config(struct pci_dn *, int where, int size, u32 val); 48 int rtas_read_config(struct pci_dn *, int where, int size, u32 *val);
|
D | device.h | 10 struct pci_dn; 33 struct pci_dn *pci_data;
|
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() 355 void pseries_eeh_init_edev_recursive(struct pci_dn *pdn);
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 46 static void pseries_eeh_init_edev(struct pci_dn *pdn); 50 struct pci_dn *pdn = pci_get_pdn(pdev); in pseries_pcibios_bus_add_device() 101 static int pseries_eeh_get_pe_config_addr(struct pci_dn *pdn) in pseries_eeh_get_pe_config_addr() 248 static int pseries_eeh_cap_start(struct pci_dn *pdn) in pseries_eeh_cap_start() 263 static int pseries_eeh_find_cap(struct pci_dn *pdn, int cap) in pseries_eeh_find_cap() 288 static int pseries_eeh_find_ecap(struct pci_dn *pdn, int cap) in pseries_eeh_find_ecap() 328 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in pseries_eeh_pe_get_parent() 364 static void pseries_eeh_init_edev(struct pci_dn *pdn) in pseries_eeh_init_edev() 462 struct pci_dn *pdn; in pseries_eeh_probe() 487 void pseries_eeh_init_edev_recursive(struct pci_dn *pdn) in pseries_eeh_init_edev_recursive() [all …]
|
D | pci.c | 60 struct pci_dn *pdn; in pseries_send_map_pe() 91 struct pci_dn *pdn; in pseries_set_pe_num() 105 struct pci_dn *pdn; in pseries_associate_pes() 149 struct pci_dn *pdn; in pseries_pci_sriov_enable() 199 struct pci_dn *pdn; in pseries_pcibios_sriov_disable()
|
D | msi.c | 32 static int rtas_change_msi(struct pci_dn *pdn, u32 func, u32 num_irqs) in rtas_change_msi() 73 struct pci_dn *pdn; in rtas_disable_msi() 93 static int rtas_query_irq_number(struct pci_dn *pdn, int offset) in rtas_query_irq_number() 345 struct pci_dn *pdn; in rtas_prepare_msi_irqs()
|
D | iommu.c | 593 struct pci_dn *pci; in pci_dma_bus_setup_pSeries() 734 struct pci_dn *ppci; in pci_dma_bus_setup_pSeriesLP() 1014 struct pci_dn *pdn; in query_ddw() 1073 struct pci_dn *pdn; in create_ddw() 1152 struct pci_dn *pdn; in reset_dma_window() 1255 struct pci_dn *pci = PCI_DN(pdn); in enable_ddw() 1515 struct pci_dn *pci; in pci_dma_dev_setup_pSeriesLP() 1624 struct pci_dn *pci = PCI_DN(np); in iommu_reconfig_notifier()
|
D | setup.c | 283 struct pci_dn *pdn; in pci_dn_reconfig_notifier()
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | pci.h | 10 struct pci_dn; 276 int pnv_pci_cfg_read(struct pci_dn *pdn, 278 int pnv_pci_cfg_write(struct pci_dn *pdn,
|
D | eeh-powernv.c | 231 static int pnv_eeh_find_cap(struct pci_dn *pdn, int cap) in pnv_eeh_find_cap() 266 static int pnv_eeh_find_ecap(struct pci_dn *pdn, int cap) in pnv_eeh_find_ecap() 324 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_eeh_probe() 804 struct pci_dn *pdn = pci_get_pdn_by_devfn(dev->bus, dev->devfn); in __pnv_eeh_bridge_reset() 909 static void pnv_eeh_wait_for_pending(struct pci_dn *pdn, const char *type, in pnv_eeh_wait_for_pending() 930 static int pnv_eeh_do_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_flr() 968 static int pnv_eeh_do_af_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_af_flr() 1007 struct pci_dn *pdn; in pnv_eeh_reset_vf_pe() 1209 static inline bool pnv_eeh_cfg_blocked(struct pci_dn *pdn) in pnv_eeh_cfg_blocked() 1233 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in pnv_eeh_read_config() [all …]
|
D | pci.c | 530 static void pnv_pci_config_check_eeh(struct pci_dn *pdn) in pnv_pci_config_check_eeh() 585 int pnv_pci_cfg_read(struct pci_dn *pdn, in pnv_pci_cfg_read() 621 int pnv_pci_cfg_write(struct pci_dn *pdn, in pnv_pci_cfg_write() 647 static bool pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check() 670 static inline pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check() 680 struct pci_dn *pdn; in pnv_pci_read_config() 709 struct pci_dn *pdn; in pnv_pci_write_config()
|
D | pci-sriov.c | 621 struct pci_dn *pdn; in pnv_ioda_setup_vf_PE() 634 struct pci_dn *vf_pdn; in pnv_ioda_setup_vf_PE()
|
D | pci-ioda.c | 682 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_get_pe() 779 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_ioda_set_peltv() 802 struct pci_dn *pdn = pci_get_pdn(parent); in pnv_ioda_unset_peltv() 984 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_dev_PE() 1106 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pci_ioda_dma_dev_setup() 1235 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pci_ioda_iommu_bypass_supported() 2665 struct pci_dn *pdn; in pnv_pci_enable_device_hook() 2678 struct pci_dn *pdn; in pnv_ocapi_enable_device_hook() 2854 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pci_release_device()
|
/linux-6.1.9/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 140 struct pci_dn *pdn = PCI_DN(dn); in dlpar_pci_add_bus() 208 struct pci_dn *pdn; in dlpar_remove_phb()
|
D | pnv_php.c | 239 struct pci_dn *pdn; in pnv_php_add_one_pdn()
|