/arch/powerpc/kernel/ |
D | pci_dn.c | 47 struct pci_dn *pdn; in pci_bus_to_pdn() local 75 struct pci_dn *parent, *pdn; in pci_get_pdn_by_devfn() local 111 struct pci_dn *parent, *pdn; in pci_get_pdn() local 146 struct pci_dn *pdn; in add_one_dev_pci_data() local 184 struct pci_dn *parent, *pdn; in add_dev_pci_data() local 229 struct pci_dn *pdn, *tmp; in remove_dev_pci_data() local 297 struct pci_dn *pdn; in pci_add_device_node_info() local 354 struct pci_dn *pdn = dn ? PCI_DN(dn) : NULL; in pci_remove_device_node_info() local 439 struct pci_dn *pdn) in pci_dn_next_one() 464 struct pci_dn *pdn = root; in traverse_pci_dn() local [all …]
|
D | rtas_pci.c | 58 int rtas_read_config(struct pci_dn *pdn, int where, int size, u32 *val) in rtas_read_config() 95 struct pci_dn *pdn; in rtas_pci_read_config() local 122 int rtas_write_config(struct pci_dn *pdn, int where, int size, u32 val) in rtas_write_config() 157 struct pci_dn *pdn; in rtas_pci_write_config() local
|
D | eeh_pe.c | 295 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_pe_get_parent() local 702 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_bridge_check_link() local 777 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_bridge_bars() local 807 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_device_bars() local 852 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_one_device_bars() local
|
D | eeh_dev.c | 51 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) in eeh_dev_init()
|
D | eeh.c | 166 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_dump_dev_log() local 439 struct pci_dn *pdn; in eeh_dev_check_failure() local 725 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_dev_state() local 903 struct pci_dn *pdn; in eeh_save_bars() local 1002 struct pci_dn *pdn; in eeh_init() local 1075 void eeh_add_device_early(struct pci_dn *pdn) in eeh_add_device_early() 1103 void eeh_add_device_tree_early(struct pci_dn *pdn) in eeh_add_device_tree_early() 1125 struct pci_dn *pdn; in eeh_add_device_late() local
|
D | eeh_cache.c | 174 struct pci_dn *pdn; in __eeh_addr_cache_insert_dev() local 281 struct pci_dn *pdn; in eeh_addr_cache_build() local
|
D | pci-hotplug.c | 44 struct pci_dn *pdn = PCI_DN(dn); in pci_find_bus_by_node() local
|
D | eeh_driver.c | 427 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_add_virt_device() local 500 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_rmv_device() local
|
/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 269 static int pnv_eeh_find_cap(struct pci_dn *pdn, int cap) in pnv_eeh_find_cap() 304 static int pnv_eeh_find_ecap(struct pci_dn *pdn, int cap) in pnv_eeh_find_ecap() 349 static void *pnv_eeh_probe(struct pci_dn *pdn, void *data) in pnv_eeh_probe() 823 struct pci_dn *pdn = pci_get_pdn_by_devfn(dev->bus, dev->devfn); in __pnv_eeh_bridge_reset() local 924 static void pnv_eeh_wait_for_pending(struct pci_dn *pdn, const char *type, in pnv_eeh_wait_for_pending() 945 static int pnv_eeh_do_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_flr() 983 static int pnv_eeh_do_af_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_af_flr() 1022 struct pci_dn *pdn; in pnv_eeh_reset_vf_pe() local 1234 static inline bool pnv_eeh_cfg_blocked(struct pci_dn *pdn) in pnv_eeh_cfg_blocked() 1255 static int pnv_eeh_read_config(struct pci_dn *pdn, in pnv_eeh_read_config() [all …]
|
D | pci.c | 482 static void pnv_pci_config_check_eeh(struct pci_dn *pdn) in pnv_pci_config_check_eeh() 537 int pnv_pci_cfg_read(struct pci_dn *pdn, in pnv_pci_cfg_read() 573 int pnv_pci_cfg_write(struct pci_dn *pdn, in pnv_pci_cfg_write() 599 static bool pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check() 622 static inline pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check() 632 struct pci_dn *pdn; in pnv_pci_read_config() local 661 struct pci_dn *pdn; in pnv_pci_write_config() local 859 struct pci_dn *pdn; in pnv_pci_dma_dev_setup() local
|
D | pci-ioda.c | 669 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_get_pe() local 767 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_ioda_set_peltv() local 835 struct pci_dn *pdn = pci_get_pdn(parent); in pnv_ioda_deconfigure_pe() local 964 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_pci_vf_resource_shift() local 1032 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_dev_PE() local 1088 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_same_PE() local 1275 struct pci_dn *pdn; in pnv_pci_vf_release_m64() local 1308 struct pci_dn *pdn; in pnv_pci_vf_assign_m64() local 1435 struct pci_dn *pdn; in pnv_ioda_release_vf_PE() local 1468 struct pci_dn *pdn; in pnv_pci_sriov_disable() local [all …]
|
D | npu-dma.c | 138 struct pci_dn *pdn; in get_gpu_pci_dev_and_pe() local 282 struct pci_dn *pdn; in pnv_npu_try_dma_set_bypass() local
|
/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 126 static int pseries_eeh_cap_start(struct pci_dn *pdn) in pseries_eeh_cap_start() 141 static int pseries_eeh_find_cap(struct pci_dn *pdn, int cap) in pseries_eeh_find_cap() 166 static int pseries_eeh_find_ecap(struct pci_dn *pdn, int cap) in pseries_eeh_find_ecap() 204 static void *pseries_eeh_probe(struct pci_dn *pdn, void *data) in pseries_eeh_probe() 670 static int pseries_eeh_read_config(struct pci_dn *pdn, int where, int size, u32 *val) in pseries_eeh_read_config() 684 static int pseries_eeh_write_config(struct pci_dn *pdn, int where, int size, u32 val) in pseries_eeh_write_config()
|
D | msi.c | 34 static int rtas_change_msi(struct pci_dn *pdn, u32 func, u32 num_irqs) in rtas_change_msi() 75 struct pci_dn *pdn; in rtas_disable_msi() local 95 static int rtas_query_irq_number(struct pci_dn *pdn, int offset) in rtas_query_irq_number() 135 struct pci_dn *pdn; in check_req() local 200 struct pci_dn *pdn; in find_pe_dn() local 383 struct pci_dn *pdn; in rtas_setup_msi_irqs() local
|
D | iommu.c | 663 struct device_node *dn, *pdn; in pci_dma_bus_setup_pSeriesLP() local 808 static u64 find_existing_ddw(struct device_node *pdn) in find_existing_ddw() 831 struct device_node *pdn; in find_existing_ddw_windows() local 865 struct pci_dn *pdn; in query_ddw() local 894 struct pci_dn *pdn; in create_ddw() local 926 struct device_node *pdn; member 943 static u64 enable_ddw(struct pci_dev *dev, struct device_node *pdn) in enable_ddw() 1111 struct device_node *pdn, *dn; in pci_dma_dev_setup_pSeriesLP() local 1163 struct device_node *pdn, *dn; in dma_set_mask_pSeriesLP() local
|
D | pci.c | 115 struct device_node *dn, *pdn; in pseries_root_bridge_prepare() local
|
D | setup.c | 191 struct pci_dn *pdn; in pci_dn_reconfig_notifier() local
|
/arch/powerpc/include/asm/ |
D | eeh.h | 145 struct pci_dn *pdn; /* Associated PCI device node */ member 330 static inline void *eeh_dev_init(struct pci_dn *pdn, void *data) in eeh_dev_init() 346 static inline void eeh_add_device_early(struct pci_dn *pdn) { } in eeh_add_device_early() 348 static inline void eeh_add_device_tree_early(struct pci_dn *pdn) { } in eeh_add_device_tree_early()
|
D | pci-bridge.h | 255 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()
|