Home
last modified time | relevance | path

Searched refs:eeh_dev (Results 1 – 16 of 16) sorted by relevance

/arch/powerpc/kernel/
Deeh_sysfs.c44 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); \
61 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_show()
77 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_store()
96 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_add_device()
118 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_remove_device()
Deeh_driver.c98 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in eeh_disable_irq()
123 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in eeh_enable_irq()
152 static bool eeh_dev_removed(struct eeh_dev *edev) in eeh_dev_removed()
163 struct eeh_dev *edev = data; in eeh_dev_save_state()
198 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_error()
239 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_mmio_enabled()
279 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_reset()
312 struct eeh_dev *edev = data; in eeh_dev_restore_state()
350 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_resume()
387 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_failure()
[all …]
Deeh_pe.c202 struct eeh_dev *edev, *tmp; in eeh_pe_dev_traverse()
236 struct eeh_dev *edev = (struct eeh_dev *)flag; in __eeh_pe_get()
274 struct eeh_pe *eeh_pe_get(struct eeh_dev *edev) in eeh_pe_get()
292 static struct eeh_pe *eeh_pe_get_parent(struct eeh_dev *edev) in eeh_pe_get_parent()
294 struct eeh_dev *parent; in eeh_pe_get_parent()
327 int eeh_add_to_parent_pe(struct eeh_dev *edev) in eeh_add_to_parent_pe()
439 int eeh_rmv_from_parent_pe(struct eeh_dev *edev) in eeh_rmv_from_parent_pe()
540 struct eeh_dev *edev, *tmp; in __eeh_pe_state_mark()
581 struct eeh_dev *edev = data; in __eeh_pe_dev_mode_mark()
613 struct eeh_dev *edev, *tmp; in __eeh_pe_state_clear()
[all …]
Deeh_cache.c53 struct eeh_dev *edev;
63 static inline struct eeh_dev *__eeh_addr_cache_get_device(unsigned long addr) in __eeh_addr_cache_get_device()
92 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr) in eeh_addr_cache_get_dev()
94 struct eeh_dev *edev; in eeh_addr_cache_get_dev()
175 struct eeh_dev *edev; in __eeh_addr_cache_insert_dev()
283 struct eeh_dev *edev; in eeh_addr_cache_build()
Deeh.c163 static size_t eeh_dump_dev_log(struct eeh_dev *edev, char *buf, size_t len) in eeh_dump_dev_log()
268 struct eeh_dev *edev, *tmp; in eeh_dump_pe_log()
446 int eeh_dev_check_failure(struct eeh_dev *edev) in eeh_dev_check_failure()
614 struct eeh_dev *edev; in eeh_check_failure()
708 struct eeh_dev *edev = data; in eeh_disable_and_save_dev_state()
736 struct eeh_dev *edev = data; in eeh_restore_dev_state()
765 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in pcibios_set_pcie_reset_state()
818 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_set_dev_freset()
910 void eeh_save_bars(struct eeh_dev *edev) in eeh_save_bars()
1087 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in eeh_add_device_early()
[all …]
Deeh_dev.c55 struct eeh_dev *edev; in eeh_dev_init()
DMakefile61 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \
Dpci_of_scan.c320 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn)); in of_scan_pci_dev()
/arch/powerpc/include/asm/
Deeh.h130 struct eeh_dev { struct
147 static inline struct pci_dn *eeh_dev_to_pdn(struct eeh_dev *edev) in eeh_dev_to_pdn() argument
152 static inline struct pci_dev *eeh_dev_to_pci_dev(struct eeh_dev *edev) in eeh_dev_to_pci_dev()
157 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev) in eeh_dev_to_pe()
260 struct eeh_pe *eeh_pe_get(struct eeh_dev *edev);
261 int eeh_add_to_parent_pe(struct eeh_dev *edev);
262 int eeh_rmv_from_parent_pe(struct eeh_dev *edev);
278 int eeh_dev_check_failure(struct eeh_dev *edev);
Dppc-pci.h55 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr);
59 void eeh_save_bars(struct eeh_dev *edev);
Ddevice.h47 struct eeh_dev *edev;
Dpci-bridge.h209 struct eeh_dev *edev; /* eeh device */
249 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()
/arch/powerpc/platforms/powernv/
Deeh-powernv.c109 struct eeh_dev *edev; in pnv_eeh_ei_write()
321 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_find_ecap()
368 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_probe()
836 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_bridge_reset()
1098 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_cfg_blocked()
1221 struct eeh_dev edev; in pnv_eeh_get_pe()
1237 memset(&edev, 0, sizeof(struct eeh_dev)); in pnv_eeh_get_pe()
1489 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_restore_config()
Dpci.c492 struct eeh_dev *edev = NULL; in pnv_pci_cfg_check()
/arch/powerpc/platforms/pseries/
Dmsi.c201 struct eeh_dev *edev; in find_pe_dn()
212 edev = list_first_entry(&edev->pe->edevs, struct eeh_dev, list); in find_pe_dn()
Deeh_pseries.c163 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_eeh_find_ecap()
201 struct eeh_dev *edev; in pseries_eeh_probe()