/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | eeh.h | 132 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() 217 struct eeh_dev *(*probe)(struct pci_dev *pdev); 225 int (*read_config)(struct eeh_dev *edev, int where, int size, u32 *val); 226 int (*write_config)(struct eeh_dev *edev, int where, int size, u32 val); 228 int (*restore_config)(struct eeh_dev *edev); 229 int (*notify_resume)(struct eeh_dev *edev); 283 int eeh_pe_tree_remove(struct eeh_dev *edev); [all …]
|
A D | ppc-pci.h | 42 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr); 46 void eeh_save_bars(struct eeh_dev *edev);
|
A D | device.h | 36 struct eeh_dev *edev;
|
A D | pci-bridge.h | 210 struct eeh_dev *edev; /* eeh device */ 245 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | eeh_driver.c | 76 static bool eeh_dev_removed(struct eeh_dev *edev) in eeh_dev_removed() 81 static bool eeh_edev_actionable(struct eeh_dev *edev) in eeh_edev_actionable() 140 static void eeh_disable_irq(struct eeh_dev *edev) in eeh_disable_irq() 163 static void eeh_enable_irq(struct eeh_dev *edev) in eeh_enable_irq() 219 struct eeh_dev *edev, *tmp; in eeh_set_channel_state() 230 struct eeh_dev *edev, *tmp; in eeh_set_irq_state() 304 struct eeh_dev *edev, *tmp; in eeh_pe_report() 537 struct eeh_dev *edev, *tmp; in eeh_pe_detach_dev() 629 struct eeh_dev *edev; in eeh_reset_device() 838 struct eeh_dev *edev, *tmp; in eeh_handle_normal_event() [all …]
|
A D | eeh_sysfs.c | 29 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); \ 45 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_show() 61 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_store() 84 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_notify_resume_show() 98 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_notify_resume_store() 139 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_add_device() 161 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_remove_device()
|
A D | eeh_pe.c | 239 struct eeh_dev *edev, *tmp; in eeh_pe_dev_traverse() 307 int eeh_pe_tree_insert(struct eeh_dev *edev, struct eeh_pe *new_pe_parent) in eeh_pe_tree_insert() 403 int eeh_pe_tree_remove(struct eeh_dev *edev) in eeh_pe_tree_remove() 537 struct eeh_dev *edev; in eeh_pe_mark_isolated() 554 static void __eeh_pe_dev_mode_mark(struct eeh_dev *edev, void *flag) in __eeh_pe_dev_mode_mark() 585 struct eeh_dev *edev, *tmp; in eeh_pe_state_clear() 632 static void eeh_bridge_check_link(struct eeh_dev *edev) in eeh_bridge_check_link() 702 static void eeh_restore_bridge_bars(struct eeh_dev *edev) in eeh_restore_bridge_bars() 731 static void eeh_restore_device_bars(struct eeh_dev *edev) in eeh_restore_device_bars() 851 struct eeh_dev *edev; in eeh_pe_bus_get() [all …]
|
A 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() 162 struct eeh_dev *edev; in __eeh_addr_cache_insert_dev()
|
A D | eeh.c | 271 struct eeh_dev *edev, *tmp; in eeh_dump_pe_log() 582 struct eeh_dev *edev; in eeh_check_failure() 893 void eeh_save_bars(struct eeh_dev *edev) in eeh_save_bars() 1000 struct eeh_dev *edev; in eeh_probe_device() 1060 struct eeh_dev *edev; in eeh_remove_device() 1144 struct eeh_dev *edev, *tmp; in eeh_pe_change_owner() 1199 struct eeh_dev *edev; in eeh_dev_open() 1244 struct eeh_dev *edev; in eeh_dev_release() 1292 struct eeh_dev *edev; in eeh_iommu_group_to_pe() 1417 struct eeh_dev *edev, *tmp; in eeh_pe_reenable_devices() [all …]
|
A D | pci_dn.c | 128 static struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) in eeh_dev_init() 130 struct eeh_dev *edev; in eeh_dev_init() 193 struct eeh_dev *edev __maybe_unused; in add_sriov_vf_pdns() 243 struct eeh_dev *edev __maybe_unused; in remove_sriov_vf_pdns() 290 struct eeh_dev *edev; in pci_add_device_node_info() 347 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pci_remove_device_node_info()
|
A D | pci_of_scan.c | 355 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn)); in of_scan_pci_dev()
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | eeh_pseries.c | 77 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_pcibios_bus_add_device() 290 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_eeh_find_ecap() 325 static struct eeh_pe *pseries_eeh_pe_get_parent(struct eeh_dev *edev) in pseries_eeh_pe_get_parent() 327 struct eeh_dev *parent; in pseries_eeh_pe_get_parent() 367 struct eeh_dev *edev; in pseries_eeh_init_edev() 459 static struct eeh_dev *pseries_eeh_probe(struct pci_dev *pdev) in pseries_eeh_probe() 461 struct eeh_dev *edev; in pseries_eeh_probe() 675 static int pseries_eeh_read_config(struct eeh_dev *edev, int where, int size, u32 *val) in pseries_eeh_read_config() 691 static int pseries_eeh_write_config(struct eeh_dev *edev, int where, int size, u32 val) in pseries_eeh_write_config() 722 static int pseries_call_allow_unfreeze(struct eeh_dev *edev) in pseries_call_allow_unfreeze() [all …]
|
A D | msi.c | 183 struct eeh_dev *edev; in find_pe_dn() 194 edev = list_first_entry(&edev->pe->edevs, struct eeh_dev, in find_pe_dn()
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A D | eeh-powernv.c | 268 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_find_ecap() 322 static struct eeh_dev *pnv_eeh_probe(struct pci_dev *pdev) in pnv_eeh_probe() 327 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_probe() 805 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in __pnv_eeh_bridge_reset() 912 struct eeh_dev *edev = pdn->edev; in pnv_eeh_wait_for_pending() 932 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_do_flr() 970 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_do_af_flr() 1006 struct eeh_dev *edev; in pnv_eeh_reset_vf_pe() 1211 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_cfg_blocked() 1230 static int pnv_eeh_read_config(struct eeh_dev *edev, in pnv_eeh_read_config() [all …]
|
A D | pci.c | 649 struct eeh_dev *edev = NULL; in pnv_pci_cfg_check()
|
/linux-6.3-rc2/drivers/pci/hotplug/ |
A D | pnv_php.c | 766 struct eeh_dev *edev; in pnv_php_interrupt()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/ |
A D | siena.c | 215 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in siena_monitor()
|
A D | efx_common.c | 702 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in efx_siena_try_recovery()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | efx_common.c | 694 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in efx_try_recovery()
|
/linux-6.3-rc2/include/linux/ |
A D | pci.h | 2468 static inline struct eeh_dev *pci_dev_to_eeh_dev(struct pci_dev *pdev) in pci_dev_to_eeh_dev()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/ |
A D | efx.c | 2486 struct eeh_dev *eehdev = pci_dev_to_eeh_dev(efx->pci_dev); in ef4_try_recovery()
|