/Linux-v5.4/arch/powerpc/kernel/ |
D | eeh_driver.c | 93 static bool eeh_dev_removed(struct eeh_dev *edev) in eeh_dev_removed() 98 static bool eeh_edev_actionable(struct eeh_dev *edev) in eeh_edev_actionable() 157 static void eeh_disable_irq(struct eeh_dev *edev) in eeh_disable_irq() 180 static void eeh_enable_irq(struct eeh_dev *edev) in eeh_enable_irq() 209 static void eeh_dev_save_state(struct eeh_dev *edev, void *userdata) in eeh_dev_save_state() 236 struct eeh_dev *edev, *tmp; in eeh_set_channel_state() 247 struct eeh_dev *edev, *tmp; in eeh_set_irq_state() 267 typedef enum pci_ers_result (*eeh_report_fn)(struct eeh_dev *, 270 static void eeh_pe_report_edev(struct eeh_dev *edev, eeh_report_fn fn, 321 struct eeh_dev *edev, *tmp; in eeh_pe_report() [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() 99 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_notify_resume_show() 114 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_notify_resume_store() 155 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_add_device() 177 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_remove_device()
|
D | eeh_pe.c | 238 struct eeh_dev *edev, *tmp; in eeh_pe_dev_traverse() 329 static struct eeh_pe *eeh_pe_get_parent(struct eeh_dev *edev) in eeh_pe_get_parent() 331 struct eeh_dev *parent; in eeh_pe_get_parent() 367 int eeh_add_to_parent_pe(struct eeh_dev *edev) in eeh_add_to_parent_pe() 470 int eeh_rmv_from_parent_pe(struct eeh_dev *edev) in eeh_rmv_from_parent_pe() 604 struct eeh_dev *edev; in eeh_pe_mark_isolated() 621 static void __eeh_pe_dev_mode_mark(struct eeh_dev *edev, void *flag) in __eeh_pe_dev_mode_mark() 652 struct eeh_dev *edev, *tmp; in eeh_pe_state_clear() 699 static void eeh_bridge_check_link(struct eeh_dev *edev) in eeh_bridge_check_link() 770 static void eeh_restore_bridge_bars(struct eeh_dev *edev) in eeh_restore_bridge_bars() [all …]
|
D | eeh_cache.c | 44 struct eeh_dev *edev; 54 static inline struct eeh_dev *__eeh_addr_cache_get_device(unsigned long addr) in __eeh_addr_cache_get_device() 82 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr) in eeh_addr_cache_get_dev() 84 struct eeh_dev *edev; in eeh_addr_cache_get_dev() 163 struct eeh_dev *edev; in __eeh_addr_cache_insert_dev()
|
D | eeh.c | 168 static size_t eeh_dump_dev_log(struct eeh_dev *edev, char *buf, size_t len) in eeh_dump_dev_log() 277 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() 609 struct eeh_dev *edev; in eeh_check_failure() 701 static void eeh_disable_and_save_dev_state(struct eeh_dev *edev, in eeh_disable_and_save_dev_state() 727 static void eeh_restore_dev_state(struct eeh_dev *edev, void *userdata) in eeh_restore_dev_state() 747 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in eeh_restore_vf_config() 814 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in pcibios_set_pcie_reset_state() 868 static void eeh_set_dev_freset(struct eeh_dev *edev, void *flag) in eeh_set_dev_freset() 978 void eeh_save_bars(struct eeh_dev *edev) in eeh_save_bars() [all …]
|
D | eeh_dev.c | 38 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) in eeh_dev_init() 40 struct eeh_dev *edev; in eeh_dev_init()
|
D | pci_dn.c | 177 struct eeh_dev *edev __maybe_unused; in add_dev_pci_data() 238 struct eeh_dev *edev __maybe_unused; in remove_dev_pci_data() 272 struct eeh_dev *edev; in pci_add_device_node_info() 328 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pci_remove_device_node_info()
|
D | pci_of_scan.c | 355 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn)); in of_scan_pci_dev()
|
D | Makefile | 77 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | eeh.h | 134 struct eeh_dev { struct 165 static inline struct pci_dn *eeh_dev_to_pdn(struct eeh_dev *edev) in eeh_dev_to_pdn() argument 170 static inline struct pci_dev *eeh_dev_to_pci_dev(struct eeh_dev *edev) in eeh_dev_to_pci_dev() 175 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev) in eeh_dev_to_pe() 276 typedef void (*eeh_edev_traverse_func)(struct eeh_dev *edev, void *flag); 285 int eeh_add_to_parent_pe(struct eeh_dev *edev); 286 int eeh_rmv_from_parent_pe(struct eeh_dev *edev); 296 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn); 302 int eeh_dev_check_failure(struct eeh_dev *edev);
|
D | ppc-pci.h | 49 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr); 53 void eeh_save_bars(struct eeh_dev *edev);
|
D | device.h | 44 struct eeh_dev *edev;
|
D | pci-bridge.h | 200 struct eeh_dev *edev; /* eeh device */ 243 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()
|
/Linux-v5.4/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 74 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_pcibios_bus_add_device() 197 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_eeh_find_ecap() 235 struct eeh_dev *edev; in pseries_eeh_probe() 663 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_eeh_restore_config() 710 static int pseries_call_allow_unfreeze(struct eeh_dev *edev) in pseries_call_allow_unfreeze() 760 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_notify_resume()
|
D | msi.c | 190 struct eeh_dev *edev; in find_pe_dn() 201 edev = list_first_entry(&edev->pe->edevs, struct eeh_dev, in find_pe_dn()
|
/Linux-v5.4/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 322 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_find_ecap() 369 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_probe() 849 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in __pnv_eeh_bridge_reset() 975 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_do_flr() 1013 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_do_af_flr() 1049 struct eeh_dev *edev; in pnv_eeh_reset_vf_pe() 1054 edev = list_first_entry_or_null(&pe->edevs, struct eeh_dev, entry); in pnv_eeh_reset_vf_pe() 1254 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_cfg_blocked() 1645 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_restore_config()
|
D | pci.c | 715 struct eeh_dev *edev = NULL; in pnv_pci_cfg_check()
|
D | pci-ioda.c | 3582 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in pnv_npu_disable_device()
|
/Linux-v5.4/drivers/pci/hotplug/ |
D | pnv_php.c | 756 struct eeh_dev *edev; in pnv_php_interrupt()
|
/Linux-v5.4/drivers/net/ethernet/sfc/ |
D | siena.c | 210 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in siena_monitor()
|
D | efx.c | 2822 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in efx_try_recovery()
|
/Linux-v5.4/include/linux/ |
D | pci.h | 2319 static inline struct eeh_dev *pci_dev_to_eeh_dev(struct pci_dev *pdev) in pci_dev_to_eeh_dev()
|
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/ |
D | efx.c | 2496 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in ef4_try_recovery()
|