Home
last modified time | relevance | path

Searched refs:eeh_dev (Results 1 – 17 of 17) 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_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()
266 struct eeh_pe *eeh_pe_get(struct eeh_dev *edev) in eeh_pe_get()
284 static struct eeh_pe *eeh_pe_get_parent(struct eeh_dev *edev) in eeh_pe_get_parent()
287 struct eeh_dev *parent; in eeh_pe_get_parent()
321 int eeh_add_to_parent_pe(struct eeh_dev *edev) in eeh_add_to_parent_pe()
419 int eeh_rmv_from_parent_pe(struct eeh_dev *edev) in eeh_rmv_from_parent_pe()
517 struct eeh_dev *edev, *tmp; in __eeh_pe_state_mark()
559 struct eeh_dev *edev = data; in __eeh_pe_dev_mode_mark()
591 struct eeh_dev *edev, *tmp; in __eeh_pe_state_clear()
[all …]
Deeh_driver.c120 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in eeh_disable_irq()
145 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in eeh_enable_irq()
174 static bool eeh_dev_removed(struct eeh_dev *edev) in eeh_dev_removed()
185 struct eeh_dev *edev = data; in eeh_dev_save_state()
220 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_error()
261 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_mmio_enabled()
301 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_reset()
334 struct eeh_dev *edev = data; in eeh_dev_restore_state()
372 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_resume()
409 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_failure()
[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()
286 struct eeh_dev *edev; in eeh_addr_cache_build()
Deeh.c156 static size_t eeh_dump_dev_log(struct eeh_dev *edev, char *buf, size_t len) in eeh_dump_dev_log()
257 struct eeh_dev *edev, *tmp; in eeh_dump_pe_log()
403 int eeh_dev_check_failure(struct eeh_dev *edev) in eeh_dev_check_failure()
569 struct eeh_dev *edev; in eeh_check_failure()
671 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in pcibios_set_pcie_reset_state()
715 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_set_dev_freset()
796 void eeh_save_bars(struct eeh_dev *edev) in eeh_save_bars()
1035 struct eeh_dev *edev; in eeh_add_device_late()
1143 struct eeh_dev *edev; in eeh_remove_device()
1217 struct eeh_dev *edev, *tmp; in eeh_pe_change_owner()
[all …]
Deeh_dev.c55 struct eeh_dev *edev; in eeh_dev_init()
Dpci_of_scan.c308 struct eeh_dev *edev = of_node_to_eeh_dev(dn); in of_scan_pci_dev()
DMakefile60 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \
/arch/powerpc/include/asm/
Deeh.h123 struct eeh_dev { struct
140 static inline struct device_node *eeh_dev_to_of_node(struct eeh_dev *edev) in eeh_dev_to_of_node() argument
145 static inline struct pci_dev *eeh_dev_to_pci_dev(struct eeh_dev *edev) in eeh_dev_to_pci_dev()
150 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev) in eeh_dev_to_pe()
264 struct eeh_pe *eeh_pe_get(struct eeh_dev *edev);
265 int eeh_add_to_parent_pe(struct eeh_dev *edev);
266 int eeh_rmv_from_parent_pe(struct eeh_dev *edev);
282 int eeh_dev_check_failure(struct eeh_dev *edev);
Dppc-pci.h52 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr);
56 void eeh_save_bars(struct eeh_dev *edev);
Ddevice.h38 struct eeh_dev *edev;
Dpci-bridge.h164 struct eeh_dev *edev; /* eeh device */
190 static inline struct eeh_dev *of_node_to_eeh_dev(struct device_node *dn) in of_node_to_eeh_dev()
/arch/powerpc/platforms/powernv/
Deeh-powernv.c126 struct eeh_dev *edev = of_node_to_eeh_dev(dn); in pnv_eeh_dev_probe()
408 struct eeh_dev *edev = of_node_to_eeh_dev(dn); in pnv_eeh_cfg_blocked()
463 struct eeh_dev *edev = of_node_to_eeh_dev(dn); in pnv_eeh_restore_config()
Deeh-ioda.c75 struct eeh_dev *edev; in ioda_eeh_ei_write()
589 struct eeh_dev *edev = of_node_to_eeh_dev(dn); in ioda_eeh_bridge_reset()
882 struct eeh_dev edev; in ioda_eeh_get_pe()
898 memset(&edev, 0, sizeof(struct eeh_dev)); in ioda_eeh_get_pe()
Dpci.c497 struct eeh_dev *edev = NULL; in pnv_pci_cfg_check()
/arch/powerpc/platforms/pseries/
Dmsi.c198 struct eeh_dev *edev; in find_pe_dn()
209 edev = list_first_entry(&edev->pe->edevs, struct eeh_dev, list); in find_pe_dn()
Deeh_pseries.c166 struct eeh_dev *edev = of_node_to_eeh_dev(dn); in pseries_eeh_find_ecap()
204 struct eeh_dev *edev; in pseries_eeh_of_probe()