Home
last modified time | relevance | path

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

12

/Linux-v4.19/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
172 struct pci_dn *parent, *pdn; in add_dev_pci_data() local
217 struct pci_dn *pdn, *tmp; in remove_dev_pci_data() local
283 struct pci_dn *pdn; in pci_add_device_node_info() local
337 struct pci_dn *pdn = dn ? PCI_DN(dn) : NULL; in pci_remove_device_node_info() local
425 struct pci_dn *pdn) in pci_dn_next_one()
450 struct pci_dn *pdn = root; in traverse_pci_dn() local
[all …]
Deeh_pe.c302 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_pe_get_parent() local
340 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_add_to_parent_pe() local
458 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_rmv_from_parent_pe() local
709 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_bridge_check_link() local
784 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_bridge_bars() local
814 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_device_bars() local
858 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_one_device_bars() local
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.c166 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_dump_dev_log() local
722 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_dev_state() local
740 int eeh_restore_vf_config(struct pci_dn *pdn) in eeh_restore_vf_config()
948 struct pci_dn *pdn; in eeh_save_bars() local
1032 struct pci_dn *pdn; in eeh_probe_devices() local
1110 void eeh_add_device_early(struct pci_dn *pdn) in eeh_add_device_early()
1137 void eeh_add_device_tree_early(struct pci_dn *pdn) in eeh_add_device_tree_early()
1159 struct pci_dn *pdn; in eeh_add_device_late() local
Deeh_dev.c51 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) in eeh_dev_init()
Deeh_cache.c173 struct pci_dn *pdn; in __eeh_addr_cache_insert_dev() local
280 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.c473 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_add_virt_device() local
549 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_rmv_device() local
Deeh_sysfs.c99 struct pci_dn *pdn = pci_get_pdn(pdev); in eeh_notify_resume_show() local
/Linux-v4.19/arch/powerpc/platforms/pseries/
Deeh_pseries.c61 struct pci_dn *pdn = pci_get_pdn(pdev); in pseries_pcibios_bus_add_device() local
168 static int pseries_eeh_cap_start(struct pci_dn *pdn) in pseries_eeh_cap_start()
183 static int pseries_eeh_find_cap(struct pci_dn *pdn, int cap) in pseries_eeh_find_cap()
208 static int pseries_eeh_find_ecap(struct pci_dn *pdn, int cap) in pseries_eeh_find_ecap()
246 static void *pseries_eeh_probe(struct pci_dn *pdn, void *data) in pseries_eeh_probe()
710 static int pseries_eeh_read_config(struct pci_dn *pdn, int where, int size, u32 *val) in pseries_eeh_read_config()
724 static int pseries_eeh_write_config(struct pci_dn *pdn, int where, int size, u32 val) in pseries_eeh_write_config()
729 static int pseries_eeh_restore_config(struct pci_dn *pdn) in pseries_eeh_restore_config()
754 int pseries_send_allow_unfreeze(struct pci_dn *pdn, in pseries_send_allow_unfreeze()
780 struct pci_dn *pdn, *tmp, *parent, *physfn_pdn; in pseries_call_allow_unfreeze() local
[all …]
Dpci.c74 struct pci_dn *pdn; in pseries_send_map_pe() local
105 struct pci_dn *pdn; in pseries_set_pe_num() local
119 struct pci_dn *pdn; in pseries_associate_pes() local
163 struct pci_dn *pdn; in pseries_pci_sriov_enable() local
213 struct pci_dn *pdn; in pseries_pcibios_sriov_disable() local
284 struct device_node *dn, *pdn; in pseries_root_bridge_prepare() local
Diommu.c697 struct device_node *dn, *pdn; in pci_dma_bus_setup_pSeriesLP() local
843 static u64 find_existing_ddw(struct device_node *pdn) in find_existing_ddw()
866 struct device_node *pdn; in find_existing_ddw_windows() local
900 struct pci_dn *pdn; in query_ddw() local
929 struct pci_dn *pdn; in create_ddw() local
961 struct device_node *pdn; member
978 static u64 enable_ddw(struct pci_dev *dev, struct device_node *pdn) in enable_ddw()
1146 struct device_node *pdn, *dn; in pci_dma_dev_setup_pSeriesLP() local
1199 struct device_node *pdn, *dn; in dma_set_mask_pSeriesLP() local
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
/Linux-v4.19/arch/powerpc/platforms/powernv/
Deeh-powernv.c48 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pcibios_bus_add_device() local
292 static int pnv_eeh_find_cap(struct pci_dn *pdn, int cap) in pnv_eeh_find_cap()
327 static int pnv_eeh_find_ecap(struct pci_dn *pdn, int cap) in pnv_eeh_find_ecap()
372 static void *pnv_eeh_probe(struct pci_dn *pdn, void *data) in pnv_eeh_probe()
855 struct pci_dn *pdn = pci_get_pdn_by_devfn(dev->bus, dev->devfn); in __pnv_eeh_bridge_reset() local
956 static void pnv_eeh_wait_for_pending(struct pci_dn *pdn, const char *type, in pnv_eeh_wait_for_pending()
976 static int pnv_eeh_do_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_flr()
1014 static int pnv_eeh_do_af_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_af_flr()
1053 struct pci_dn *pdn; in pnv_eeh_reset_vf_pe() local
1272 static inline bool pnv_eeh_cfg_blocked(struct pci_dn *pdn) in pnv_eeh_cfg_blocked()
[all …]
Dpci.c602 static void pnv_pci_config_check_eeh(struct pci_dn *pdn) in pnv_pci_config_check_eeh()
657 int pnv_pci_cfg_read(struct pci_dn *pdn, in pnv_pci_cfg_read()
693 int pnv_pci_cfg_write(struct pci_dn *pdn, in pnv_pci_cfg_write()
719 static bool pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check()
742 static inline pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check()
752 struct pci_dn *pdn; in pnv_pci_read_config() local
781 struct pci_dn *pdn; in pnv_pci_write_config() local
825 struct pci_dn *pdn; in pnv_pci_dma_dev_setup() local
Dpci-ioda.c675 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_get_pe() local
773 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_ioda_set_peltv() local
841 struct pci_dn *pdn = pci_get_pdn(parent); in pnv_ioda_deconfigure_pe() local
970 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_pci_vf_resource_shift() local
1056 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_dev_PE() local
1111 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_same_PE() local
1305 struct pci_dn *pdn; in pnv_pci_vf_release_m64() local
1338 struct pci_dn *pdn; in pnv_pci_vf_assign_m64() local
1465 struct pci_dn *pdn; in pnv_ioda_release_vf_PE() local
1498 struct pci_dn *pdn; in pnv_pci_sriov_disable() local
[all …]
Dnpu-dma.c58 struct pci_dn *pdn = PCI_DN(dn); in get_pci_dev() local
181 struct pci_dn *pdn; in get_gpu_pci_dev_and_pe() local
325 struct pci_dn *pdn; in pnv_npu_try_dma_set_bypass() local
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dpd.c39 int mlx5_core_alloc_pd(struct mlx5_core_dev *dev, u32 *pdn) in mlx5_core_alloc_pd()
53 int mlx5_core_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn) in mlx5_core_dealloc_pd()
Den_common.c60 static int mlx5e_create_mkey(struct mlx5_core_dev *mdev, u32 pdn, in mlx5e_create_mkey()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_pd.c38 static int hns_roce_pd_alloc(struct hns_roce_dev *hr_dev, unsigned long *pdn) in hns_roce_pd_alloc()
43 static void hns_roce_pd_free(struct hns_roce_dev *hr_dev, unsigned long pdn) in hns_roce_pd_free()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dpd.c47 int mlx4_pd_alloc(struct mlx4_dev *dev, u32 *pdn) in mlx4_pd_alloc()
59 void mlx4_pd_free(struct mlx4_dev *dev, u32 pdn) in mlx4_pd_free()
/Linux-v4.19/include/uapi/rdma/
Dmthca-abi.h59 __u32 pdn; member
76 __u32 pdn; member
Dhns-abi.h69 __u32 pdn; member
/Linux-v4.19/drivers/pci/hotplug/
Drpadlpar_core.c137 struct pci_dn *pdn = PCI_DN(dn); in dlpar_pci_add_bus() local
205 struct pci_dn *pdn; in dlpar_remove_phb() local
/Linux-v4.19/arch/powerpc/include/asm/
Deeh.h147 struct pci_dn *pdn; /* Associated PCI device node */ member
339 static inline void *eeh_dev_init(struct pci_dn *pdn, void *data) in eeh_dev_init()
355 static inline void eeh_add_device_early(struct pci_dn *pdn) { } in eeh_add_device_early()
357 static inline void eeh_add_device_tree_early(struct pci_dn *pdn) { } in eeh_add_device_tree_early()

12