Home
last modified time | relevance | path

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

123

/Linux-v5.4/arch/powerpc/kernel/
Dpci_dn.c34 struct pci_dn *pdn; in pci_bus_to_pdn() local
62 struct pci_dn *parent, *pdn; in pci_get_pdn_by_devfn() local
98 struct pci_dn *parent, *pdn; in pci_get_pdn() local
132 struct pci_dn *pdn; in add_one_dev_pci_data() local
159 struct pci_dn *parent, *pdn; in add_dev_pci_data() local
204 struct pci_dn *pdn, *tmp; in remove_dev_pci_data() local
270 struct pci_dn *pdn; in pci_add_device_node_info() local
324 struct pci_dn *pdn = dn ? PCI_DN(dn) : NULL; in pci_remove_device_node_info() local
429 struct pci_dn *pdn) in pci_dn_next_one()
454 struct pci_dn *pdn = root; in traverse_pci_dn() local
[all …]
Drtas_pci.c45 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() local
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() local
Deeh_pe.c332 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_pe_get_parent() local
370 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_add_to_parent_pe() local
701 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_bridge_check_link() local
772 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_bridge_bars() local
802 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_device_bars() local
846 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_one_device_bars() local
Dpci-hotplug.c40 struct pci_dn *pdn = PCI_DN(dn); in pci_find_bus_by_node() local
58 struct pci_dn *pdn = pci_get_pdn(dev); in pcibios_release_device() local
Deeh.c170 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_dump_dev_log() local
729 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in eeh_restore_dev_state() local
745 int eeh_restore_vf_config(struct pci_dn *pdn) in eeh_restore_vf_config()
980 struct pci_dn *pdn; in eeh_save_bars() local
1121 void eeh_add_device_early(struct pci_dn *pdn) in eeh_add_device_early()
1148 void eeh_add_device_tree_early(struct pci_dn *pdn) in eeh_add_device_tree_early()
1170 struct pci_dn *pdn; in eeh_add_device_late() local
Deeh_dev.c38 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) in eeh_dev_init()
Deeh_sysfs.c100 struct pci_dn *pdn = pci_get_pdn(pdev); in eeh_notify_resume_show() local
/Linux-v5.4/arch/powerpc/platforms/pseries/
Deeh_pseries.c47 struct pci_dn *pdn = pci_get_pdn(pdev); in pseries_pcibios_bus_add_device() local
155 static int pseries_eeh_cap_start(struct pci_dn *pdn) in pseries_eeh_cap_start()
170 static int pseries_eeh_find_cap(struct pci_dn *pdn, int cap) in pseries_eeh_find_cap()
195 static int pseries_eeh_find_ecap(struct pci_dn *pdn, int cap) in pseries_eeh_find_ecap()
233 static void *pseries_eeh_probe(struct pci_dn *pdn, void *data) in pseries_eeh_probe()
642 static int pseries_eeh_read_config(struct pci_dn *pdn, int where, int size, u32 *val) in pseries_eeh_read_config()
656 static int pseries_eeh_write_config(struct pci_dn *pdn, int where, int size, u32 val) in pseries_eeh_write_config()
661 static int pseries_eeh_restore_config(struct pci_dn *pdn) in pseries_eeh_restore_config()
686 int pseries_send_allow_unfreeze(struct pci_dn *pdn, in pseries_send_allow_unfreeze()
712 struct pci_dn *pdn, *tmp, *parent, *physfn_pdn; in pseries_call_allow_unfreeze() local
[all …]
Dpci.c62 struct pci_dn *pdn; in pseries_send_map_pe() local
93 struct pci_dn *pdn; in pseries_set_pe_num() local
107 struct pci_dn *pdn; in pseries_associate_pes() local
151 struct pci_dn *pdn; in pseries_pci_sriov_enable() local
201 struct pci_dn *pdn; in pseries_pcibios_sriov_disable() local
295 struct device_node *dn, *pdn; in pseries_root_bridge_prepare() local
Diommu.c663 struct device_node *dn, *pdn; in pci_dma_bus_setup_pSeriesLP() local
805 static u64 find_existing_ddw(struct device_node *pdn) in find_existing_ddw()
828 struct device_node *pdn; in find_existing_ddw_windows() local
862 struct pci_dn *pdn; in query_ddw() local
891 struct pci_dn *pdn; in create_ddw() local
923 struct device_node *pdn; member
968 static u64 enable_ddw(struct pci_dev *dev, struct device_node *pdn) in enable_ddw()
1136 struct device_node *pdn, *dn; in pci_dma_dev_setup_pSeriesLP() local
1188 struct device_node *dn = pci_device_to_OF_node(pdev), *pdn; in iommu_bypass_supported_pSeriesLP() local
Dmsi.c29 static int rtas_change_msi(struct pci_dn *pdn, u32 func, u32 num_irqs) in rtas_change_msi()
70 struct pci_dn *pdn; in rtas_disable_msi() local
90 static int rtas_query_irq_number(struct pci_dn *pdn, int offset) in rtas_query_irq_number()
372 struct pci_dn *pdn; in rtas_setup_msi_irqs() local
/Linux-v5.4/arch/powerpc/platforms/powernv/
Deeh-powernv.c43 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pcibios_bus_add_device() local
285 static int pnv_eeh_find_cap(struct pci_dn *pdn, int cap) in pnv_eeh_find_cap()
320 static int pnv_eeh_find_ecap(struct pci_dn *pdn, int cap) in pnv_eeh_find_ecap()
365 static void *pnv_eeh_probe(struct pci_dn *pdn, void *data) in pnv_eeh_probe()
848 struct pci_dn *pdn = pci_get_pdn_by_devfn(dev->bus, dev->devfn); in __pnv_eeh_bridge_reset() local
953 static void pnv_eeh_wait_for_pending(struct pci_dn *pdn, const char *type, in pnv_eeh_wait_for_pending()
973 static int pnv_eeh_do_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_flr()
1011 static int pnv_eeh_do_af_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_af_flr()
1050 struct pci_dn *pdn; in pnv_eeh_reset_vf_pe() local
1252 static inline bool pnv_eeh_cfg_blocked(struct pci_dn *pdn) in pnv_eeh_cfg_blocked()
[all …]
Dpci.c596 static void pnv_pci_config_check_eeh(struct pci_dn *pdn) in pnv_pci_config_check_eeh()
651 int pnv_pci_cfg_read(struct pci_dn *pdn, in pnv_pci_cfg_read()
687 int pnv_pci_cfg_write(struct pci_dn *pdn, in pnv_pci_cfg_write()
713 static bool pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check()
736 static inline pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check()
746 struct pci_dn *pdn; in pnv_pci_read_config() local
775 struct pci_dn *pdn; in pnv_pci_write_config() local
819 struct pci_dn *pdn; in pnv_pci_dma_dev_setup() local
985 struct pci_dn *pdn; in pnv_tce_iommu_bus_notifier() local
Dpci-ioda.c667 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_get_pe() local
764 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_ioda_set_peltv() local
832 struct pci_dn *pdn = pci_get_pdn(parent); in pnv_ioda_deconfigure_pe() local
961 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_pci_vf_resource_shift() local
1047 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_dev_PE() local
1102 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_same_PE() local
1306 struct pci_dn *pdn; in pnv_pci_vf_release_m64() local
1339 struct pci_dn *pdn; in pnv_pci_vf_assign_m64() local
1466 struct pci_dn *pdn; in pnv_ioda_release_vf_PE() local
1499 struct pci_dn *pdn; in pnv_pci_sriov_disable() local
[all …]
Dnpu-dma.c24 struct pci_dn *pdn = PCI_DN(dn); in get_pci_dev() local
104 struct pci_dn *pdn; in get_gpu_pci_dev_and_pe() local
/Linux-v5.4/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.c64 static int mlx5e_create_mkey(struct mlx5_core_dev *mdev, u32 pdn, in mlx5e_create_mkey()
/Linux-v5.4/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-v5.4/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-v5.4/include/uapi/rdma/
Dmthca-abi.h59 __u32 pdn; member
76 __u32 pdn; member
Dhns-abi.h80 __u32 pdn; member
/Linux-v5.4/drivers/pci/hotplug/
Drpadlpar_core.c139 struct pci_dn *pdn = PCI_DN(dn); in dlpar_pci_add_bus() local
207 struct pci_dn *pdn; in dlpar_remove_phb() local
/Linux-v5.4/drivers/infiniband/hw/efa/
Defa_com_cmd.h89 u16 pdn; member
100 u16 pdn; member
213 u16 pdn; member
217 u16 pdn; member
/Linux-v5.4/arch/powerpc/include/asm/
Deeh.h148 struct pci_dn *pdn; /* Associated PCI device node */ member
347 static inline void *eeh_dev_init(struct pci_dn *pdn, void *data) in eeh_dev_init()
363 static inline void eeh_add_device_early(struct pci_dn *pdn) { } in eeh_add_device_early()
365 static inline void eeh_add_device_tree_early(struct pci_dn *pdn) { } in eeh_add_device_tree_early()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c44 u32 pdn; member
784 dr_create_mkey(struct mlx5_core_dev *mdev, u32 pdn, struct mlx5_core_mkey *mkey) in dr_create_mkey()
805 u32 pdn, void *buf, size_t size) in dr_reg_mr()

123