Home
last modified time | relevance | path

Searched refs:eeh_pe (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/arch/powerpc/include/asm/
Deeh.h74 struct eeh_pe { struct
86 struct eeh_pe *parent; /* Parent PE */ argument
112 static inline bool eeh_pe_passed(struct eeh_pe *pe) in eeh_pe_passed() argument
145 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()
219 int (*set_option)(struct eeh_pe *pe, int option);
220 int (*get_pe_addr)(struct eeh_pe *pe);
221 int (*get_state)(struct eeh_pe *pe, int *delay);
222 int (*reset)(struct eeh_pe *pe, int option);
223 int (*get_log)(struct eeh_pe *pe, int severity, char *drv_log, unsigned long len);
[all …]
Dppc-pci.h50 void eeh_slot_error_detail(struct eeh_pe *pe, int severity);
51 int eeh_pci_enable(struct eeh_pe *pe, int function);
52 int eeh_pe_reset_full(struct eeh_pe *pe, bool include_passed);
56 void eeh_pe_state_mark(struct eeh_pe *pe, int state);
57 void eeh_pe_mark_isolated(struct eeh_pe *pe);
58 void eeh_pe_state_clear(struct eeh_pe *pe, int state, bool include_passed);
59 void eeh_pe_state_mark_with_cfg(struct eeh_pe *pe, int state);
60 void eeh_pe_dev_mode_mark(struct eeh_pe *pe, int mode);
Deeh_event.h19 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.4/arch/powerpc/kernel/
Deeh_pe.c46 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 …]
Deeh_driver.c233 static void eeh_set_channel_state(struct eeh_pe *root, enum pci_channel_state s) in eeh_set_channel_state()
235 struct eeh_pe *pe; in eeh_set_channel_state()
244 static void eeh_set_irq_state(struct eeh_pe *root, bool enable) in eeh_set_irq_state()
246 struct eeh_pe *pe; in eeh_set_irq_state()
317 static void eeh_pe_report(const char *name, struct eeh_pe *root, in eeh_pe_report()
320 struct eeh_pe *pe; in eeh_pe_report()
560 static void *eeh_pe_detach_dev(struct eeh_pe *pe, void *userdata) in eeh_pe_detach_dev()
582 static int eeh_clear_pe_frozen_state(struct eeh_pe *root, bool include_passed) in eeh_clear_pe_frozen_state()
584 struct eeh_pe *pe; in eeh_clear_pe_frozen_state()
600 int eeh_pe_reset_and_recover(struct eeh_pe *pe) in eeh_pe_reset_and_recover()
[all …]
Deeh.c275 static void *eeh_dump_pe_log(struct eeh_pe *pe, void *flag) in eeh_dump_pe_log()
297 void eeh_slot_error_detail(struct eeh_pe *pe, int severity) in eeh_slot_error_detail()
387 static int eeh_phb_check_failure(struct eeh_pe *pe) in eeh_phb_check_failure()
389 struct eeh_pe *phb_pe; in eeh_phb_check_failure()
452 struct eeh_pe *pe, *parent_pe; in eeh_dev_check_failure()
632 int eeh_pci_enable(struct eeh_pe *pe, int function) in eeh_pci_enable()
815 struct eeh_pe *pe = eeh_dev_to_pe(edev); in pcibios_set_pcie_reset_state()
878 static void eeh_pe_refreeze_passed(struct eeh_pe *root) in eeh_pe_refreeze_passed()
880 struct eeh_pe *pe; in eeh_pe_refreeze_passed()
908 int eeh_pe_reset_full(struct eeh_pe *pe, bool include_passed) in eeh_pe_reset_full()
[all …]
Deeh_event.c102 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()
DMakefile77 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \
/Linux-v5.4/arch/powerpc/platforms/pseries/
Deeh_pseries.c236 struct eeh_pe pe; in pseries_eeh_probe()
280 memset(&pe, 0, sizeof(struct eeh_pe)); in pseries_eeh_probe()
332 static int pseries_eeh_set_option(struct eeh_pe *pe, int option) in pseries_eeh_set_option()
381 static int pseries_eeh_get_pe_addr(struct eeh_pe *pe) in pseries_eeh_get_pe_addr()
440 static int pseries_eeh_get_state(struct eeh_pe *pe, int *delay) in pseries_eeh_get_state()
512 static int pseries_eeh_reset(struct eeh_pe *pe, int option) in pseries_eeh_reset()
557 static int pseries_eeh_get_log(struct eeh_pe *pe, int severity, char *drv_log, unsigned long len) in pseries_eeh_get_log()
591 static int pseries_eeh_configure_bridge(struct eeh_pe *pe) in pseries_eeh_configure_bridge()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Deeh-powernv.c124 struct eeh_pe *pe; in pnv_eeh_ei_write()
486 static int pnv_eeh_set_option(struct eeh_pe *pe, int option) in pnv_eeh_set_option()
554 static int pnv_eeh_get_pe_addr(struct eeh_pe *pe) in pnv_eeh_get_pe_addr()
559 static void pnv_eeh_get_phb_diag(struct eeh_pe *pe) in pnv_eeh_get_phb_diag()
571 static int pnv_eeh_get_phb_state(struct eeh_pe *pe) in pnv_eeh_get_phb_state()
610 static int pnv_eeh_get_pe_state(struct eeh_pe *pe) in pnv_eeh_get_pe_state()
722 static int pnv_eeh_get_state(struct eeh_pe *pe, int *delay) in pnv_eeh_get_state()
1047 static int pnv_eeh_reset_vf_pe(struct eeh_pe *pe, int option) in pnv_eeh_reset_vf_pe()
1078 static int pnv_eeh_reset(struct eeh_pe *pe, int option) in pnv_eeh_reset()
1176 static int pnv_eeh_get_log(struct eeh_pe *pe, int severity, in pnv_eeh_get_log()
[all …]
Dpci-ioda.c3583 struct eeh_pe *eehpe = edev ? edev->pe : NULL; in pnv_npu_disable_device()
/Linux-v5.4/drivers/vfio/
Dvfio_spapr_eeh.c34 struct eeh_pe *pe; in vfio_spapr_iommu_eeh_ioctl()
/Linux-v5.4/drivers/pci/hotplug/
Dpnv_php.c757 struct eeh_pe *pe; in pnv_php_interrupt()