Home
last modified time | relevance | path

Searched defs:pdn (Results 1 – 19 of 19) sorted by relevance

/arch/powerpc/kernel/
Dpci_dn.c47 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
145 struct pci_dn *pdn; in add_one_dev_pci_data() local
174 struct pci_dn *parent, *pdn; in add_dev_pci_data() local
219 struct pci_dn *pdn, *tmp; in remove_dev_pci_data() local
300 struct pci_dn *pdn; in pci_add_device_node_info() local
356 struct pci_dn *pdn = dn ? PCI_DN(dn) : NULL; in pci_remove_device_node_info() local
444 struct pci_dn *pdn) in pci_dn_next_one()
469 struct pci_dn *pdn = root; in traverse_pci_dn() local
[all …]
Drtas_pci.c58 int rtas_read_config(struct pci_dn *pdn, int where, int size, u32 *val) in rtas_read_config()
94 struct pci_dn *pdn; in rtas_pci_read_config() local
110 int rtas_write_config(struct pci_dn *pdn, int where, int size, u32 val) in rtas_write_config()
144 struct pci_dn *pdn; in rtas_pci_write_config() local
Deeh_pe.c304 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_pe_get_parent() local
342 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_add_to_parent_pe() local
460 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_rmv_from_parent_pe() local
714 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_bridge_check_link() local
789 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_bridge_bars() local
819 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_device_bars() local
864 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_one_device_bars() local
Deeh_dev.c51 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) in eeh_dev_init()
Deeh.c166 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_dump_dev_log() local
739 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_dev_state() local
908 struct pci_dn *pdn; in eeh_save_bars() local
1007 struct pci_dn *pdn; in eeh_init() local
1084 void eeh_add_device_early(struct pci_dn *pdn) in eeh_add_device_early()
1111 void eeh_add_device_tree_early(struct pci_dn *pdn) in eeh_add_device_tree_early()
1133 struct pci_dn *pdn; in eeh_add_device_late() local
Deeh_cache.c174 struct pci_dn *pdn; in __eeh_addr_cache_insert_dev() local
281 struct pci_dn *pdn; in eeh_addr_cache_build() local
Dpci-hotplug.c44 struct pci_dn *pdn = PCI_DN(dn); in pci_find_bus_by_node() local
Deeh_driver.c442 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_add_virt_device() local
519 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_rmv_device() local
/arch/powerpc/platforms/powernv/
Deeh-powernv.c268 static int pnv_eeh_find_cap(struct pci_dn *pdn, int cap) in pnv_eeh_find_cap()
303 static int pnv_eeh_find_ecap(struct pci_dn *pdn, int cap) in pnv_eeh_find_ecap()
348 static void *pnv_eeh_probe(struct pci_dn *pdn, void *data) in pnv_eeh_probe()
825 struct pci_dn *pdn = pci_get_pdn_by_devfn(dev->bus, dev->devfn); in __pnv_eeh_bridge_reset() local
926 static void pnv_eeh_wait_for_pending(struct pci_dn *pdn, const char *type, in pnv_eeh_wait_for_pending()
946 static int pnv_eeh_do_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_flr()
984 static int pnv_eeh_do_af_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_af_flr()
1023 struct pci_dn *pdn; in pnv_eeh_reset_vf_pe() local
1242 static inline bool pnv_eeh_cfg_blocked(struct pci_dn *pdn) in pnv_eeh_cfg_blocked()
1263 static int pnv_eeh_read_config(struct pci_dn *pdn, in pnv_eeh_read_config()
[all …]
Dpci.c600 static void pnv_pci_config_check_eeh(struct pci_dn *pdn) in pnv_pci_config_check_eeh()
655 int pnv_pci_cfg_read(struct pci_dn *pdn, in pnv_pci_cfg_read()
691 int pnv_pci_cfg_write(struct pci_dn *pdn, in pnv_pci_cfg_write()
717 static bool pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check()
740 static inline pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check()
750 struct pci_dn *pdn; in pnv_pci_read_config() local
779 struct pci_dn *pdn; in pnv_pci_write_config() local
Dpci-ioda.c668 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_get_pe() local
766 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_ioda_set_peltv() local
834 struct pci_dn *pdn = pci_get_pdn(parent); in pnv_ioda_deconfigure_pe() local
963 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_pci_vf_resource_shift() local
1031 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_dev_PE() local
1087 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_same_PE() local
1276 struct pci_dn *pdn; in pnv_pci_vf_release_m64() local
1309 struct pci_dn *pdn; in pnv_pci_vf_assign_m64() local
1436 struct pci_dn *pdn; in pnv_ioda_release_vf_PE() local
1469 struct pci_dn *pdn; in pnv_pci_sriov_disable() local
[all …]
Dnpu-dma.c169 struct pci_dn *pdn; in get_gpu_pci_dev_and_pe() local
313 struct pci_dn *pdn; in pnv_npu_try_dma_set_bypass() local
/arch/powerpc/platforms/pseries/
Deeh_pseries.c126 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()
668 static int pseries_eeh_read_config(struct pci_dn *pdn, int where, int size, u32 *val) in pseries_eeh_read_config()
682 static int pseries_eeh_write_config(struct pci_dn *pdn, int where, int size, u32 val) in pseries_eeh_write_config()
Dmsi.c34 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()
376 struct pci_dn *pdn; in rtas_setup_msi_irqs() local
Diommu.c713 struct device_node *dn, *pdn; in pci_dma_bus_setup_pSeriesLP() local
859 static u64 find_existing_ddw(struct device_node *pdn) in find_existing_ddw()
882 struct device_node *pdn; in find_existing_ddw_windows() local
916 struct pci_dn *pdn; in query_ddw() local
945 struct pci_dn *pdn; in create_ddw() local
977 struct device_node *pdn; member
994 static u64 enable_ddw(struct pci_dev *dev, struct device_node *pdn) in enable_ddw()
1162 struct device_node *pdn, *dn; in pci_dma_dev_setup_pSeriesLP() local
1215 struct device_node *pdn, *dn; in dma_set_mask_pSeriesLP() local
Dpci.c115 struct device_node *dn, *pdn; in pseries_root_bridge_prepare() local
Dsetup.c201 struct pci_dn *pdn; in pci_dn_reconfig_notifier() local
/arch/powerpc/include/asm/
Deeh.h143 struct pci_dn *pdn; /* Associated PCI device node */ member
329 static inline void *eeh_dev_init(struct pci_dn *pdn, void *data) in eeh_dev_init()
345 static inline void eeh_add_device_early(struct pci_dn *pdn) { } in eeh_add_device_early()
347 static inline void eeh_add_device_tree_early(struct pci_dn *pdn) { } in eeh_add_device_tree_early()
Dpci-bridge.h246 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()