Home
last modified time | relevance | path

Searched refs:pci_dn (Results 1 – 19 of 19) sorted by relevance

/arch/powerpc/kernel/
A Dpci_dn.c34 struct pci_dn *pdn; in pci_bus_to_pdn()
62 struct pci_dn *parent, *pdn; in pci_get_pdn_by_devfn()
98 struct pci_dn *parent, *pdn; in pci_get_pdn()
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()
219 struct pci_dn *parent; in remove_sriov_vf_pdns()
220 struct pci_dn *pdn, *tmp; in remove_sriov_vf_pdns()
288 struct pci_dn *pdn; in pci_add_device_node_info()
450 struct pci_dn *pdn; in add_pdn()
470 struct pci_dn *pdn; in pci_devs_phb_init_dynamic()
[all …]
A Drtas_pci.c36 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()
A Dpci-hotplug.c41 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()
A Deeh_sysfs.c85 struct pci_dn *pdn = pci_get_pdn(pdev); in eeh_notify_resume_show()
A DMakefile147 pci64-$(CONFIG_PPC64) += pci_dn.o pci-hotplug.o isa-bridge.o
/arch/powerpc/include/asm/
A Dpci-bridge.h129 struct pci_dn *pci_data;
200 struct pci_dn { struct
211 struct pci_dn *parent; argument
237 #define PCI_DN(dn) ((struct pci_dn *) (dn)->data)
239 extern struct pci_dn *pci_get_pdn_by_devfn(struct pci_bus *bus,
241 extern struct pci_dn *pci_get_pdn(struct pci_dev *pdev);
242 extern struct pci_dn *pci_add_device_node_info(struct pci_controller *hose,
247 struct pci_dn *add_sriov_vf_pdns(struct pci_dev *pdev);
252 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()
A Ddevice.h10 struct pci_dn;
33 struct pci_dn *pci_data;
A Dppc-pci.h26 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);
A Deeh.h21 struct pci_dn;
145 struct pci_dn *pdn; /* Associated PCI device node */
165 static inline struct pci_dn *eeh_dev_to_pdn(struct eeh_dev *edev) in eeh_dev_to_pdn()
356 void pseries_eeh_init_edev_recursive(struct pci_dn *pdn);
/arch/powerpc/platforms/pseries/
A Deeh_pseries.c46 static void pseries_eeh_init_edev(struct pci_dn *pdn);
50 struct pci_dn *pdn = pci_get_pdn(pdev); in pseries_pcibios_bus_add_device()
248 static int pseries_eeh_cap_start(struct pci_dn *pdn) in pseries_eeh_cap_start()
328 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in pseries_eeh_pe_get_parent()
364 static void pseries_eeh_init_edev(struct pci_dn *pdn) in pseries_eeh_init_edev()
462 struct pci_dn *pdn; in pseries_eeh_probe()
489 struct pci_dn *n; in pseries_eeh_init_edev_recursive()
679 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in pseries_eeh_read_config()
695 struct pci_dn *pdn = eeh_dev_to_pdn(edev); in pseries_eeh_write_config()
727 struct pci_dn *pdn, *tmp, *parent, *physfn_pdn; in pseries_call_allow_unfreeze()
[all …]
A Dpci.c33 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()
172 struct pci_dn *pdn; in pseries_pcibios_sriov_disable()
A 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()
95 static int rtas_query_irq_number(struct pci_dn *pdn, int offset) in rtas_query_irq_number()
347 struct pci_dn *pdn; in rtas_prepare_msi_irqs()
A Diommu.c628 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()
1854 struct pci_dn *pci; in pci_dma_dev_setup_pSeriesLP()
2012 struct pci_dn *pci; in pseries_setup_default_iommu_config()
2075 struct pci_dn *pci; in spapr_tce_create_table()
[all …]
A Dsetup.c284 struct pci_dn *pdn; in pci_dn_reconfig_notifier()
/arch/powerpc/platforms/powernv/
A Dpci.h10 struct pci_dn;
270 int pnv_pci_cfg_read(struct pci_dn *pdn,
272 int pnv_pci_cfg_write(struct pci_dn *pdn,
A Deeh-powernv.c230 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 …]
A Dpci.c527 static void pnv_pci_config_check_eeh(struct pci_dn *pdn) in pnv_pci_config_check_eeh()
582 int pnv_pci_cfg_read(struct pci_dn *pdn, in pnv_pci_cfg_read()
618 int pnv_pci_cfg_write(struct pci_dn *pdn, in pnv_pci_cfg_write()
644 static bool pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check()
667 static inline pnv_pci_cfg_check(struct pci_dn *pdn) in pnv_pci_cfg_check()
677 struct pci_dn *pdn; in pnv_pci_read_config()
706 struct pci_dn *pdn; in pnv_pci_write_config()
A Dpci-sriov.c621 struct pci_dn *pdn; in pnv_ioda_setup_vf_PE()
634 struct pci_dn *vf_pdn; in pnv_ioda_setup_vf_PE()
A Dpci-ioda.c594 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_get_pe()
691 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_ioda_set_peltv()
714 struct pci_dn *pdn = pci_get_pdn(parent); in pnv_ioda_unset_peltv()
875 struct pci_dn *pdn = pci_get_pdn(dev); in pnv_ioda_setup_dev_PE()
994 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pci_ioda_dma_dev_setup()
1120 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pci_ioda_iommu_bypass_supported()
2286 struct pci_dn *pdn; in pnv_pci_enable_device_hook()
2299 struct pci_dn *pdn; in pnv_ocapi_enable_device_hook()
2415 struct pci_dn *pdn = pci_get_pdn(pdev); in pnv_pci_release_device()

Completed in 49 milliseconds