/Linux-v4.19/arch/powerpc/kernel/ |
D | eeh_driver.c | 84 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 …]
|
D | eeh_sysfs.c | 44 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()
|
D | eeh_pe.c | 201 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 …]
|
D | eeh_cache.c | 53 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()
|
D | eeh.c | 164 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 …]
|
D | eeh_dev.c | 51 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) in eeh_dev_init() 53 struct eeh_dev *edev; in eeh_dev_init()
|
D | pci_dn.c | 190 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()
|
D | pci_of_scan.c | 307 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn)); in of_scan_pci_dev()
|
D | Makefile | 61 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | eeh.h | 135 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);
|
D | ppc-pci.h | 53 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr); 57 void eeh_save_bars(struct eeh_dev *edev);
|
D | device.h | 43 struct eeh_dev *edev;
|
D | pci-bridge.h | 201 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/ |
D | eeh_pseries.c | 63 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()
|
D | msi.c | 195 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/ |
D | eeh-powernv.c | 329 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()
|
D | pci.c | 721 struct eeh_dev *edev = NULL; in pnv_pci_cfg_check()
|
/Linux-v4.19/drivers/pci/hotplug/ |
D | pnv_php.c | 702 struct eeh_dev *edev; in pnv_php_interrupt()
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | siena.c | 213 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in siena_monitor()
|
D | efx.c | 2825 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in efx_try_recovery()
|
/Linux-v4.19/include/linux/ |
D | pci.h | 2261 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/ |
D | efx.c | 2499 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in ef4_try_recovery()
|