/Linux-v5.15/arch/powerpc/include/asm/ |
D | eeh.h | 73 struct eeh_pe { struct 84 struct eeh_pe *parent; /* Parent PE */ argument 110 static inline bool eeh_pe_passed(struct eeh_pe *pe) in eeh_pe_passed() argument 142 struct eeh_pe *pe; /* Associated PE */ 175 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev) in eeh_dev_to_pe() 218 int (*set_option)(struct eeh_pe *pe, int option); 219 int (*get_state)(struct eeh_pe *pe, int *delay); 220 int (*reset)(struct eeh_pe *pe, int option); 221 int (*get_log)(struct eeh_pe *pe, int severity, char *drv_log, unsigned long len); 222 int (*configure_bridge)(struct eeh_pe *pe); [all …]
|
D | ppc-pci.h | 43 void eeh_slot_error_detail(struct eeh_pe *pe, int severity); 44 int eeh_pci_enable(struct eeh_pe *pe, int function); 45 int eeh_pe_reset_full(struct eeh_pe *pe, bool include_passed); 49 void eeh_pe_state_mark(struct eeh_pe *pe, int state); 50 void eeh_pe_mark_isolated(struct eeh_pe *pe); 51 void eeh_pe_state_clear(struct eeh_pe *pe, int state, bool include_passed); 52 void eeh_pe_state_mark_with_cfg(struct eeh_pe *pe, int state); 53 void eeh_pe_dev_mode_mark(struct eeh_pe *pe, int mode);
|
D | eeh_event.h | 19 struct eeh_pe *pe; /* EEH PE */ 23 int eeh_send_failure_event(struct eeh_pe *pe); 24 int __eeh_send_failure_event(struct eeh_pe *pe); 25 void eeh_remove_event(struct eeh_pe *pe, bool force); 26 void eeh_handle_normal_event(struct eeh_pe *pe);
|
/Linux-v5.15/arch/powerpc/kernel/ |
D | eeh_pe.c | 46 static struct eeh_pe *eeh_pe_alloc(struct pci_controller *phb, int type) in eeh_pe_alloc() 48 struct eeh_pe *pe; in eeh_pe_alloc() 51 alloc_size = sizeof(struct eeh_pe); in eeh_pe_alloc() 67 pe->data = (void *)pe + ALIGN(sizeof(struct eeh_pe), in eeh_pe_alloc() 81 struct eeh_pe *pe; in eeh_phb_pe_create() 106 int eeh_wait_state(struct eeh_pe *pe, int max_wait) in eeh_wait_state() 157 struct eeh_pe *eeh_phb_pe_get(struct pci_controller *phb) in eeh_phb_pe_get() 159 struct eeh_pe *pe; in eeh_phb_pe_get() 182 struct eeh_pe *eeh_pe_next(struct eeh_pe *pe, struct eeh_pe *root) in eeh_pe_next() 197 return list_entry(next, struct eeh_pe, child); in eeh_pe_next() [all …]
|
D | eeh_driver.c | 217 static void eeh_set_channel_state(struct eeh_pe *root, pci_channel_state_t s) in eeh_set_channel_state() 219 struct eeh_pe *pe; in eeh_set_channel_state() 228 static void eeh_set_irq_state(struct eeh_pe *root, bool enable) in eeh_set_irq_state() 230 struct eeh_pe *pe; in eeh_set_irq_state() 301 static void eeh_pe_report(const char *name, struct eeh_pe *root, in eeh_pe_report() 304 struct eeh_pe *pe; in eeh_pe_report() 536 static void *eeh_pe_detach_dev(struct eeh_pe *pe, void *userdata) in eeh_pe_detach_dev() 558 static int eeh_clear_pe_frozen_state(struct eeh_pe *root, bool include_passed) in eeh_clear_pe_frozen_state() 560 struct eeh_pe *pe; in eeh_clear_pe_frozen_state() 576 int eeh_pe_reset_and_recover(struct eeh_pe *pe) in eeh_pe_reset_and_recover() [all …]
|
D | eeh.c | 269 static void *eeh_dump_pe_log(struct eeh_pe *pe, void *flag) in eeh_dump_pe_log() 291 void eeh_slot_error_detail(struct eeh_pe *pe, int severity) in eeh_slot_error_detail() 357 static int eeh_phb_check_failure(struct eeh_pe *pe) in eeh_phb_check_failure() 359 struct eeh_pe *phb_pe; in eeh_phb_check_failure() 422 struct eeh_pe *pe, *parent_pe; in eeh_dev_check_failure() 597 int eeh_pci_enable(struct eeh_pe *pe, int function) in eeh_pci_enable() 720 struct eeh_pe *pe = eeh_dev_to_pe(edev); in pcibios_set_pcie_reset_state() 783 static void eeh_pe_refreeze_passed(struct eeh_pe *root) in eeh_pe_refreeze_passed() 785 struct eeh_pe *pe; in eeh_pe_refreeze_passed() 813 int eeh_pe_reset_full(struct eeh_pe *pe, bool include_passed) in eeh_pe_reset_full() [all …]
|
D | eeh_event.c | 102 int __eeh_send_failure_event(struct eeh_pe *pe) in __eeh_send_failure_event() 143 int eeh_send_failure_event(struct eeh_pe *pe) in eeh_send_failure_event() 167 void eeh_remove_event(struct eeh_pe *pe, bool force) in eeh_remove_event()
|
D | Makefile | 75 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_cache.o \
|
/Linux-v5.15/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 74 struct eeh_pe *physfn_pe = pci_dev_to_eeh_dev(pdev->physfn)->pe; in pseries_pcibios_bus_add_device() 323 static struct eeh_pe *pseries_eeh_pe_get_parent(struct eeh_dev *edev) in pseries_eeh_pe_get_parent() 364 struct eeh_pe pe, *parent; in pseries_eeh_init_edev() 431 memset(&pe, 0, sizeof(struct eeh_pe)); in pseries_eeh_init_edev() 508 static int pseries_eeh_set_option(struct eeh_pe *pe, int option) in pseries_eeh_set_option() 552 static int pseries_eeh_get_state(struct eeh_pe *pe, int *delay) in pseries_eeh_get_state() 618 static int pseries_eeh_reset(struct eeh_pe *pe, int option) in pseries_eeh_reset() 634 static int pseries_eeh_get_log(struct eeh_pe *pe, int severity, char *drv_log, unsigned long len) in pseries_eeh_get_log() 659 static int pseries_eeh_configure_bridge(struct eeh_pe *pe) in pseries_eeh_configure_bridge()
|
/Linux-v5.15/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 69 struct eeh_pe *pe; in pnv_eeh_ei_write() 293 static struct eeh_pe *pnv_eeh_get_upstream_pe(struct pci_dev *pdev) in pnv_eeh_get_upstream_pe() 327 struct eeh_pe *upstream_pe; in pnv_eeh_probe() 453 static int pnv_eeh_set_option(struct eeh_pe *pe, int option) in pnv_eeh_set_option() 514 static void pnv_eeh_get_phb_diag(struct eeh_pe *pe) in pnv_eeh_get_phb_diag() 526 static int pnv_eeh_get_phb_state(struct eeh_pe *pe) in pnv_eeh_get_phb_state() 565 static int pnv_eeh_get_pe_state(struct eeh_pe *pe) in pnv_eeh_get_pe_state() 677 static int pnv_eeh_get_state(struct eeh_pe *pe, int *delay) in pnv_eeh_get_state() 1003 static int pnv_eeh_reset_vf_pe(struct eeh_pe *pe, int option) in pnv_eeh_reset_vf_pe() 1034 static int pnv_eeh_reset(struct eeh_pe *pe, int option) in pnv_eeh_reset() [all …]
|
/Linux-v5.15/drivers/vfio/ |
D | vfio_spapr_eeh.c | 34 struct eeh_pe *pe; in vfio_spapr_iommu_eeh_ioctl()
|
/Linux-v5.15/drivers/pci/hotplug/ |
D | pnv_php.c | 766 struct eeh_pe *pe; in pnv_php_interrupt()
|