/arch/powerpc/kernel/ |
D | eeh_driver.c | 77 static bool eeh_dev_removed(struct eeh_dev *edev) in eeh_dev_removed() 82 static bool eeh_edev_actionable(struct eeh_dev *edev) in eeh_edev_actionable() 141 static void eeh_disable_irq(struct eeh_dev *edev) in eeh_disable_irq() 164 static void eeh_enable_irq(struct eeh_dev *edev) in eeh_enable_irq() 193 static void eeh_dev_save_state(struct eeh_dev *edev, void *userdata) in eeh_dev_save_state() 220 struct eeh_dev *edev, *tmp; in eeh_set_channel_state() local 231 struct eeh_dev *edev, *tmp; in eeh_set_irq_state() local 254 static void eeh_pe_report_edev(struct eeh_dev *edev, eeh_report_fn fn, in eeh_pe_report_edev() 305 struct eeh_dev *edev, *tmp; in eeh_pe_report() local 324 static enum pci_ers_result eeh_report_error(struct eeh_dev *edev, in eeh_report_error() [all …]
|
D | eeh_sysfs.c | 44 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_show() local 60 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_store() local 83 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_notify_resume_show() local 97 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_notify_resume_store() local 138 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_add_device() local 160 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_remove_device() local
|
D | eeh_pe.c | 238 struct eeh_dev *edev, *tmp; in eeh_pe_dev_traverse() local 306 int eeh_pe_tree_insert(struct eeh_dev *edev, struct eeh_pe *new_pe_parent) in eeh_pe_tree_insert() 402 int eeh_pe_tree_remove(struct eeh_dev *edev) in eeh_pe_tree_remove() 536 struct eeh_dev *edev; in eeh_pe_mark_isolated() local 553 static void __eeh_pe_dev_mode_mark(struct eeh_dev *edev, void *flag) in __eeh_pe_dev_mode_mark() 584 struct eeh_dev *edev, *tmp; in eeh_pe_state_clear() local 631 static void eeh_bridge_check_link(struct eeh_dev *edev) in eeh_bridge_check_link() 701 static void eeh_restore_bridge_bars(struct eeh_dev *edev) in eeh_restore_bridge_bars() 730 static void eeh_restore_device_bars(struct eeh_dev *edev) in eeh_restore_device_bars() 773 static void eeh_restore_one_device_bars(struct eeh_dev *edev, void *flag) in eeh_restore_one_device_bars() [all …]
|
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() 271 struct eeh_dev *edev, *tmp; in eeh_dump_pe_log() local 416 int eeh_dev_check_failure(struct eeh_dev *edev) in eeh_dev_check_failure() 574 struct eeh_dev *edev; in eeh_check_failure() local 666 static void eeh_disable_and_save_dev_state(struct eeh_dev *edev, in eeh_disable_and_save_dev_state() 692 static void eeh_restore_dev_state(struct eeh_dev *edev, void *userdata) in eeh_restore_dev_state() 719 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in pcibios_set_pcie_reset_state() local 773 static void eeh_set_dev_freset(struct eeh_dev *edev, void *flag) in eeh_set_dev_freset() 883 void eeh_save_bars(struct eeh_dev *edev) in eeh_save_bars() 989 struct eeh_dev *edev; in eeh_probe_device() local [all …]
|
D | eeh_cache.c | 44 struct eeh_dev *edev; member 84 struct eeh_dev *edev; in eeh_addr_cache_get_dev() local 162 struct eeh_dev *edev; in __eeh_addr_cache_insert_dev() local
|
D | pci_dn.c | 130 struct eeh_dev *edev; in eeh_dev_init() local 290 struct eeh_dev *edev; in pci_add_device_node_info() local 347 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pci_remove_device_node_info() local
|
D | pci_of_scan.c | 355 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn)); in of_scan_pci_dev() local
|
/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 75 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_pcibios_bus_add_device() local 288 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_eeh_find_ecap() local 323 static struct eeh_pe *pseries_eeh_pe_get_parent(struct eeh_dev *edev) in pseries_eeh_pe_get_parent() 365 struct eeh_dev *edev; in pseries_eeh_init_edev() local 459 struct eeh_dev *edev; in pseries_eeh_probe() local 673 static int pseries_eeh_read_config(struct eeh_dev *edev, int where, int size, u32 *val) in pseries_eeh_read_config() 689 static int pseries_eeh_write_config(struct eeh_dev *edev, int where, int size, u32 val) in pseries_eeh_write_config() 720 static int pseries_call_allow_unfreeze(struct eeh_dev *edev) in pseries_call_allow_unfreeze() 770 static int pseries_notify_resume(struct eeh_dev *edev) in pseries_notify_resume()
|
D | msi.c | 182 struct eeh_dev *edev; in find_pe_dn() local
|
/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 267 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_find_ecap() local 326 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_probe() local 804 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in __pnv_eeh_bridge_reset() local 911 struct eeh_dev *edev = pdn->edev; in pnv_eeh_wait_for_pending() local 931 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_do_flr() local 969 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_do_af_flr() local 1005 struct eeh_dev *edev; in pnv_eeh_reset_vf_pe() local 1210 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_cfg_blocked() local 1229 static int pnv_eeh_read_config(struct eeh_dev *edev, in pnv_eeh_read_config() 1245 static int pnv_eeh_write_config(struct eeh_dev *edev, in pnv_eeh_write_config() [all …]
|
D | pci.c | 650 struct eeh_dev *edev = NULL; in pnv_pci_cfg_check() local
|
/arch/powerpc/include/asm/ |
D | eeh.h | 104 #define eeh_pe_for_each_dev(pe, edev, tmp) \ argument 155 #define EEH_EDEV_PRINT(level, edev, fmt, ...) \ argument 160 #define eeh_edev_dbg(edev, fmt, ...) EEH_EDEV_PRINT(debug, (edev), fmt, ##__VA_ARGS__) argument 161 #define eeh_edev_info(edev, fmt, ...) EEH_EDEV_PRINT(info, (edev), fmt, ##__VA_ARGS__) argument 162 #define eeh_edev_warn(edev, fmt, ...) EEH_EDEV_PRINT(warn, (edev), fmt, ##__VA_ARGS__) argument 163 #define eeh_edev_err(edev, fmt, ...) EEH_EDEV_PRINT(err, (edev), fmt, ##__VA_ARGS__) argument 165 static inline struct pci_dn *eeh_dev_to_pdn(struct eeh_dev *edev) in eeh_dev_to_pdn() 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()
|
D | device.h | 36 struct eeh_dev *edev; member
|
D | pci-bridge.h | 204 struct eeh_dev *edev; /* eeh device */ member
|