Searched refs:eeh_dev (Results 1 – 17 of 17) sorted by relevance
/arch/powerpc/kernel/ |
D | eeh_driver.c | 103 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in eeh_disable_irq() 128 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in eeh_enable_irq() 157 static bool eeh_dev_removed(struct eeh_dev *edev) in eeh_dev_removed() 168 struct eeh_dev *edev = data; in eeh_dev_save_state() 203 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_error() 245 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_mmio_enabled() 285 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_reset() 319 struct eeh_dev *edev = data; in eeh_dev_restore_state() 357 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_resume() 397 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_failure() [all …]
|
D | eeh_sysfs.c | 44 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); \ 61 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_show() 77 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_store() 96 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_add_device() 118 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_remove_device()
|
D | eeh_pe.c | 202 struct eeh_dev *edev, *tmp; in eeh_pe_dev_traverse() 236 struct eeh_dev *edev = (struct eeh_dev *)flag; in __eeh_pe_get() 274 struct eeh_pe *eeh_pe_get(struct eeh_dev *edev) in eeh_pe_get() 292 static struct eeh_pe *eeh_pe_get_parent(struct eeh_dev *edev) in eeh_pe_get_parent() 294 struct eeh_dev *parent; in eeh_pe_get_parent() 330 int eeh_add_to_parent_pe(struct eeh_dev *edev) in eeh_add_to_parent_pe() 445 int eeh_rmv_from_parent_pe(struct eeh_dev *edev) in eeh_rmv_from_parent_pe() 546 struct eeh_dev *edev, *tmp; in __eeh_pe_state_mark() 588 struct eeh_dev *edev = data; in __eeh_pe_dev_mode_mark() 620 struct eeh_dev *edev, *tmp; in __eeh_pe_state_clear() [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() 92 struct eeh_dev *eeh_addr_cache_get_dev(unsigned long addr) in eeh_addr_cache_get_dev() 94 struct eeh_dev *edev; in eeh_addr_cache_get_dev() 175 struct eeh_dev *edev; in __eeh_addr_cache_insert_dev() 282 struct eeh_dev *edev; in eeh_addr_cache_build()
|
D | eeh_dev.c | 51 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn) in eeh_dev_init() 54 struct eeh_dev *edev; in eeh_dev_init()
|
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() 269 struct eeh_dev *edev, *tmp; in eeh_dump_pe_log() 434 int eeh_dev_check_failure(struct eeh_dev *edev) in eeh_dev_check_failure() 602 struct eeh_dev *edev; in eeh_check_failure() 696 struct eeh_dev *edev = data; in eeh_disable_and_save_dev_state() 724 struct eeh_dev *edev = data; in eeh_restore_dev_state() 753 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in pcibios_set_pcie_reset_state() 809 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_set_dev_freset() 901 void eeh_save_bars(struct eeh_dev *edev) in eeh_save_bars() 1078 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in eeh_add_device_early() [all …]
|
D | pci_dn.c | 202 struct eeh_dev *edev __maybe_unused; in add_dev_pci_data() 265 struct eeh_dev *edev __maybe_unused; in remove_dev_pci_data() 299 struct eeh_dev *edev; in pci_add_device_node_info() 356 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 | 63 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \
|
/arch/powerpc/include/asm/ |
D | eeh.h | 131 struct eeh_dev { struct 152 static inline struct pci_dn *eeh_dev_to_pdn(struct eeh_dev *edev) in eeh_dev_to_pdn() argument 157 static inline struct pci_dev *eeh_dev_to_pci_dev(struct eeh_dev *edev) in eeh_dev_to_pci_dev() 162 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev) in eeh_dev_to_pe() 265 struct eeh_pe *eeh_pe_get(struct eeh_dev *edev); 266 int eeh_add_to_parent_pe(struct eeh_dev *edev); 267 int eeh_rmv_from_parent_pe(struct eeh_dev *edev); 277 struct eeh_dev *eeh_dev_init(struct pci_dn *pdn); 283 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 | 47 struct eeh_dev *edev;
|
D | pci-bridge.h | 212 struct eeh_dev *edev; /* eeh device */ 255 static inline struct eeh_dev *pdn_to_eeh_dev(struct pci_dn *pdn) in pdn_to_eeh_dev()
|
/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 110 struct eeh_dev *edev; in pnv_eeh_ei_write() 306 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_find_ecap() 353 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_probe() 824 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in __pnv_eeh_bridge_reset() 927 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_wait_for_pending() 947 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_do_flr() 985 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_do_af_flr() 1021 struct eeh_dev *edev; in pnv_eeh_reset_vf_pe() 1026 edev = list_first_entry_or_null(&pe->edevs, struct eeh_dev, list); in pnv_eeh_reset_vf_pe() 1236 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_cfg_blocked() [all …]
|
D | pci.c | 601 struct eeh_dev *edev = NULL; in pnv_pci_cfg_check()
|
/arch/powerpc/platforms/pseries/ |
D | msi.c | 201 struct eeh_dev *edev; in find_pe_dn() 212 edev = list_first_entry(&edev->pe->edevs, struct eeh_dev, list); in find_pe_dn()
|
D | eeh_pseries.c | 168 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_eeh_find_ecap() 206 struct eeh_dev *edev; in pseries_eeh_probe()
|