Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kernel/
Deeh_driver.c84 static __printf(2, 3) void eeh_edev_info(const struct eeh_dev *edev, in eeh_edev_info()
109 static bool eeh_dev_removed(struct eeh_dev *edev) in eeh_dev_removed()
114 static bool eeh_edev_actionable(struct eeh_dev *edev) in eeh_edev_actionable()
165 static void eeh_disable_irq(struct eeh_dev *edev) in eeh_disable_irq()
188 static void eeh_enable_irq(struct eeh_dev *edev) in eeh_enable_irq()
217 static void *eeh_dev_save_state(struct eeh_dev *edev, void *userdata) in eeh_dev_save_state()
245 struct eeh_dev *edev, *tmp; in eeh_set_channel_state()
256 struct eeh_dev *edev, *tmp; in eeh_set_irq_state()
276 typedef enum pci_ers_result (*eeh_report_fn)(struct eeh_dev *,
278 static void eeh_pe_report_edev(struct eeh_dev *edev, eeh_report_fn fn,
[all …]
Deeh_sysfs.c44 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); \
60 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_show()
76 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_store()
98 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_notify_resume_show()
113 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_notify_resume_store()
154 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_add_device()
176 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_remove_device()
Deeh_pe.c201 struct eeh_dev *edev, *tmp; in eeh_pe_dev_traverse()
299 static struct eeh_pe *eeh_pe_get_parent(struct eeh_dev *edev) in eeh_pe_get_parent()
301 struct eeh_dev *parent; in eeh_pe_get_parent()
337 int eeh_add_to_parent_pe(struct eeh_dev *edev) in eeh_add_to_parent_pe()
454 int eeh_rmv_from_parent_pe(struct eeh_dev *edev) in eeh_rmv_from_parent_pe()
555 struct eeh_dev *edev, *tmp; in __eeh_pe_state_mark()
595 static void *__eeh_pe_dev_mode_mark(struct eeh_dev *edev, void *flag) in __eeh_pe_dev_mode_mark()
627 struct eeh_dev *edev, *tmp; in __eeh_pe_state_clear()
707 static void eeh_bridge_check_link(struct eeh_dev *edev) in eeh_bridge_check_link()
782 static void eeh_restore_bridge_bars(struct eeh_dev *edev) in eeh_restore_bridge_bars()
[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()
91 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr) in eeh_addr_cache_get_dev()
93 struct eeh_dev *edev; in eeh_addr_cache_get_dev()
174 struct eeh_dev *edev; in __eeh_addr_cache_insert_dev()
281 struct eeh_dev *edev; in eeh_addr_cache_build()
Deeh.c164 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()
430 int eeh_dev_check_failure(struct eeh_dev *edev) in eeh_dev_check_failure()
600 struct eeh_dev *edev; in eeh_check_failure()
692 static void *eeh_disable_and_save_dev_state(struct eeh_dev *edev, in eeh_disable_and_save_dev_state()
720 static void *eeh_restore_dev_state(struct eeh_dev *edev, void *userdata) in eeh_restore_dev_state()
742 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in eeh_restore_vf_config()
809 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in pcibios_set_pcie_reset_state()
861 static void *eeh_set_dev_freset(struct eeh_dev *edev, void *flag) in eeh_set_dev_freset()
946 void eeh_save_bars(struct eeh_dev *edev) in eeh_save_bars()
[all …]
Deeh_dev.c51 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) in eeh_dev_init()
53 struct eeh_dev *edev; in eeh_dev_init()
Dpci_dn.c190 struct eeh_dev *edev __maybe_unused; in add_dev_pci_data()
251 struct eeh_dev *edev __maybe_unused; in remove_dev_pci_data()
285 struct eeh_dev *edev; in pci_add_device_node_info()
340 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pci_remove_device_node_info()
Dpci_of_scan.c307 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn)); in of_scan_pci_dev()
DMakefile61 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \
/Linux-v4.19/arch/powerpc/include/asm/
Deeh.h135 struct eeh_dev { struct
154 static inline struct pci_dn *eeh_dev_to_pdn(struct eeh_dev *edev) in eeh_dev_to_pdn() argument
159 static inline struct pci_dev *eeh_dev_to_pci_dev(struct eeh_dev *edev) in eeh_dev_to_pci_dev()
164 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev) in eeh_dev_to_pe()
269 typedef void *(*eeh_edev_traverse_func)(struct eeh_dev *edev, void *flag);
277 int eeh_add_to_parent_pe(struct eeh_dev *edev);
278 int eeh_rmv_from_parent_pe(struct eeh_dev *edev);
288 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn);
294 int eeh_dev_check_failure(struct eeh_dev *edev);
Dppc-pci.h53 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr);
57 void eeh_save_bars(struct eeh_dev *edev);
Ddevice.h43 struct eeh_dev *edev;
Dpci-bridge.h201 struct eeh_dev *edev; /* eeh device */
244 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Deeh_pseries.c63 struct eeh_dev *edev; in pseries_pcibios_bus_add_device()
210 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_eeh_find_ecap()
248 struct eeh_dev *edev; in pseries_eeh_probe()
731 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_eeh_restore_config()
778 static int pseries_call_allow_unfreeze(struct eeh_dev *edev) in pseries_call_allow_unfreeze()
828 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_notify_resume()
Dmsi.c195 struct eeh_dev *edev; in find_pe_dn()
206 edev = list_first_entry(&edev->pe->edevs, struct eeh_dev, list); in find_pe_dn()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Deeh-powernv.c329 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_find_ecap()
376 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_probe()
856 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in __pnv_eeh_bridge_reset()
978 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_do_flr()
1016 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_do_af_flr()
1052 struct eeh_dev *edev; in pnv_eeh_reset_vf_pe()
1057 edev = list_first_entry_or_null(&pe->edevs, struct eeh_dev, list); in pnv_eeh_reset_vf_pe()
1274 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_cfg_blocked()
1665 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_restore_config()
Dpci.c721 struct eeh_dev *edev = NULL; in pnv_pci_cfg_check()
/Linux-v4.19/drivers/pci/hotplug/
Dpnv_php.c702 struct eeh_dev *edev; in pnv_php_interrupt()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dsiena.c213 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in siena_monitor()
Defx.c2825 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in efx_try_recovery()
/Linux-v4.19/include/linux/
Dpci.h2261 static inline struct eeh_dev *pci_dev_to_eeh_dev(struct pci_dev *pdev) in pci_dev_to_eeh_dev()
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Defx.c2499 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in ef4_try_recovery()