Searched refs:pci_dn (Results 1 - 22 of 22) sorted by relevance
/linux-master/arch/powerpc/include/asm/ |
H A D | device.h | 10 struct pci_dn; 33 struct pci_dn *pci_data;
|
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);
|
H A D | pci-bridge.h | 129 struct pci_dn *pci_data; 200 struct pci_dn { struct 211 struct pci_dn *parent; 236 /* Get the pointer to a device_node's pci_dn */ 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 *pd [all...] |
H A D | eeh.h | 21 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) 355 void pseries_eeh_init_edev_recursive(struct pci_dn *pdn);
|
/linux-master/arch/powerpc/kernel/ |
H A D | pci_dn.c | 3 * pci_dn.c 30 static struct pci_dn *pci_bus_to_pdn(struct pci_bus *bus) 34 struct pci_dn *pdn; 58 struct pci_dn *pci_get_pdn_by_devfn(struct pci_bus *bus, 62 struct pci_dn *parent, *pdn; 95 struct pci_dn *pci_get_pdn(struct pci_dev *pdev) 98 struct pci_dn *parent, *pdn; 128 static struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) 148 static struct pci_dn *add_one_sriov_vf_pdn(struct pci_dn *paren [all...] |
H A D | rtas_pci.c | 36 static inline int config_access_valid(struct pci_dn *dn, int where) 46 int rtas_pci_dn_read_config(struct pci_dn *pdn, int where, int size, u32 *val) 82 struct pci_dn *pdn; 98 int rtas_pci_dn_write_config(struct pci_dn *pdn, int where, int size, u32 val) 132 struct pci_dn *pdn;
|
H A D | pci-hotplug.c | 41 struct pci_dn *pdn = PCI_DN(dn); 59 struct pci_dn *pdn = pci_get_pdn(dev); 64 /* free()ing the pci_dn has been deferred to us, do it now */
|
H A D | eeh_sysfs.c | 85 struct pci_dn *pdn = pci_get_pdn(pdev);
|
H A D | Makefile | 149 pci64-$(CONFIG_PPC64) += pci_dn.o pci-hotplug.o isa-bridge.o
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | eeh_pseries.c | 46 static void pseries_eeh_init_edev(struct pci_dn *pdn); 50 struct pci_dn *pdn = pci_get_pdn(pdev); 90 * @pdn: pci_dn of the input device 101 static int pseries_eeh_get_pe_config_addr(struct pci_dn *pdn) 248 static int pseries_eeh_cap_start(struct pci_dn *pdn) 263 static int pseries_eeh_find_cap(struct pci_dn *pdn, int cap) 288 static int pseries_eeh_find_ecap(struct pci_dn *pdn, int cap) 328 struct pci_dn *pdn = eeh_dev_to_pdn(edev); 355 * pseries_eeh_init_edev - initialise the eeh_dev and eeh_pe for a pci_dn 360 * corresponding pci_dn an [all...] |
H A D | pci.c | 60 struct pci_dn *pdn; 91 struct pci_dn *pdn; 105 struct pci_dn *pdn; 149 struct pci_dn *pdn; 199 struct pci_dn *pdn;
|
H A D | msi.c | 33 static int rtas_change_msi(struct pci_dn *pdn, u32 func, u32 num_irqs) 74 struct pci_dn *pdn; 94 static int rtas_query_irq_number(struct pci_dn *pdn, int offset) 346 struct pci_dn *pdn;
|
H A D | iommu.c | 589 struct pci_dn *pci; 775 struct pci_dn *ppci; 1078 struct pci_dn *pdn; 1137 struct pci_dn *pdn; 1205 struct pci_dn *pdn; 1308 struct pci_dn *pci = PCI_DN(pdn); 1569 struct pci_dn *pci; 1695 struct pci_dn *pci = PCI_DN(np); 1780 struct pci_dn *pci;
|
H A D | setup.c | 284 struct pci_dn *pdn; 517 /* create pci_dn's for DT nodes under this PHB */
|
/linux-master/drivers/pci/hotplug/ |
H A D | rpaphp_pci.c | 76 struct pci_dn *pdn; 88 struct pci_dn, list);
|
H A D | rpadlpar_core.c | 140 struct pci_dn *pdn = PCI_DN(dn); 208 struct pci_dn *pdn;
|
H A D | pnv_php.c | 240 struct pci_dn *pdn;
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | pci.h | 10 struct pci_dn; 271 int pnv_pci_cfg_read(struct pci_dn *pdn, 273 int pnv_pci_cfg_write(struct pci_dn *pdn,
|
H A D | eeh-powernv.c | 231 static int pnv_eeh_find_cap(struct pci_dn *pdn, int cap) 266 static int pnv_eeh_find_ecap(struct pci_dn *pdn, int cap) 324 struct pci_dn *pdn = pci_get_pdn(pdev); 804 struct pci_dn *pdn = pci_get_pdn_by_devfn(dev->bus, dev->devfn); 908 static void pnv_eeh_wait_for_pending(struct pci_dn *pdn, const char *type, 929 static int pnv_eeh_do_flr(struct pci_dn *pdn, int option) 967 static int pnv_eeh_do_af_flr(struct pci_dn *pdn, int option) 1006 struct pci_dn *pdn; 1208 static inline bool pnv_eeh_cfg_blocked(struct pci_dn *pdn) 1232 struct pci_dn *pd [all...] |
H A D | pci.c | 530 static void pnv_pci_config_check_eeh(struct pci_dn *pdn) 585 int pnv_pci_cfg_read(struct pci_dn *pdn, 621 int pnv_pci_cfg_write(struct pci_dn *pdn, 647 static bool pnv_pci_cfg_check(struct pci_dn *pdn) 670 static inline pnv_pci_cfg_check(struct pci_dn *pdn) 680 struct pci_dn *pdn; 709 struct pci_dn *pdn;
|
H A D | pci-sriov.c | 621 struct pci_dn *pdn; 634 struct pci_dn *vf_pdn;
|
H A D | pci-ioda.c | 596 struct pci_dn *pdn = pci_get_pdn(dev); 693 struct pci_dn *pdn = pci_get_pdn(pdev); 716 struct pci_dn *pdn = pci_get_pdn(parent); 877 struct pci_dn *pdn = pci_get_pdn(dev); 996 struct pci_dn *pdn = pci_get_pdn(pdev); 1122 struct pci_dn *pdn = pci_get_pdn(pdev); 2327 struct pci_dn *pdn; 2340 struct pci_dn *pdn; 2456 struct pci_dn *pdn = pci_get_pdn(pdev); 2803 /* create pci_dn' [all...] |
Completed in 224 milliseconds