Searched refs:pci_dn (Results 1 – 13 of 13) sorted by relevance
| /linux/arch/powerpc/kernel/ |
| H A 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 …]
|
| H A D | rtas_pci.c | 36 static inline int config_access_valid(struct pci_dn *dn, int where) in config_access_valid() 46 int rtas_pci_dn_read_config(struct pci_dn *pdn, int where, int size, u32 *val) in rtas_pci_dn_read_config() 82 struct pci_dn *pdn; in rtas_pci_read_config() 98 int rtas_pci_dn_write_config(struct pci_dn *pdn, int where, int size, u32 val) in rtas_pci_dn_write_config() 132 struct pci_dn *pdn; in rtas_pci_write_config()
|
| H A 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()
|
| H A D | eeh_sysfs.c | 85 struct pci_dn *pdn = pci_get_pdn(pdev); in eeh_notify_resume_show()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pci-bridge.h | 129 struct pci_dn *pci_data; 198 struct pci_dn { struct 209 struct pci_dn *parent; argument 235 #define PCI_DN(dn) ((struct pci_dn *) (dn)->data) 237 extern struct pci_dn *pci_get_pdn_by_devfn(struct pci_bus *bus, 239 extern struct pci_dn *pci_get_pdn(struct pci_dev *pdev); 240 extern struct pci_dn *pci_add_device_node_info(struct pci_controller *hose, 245 struct pci_dn *add_sriov_vf_pdns(struct pci_dev *pdev); 250 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()
|
| H A D | ppc-pci.h | 26 struct pci_dn; 48 int rtas_pci_dn_read_config(struct pci_dn *pdn, int where, int size, u32 *val); 49 int rtas_pci_dn_write_config(struct pci_dn *pdn, int where, int size, u32 val);
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | pci.c | 33 struct pci_dn *pdn; in pseries_send_map_pe() 64 struct pci_dn *pdn; in pseries_set_pe_num() 78 struct pci_dn *pdn; in pseries_associate_pes() 122 struct pci_dn *pdn; in pseries_pci_sriov_enable() 170 struct pci_dn *pdn; in pseries_pcibios_sriov_disable()
|
| H A D | iommu.c | 628 struct pci_dn *pci; in pci_dma_bus_setup_pSeries() 755 struct pci_dn *rpdn; in pci_dma_find_parent_node() 844 struct pci_dn *ppci; in pci_dma_bus_setup_pSeriesLP() 1188 struct pci_dn *pdn; in query_ddw() 1247 struct pci_dn *pdn; in create_ddw() 1311 struct pci_dn *pdn; in reset_dma_window() 1343 struct pci_dn *pdn; in limited_dma_window() 1463 struct pci_dn *pci = PCI_DN(pdn); in enable_ddw() 1852 struct pci_dn *pci; in pci_dma_dev_setup_pSeriesLP() 1968 struct pci_dn *pci = PCI_DN(pdn); in remove_dynamic_dma_windows() [all …]
|
| H A D | msi.c | 39 static int rtas_change_msi(struct pci_dn *pdn, u32 func, u32 num_irqs) in rtas_change_msi() 80 struct pci_dn *pdn; in rtas_disable_msi() 100 static int rtas_query_irq_number(struct pci_dn *pdn, int offset) in rtas_query_irq_number() 352 struct pci_dn *pdn; in rtas_prepare_msi_irqs()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | eeh-powernv.c | 230 static int pnv_eeh_find_cap(struct pci_dn *pdn, int cap) in pnv_eeh_find_cap() 265 static int pnv_eeh_find_ecap(struct pci_dn *pdn, int cap) in pnv_eeh_find_ecap() 323 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_eeh_probe() 803 struct pci_dn *pdn = pci_get_pdn_by_devfn(dev->bus, dev->devfn); in __pnv_eeh_bridge_reset() 907 static void pnv_eeh_wait_for_pending(struct pci_dn *pdn, const char *type, in pnv_eeh_wait_for_pending() 928 static int pnv_eeh_do_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_flr() 966 static int pnv_eeh_do_af_flr(struct pci_dn *pdn, int option) in pnv_eeh_do_af_flr() 1005 struct pci_dn *pdn; in pnv_eeh_reset_vf_pe() 1207 static inline bool pnv_eeh_cfg_blocked(struct pci_dn *pdn) in pnv_eeh_cfg_blocked() 1231 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in pnv_eeh_read_config() [all …]
|
| H A 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()
|
| /linux/drivers/pci/hotplug/ |
| H A D | rpaphp_pci.c | 76 struct pci_dn *pdn; in __rpaphp_get_sensor_state() 88 struct pci_dn, list); in __rpaphp_get_sensor_state()
|
| H A 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()
|