Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/include/asm/
Deeh.h88 struct eeh_pe { struct
100 struct eeh_pe *parent; /* Parent PE */ argument
113 static inline bool eeh_pe_passed(struct eeh_pe *pe) in eeh_pe_passed() argument
144 struct eeh_pe *pe; /* Associated PE */
164 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev) in eeh_dev_to_pe()
208 int (*set_option)(struct eeh_pe *pe, int option);
209 int (*get_pe_addr)(struct eeh_pe *pe);
210 int (*get_state)(struct eeh_pe *pe, int *state);
211 int (*reset)(struct eeh_pe *pe, int option);
212 int (*wait_state)(struct eeh_pe *pe, int max_wait);
[all …]
Dppc-pci.h54 void eeh_slot_error_detail(struct eeh_pe *pe, int severity);
55 int eeh_pci_enable(struct eeh_pe *pe, int function);
56 int eeh_pe_reset_full(struct eeh_pe *pe);
60 void eeh_pe_state_mark(struct eeh_pe *pe, int state);
61 void eeh_pe_state_clear(struct eeh_pe *pe, int state);
62 void eeh_pe_state_mark_with_cfg(struct eeh_pe *pe, int state);
63 void eeh_pe_dev_mode_mark(struct eeh_pe *pe, int mode);
Deeh_event.h31 struct eeh_pe *pe; /* EEH PE */
35 int eeh_send_failure_event(struct eeh_pe *pe);
36 void eeh_remove_event(struct eeh_pe *pe, bool force);
37 void eeh_handle_normal_event(struct eeh_pe *pe);
/Linux-v4.19/arch/powerpc/kernel/
Deeh_pe.c59 static struct eeh_pe *eeh_pe_alloc(struct pci_controller *phb, int type) in eeh_pe_alloc()
61 struct eeh_pe *pe; in eeh_pe_alloc()
64 alloc_size = sizeof(struct eeh_pe); in eeh_pe_alloc()
81 pe->data = (void *)pe + ALIGN(sizeof(struct eeh_pe), in eeh_pe_alloc()
95 struct eeh_pe *pe; in eeh_phb_pe_create()
120 struct eeh_pe *eeh_phb_pe_get(struct pci_controller *phb) in eeh_phb_pe_get()
122 struct eeh_pe *pe; in eeh_phb_pe_get()
145 struct eeh_pe *eeh_pe_next(struct eeh_pe *pe, struct eeh_pe *root) in eeh_pe_next()
160 return list_entry(next, struct eeh_pe, child); in eeh_pe_next()
174 void *eeh_pe_traverse(struct eeh_pe *root, in eeh_pe_traverse()
[all …]
Deeh_driver.c242 static void eeh_set_channel_state(struct eeh_pe *root, enum pci_channel_state s) in eeh_set_channel_state()
244 struct eeh_pe *pe; in eeh_set_channel_state()
253 static void eeh_set_irq_state(struct eeh_pe *root, bool enable) in eeh_set_irq_state()
255 struct eeh_pe *pe; in eeh_set_irq_state()
312 static void eeh_pe_report(const char *name, struct eeh_pe *root, in eeh_pe_report()
315 struct eeh_pe *pe; in eeh_pe_report()
571 static void *eeh_pe_detach_dev(struct eeh_pe *pe, void *userdata) in eeh_pe_detach_dev()
593 static void *__eeh_clear_pe_frozen_state(struct eeh_pe *pe, void *flag) in __eeh_clear_pe_frozen_state()
611 static int eeh_clear_pe_frozen_state(struct eeh_pe *pe, in eeh_clear_pe_frozen_state()
623 int eeh_pe_reset_and_recover(struct eeh_pe *pe) in eeh_pe_reset_and_recover()
[all …]
Deeh.c266 static void *eeh_dump_pe_log(struct eeh_pe *pe, void *flag) in eeh_dump_pe_log()
288 void eeh_slot_error_detail(struct eeh_pe *pe, int severity) in eeh_slot_error_detail()
369 static int eeh_phb_check_failure(struct eeh_pe *pe) in eeh_phb_check_failure()
371 struct eeh_pe *phb_pe; in eeh_phb_check_failure()
436 struct eeh_pe *pe, *parent_pe, *phb_pe; in eeh_dev_check_failure()
623 int eeh_pci_enable(struct eeh_pe *pe, int function) in eeh_pci_enable()
810 struct eeh_pe *pe = eeh_dev_to_pe(edev); in pcibios_set_pcie_reset_state()
885 int eeh_pe_reset_full(struct eeh_pe *pe) in eeh_pe_reset_full()
1312 int eeh_unfreeze_pe(struct eeh_pe *pe, bool sw_state) in eeh_unfreeze_pe()
1345 static int eeh_pe_change_owner(struct eeh_pe *pe) in eeh_pe_change_owner()
[all …]
Deeh_event.c55 struct eeh_pe *pe; in eeh_event_handler()
127 int eeh_send_failure_event(struct eeh_pe *pe) in eeh_send_failure_event()
160 void eeh_remove_event(struct eeh_pe *pe, bool force) in eeh_remove_event()
DMakefile61 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \
/Linux-v4.19/arch/powerpc/platforms/pseries/
Deeh_pseries.c249 struct eeh_pe pe; in pseries_eeh_probe()
291 memset(&pe, 0, sizeof(struct eeh_pe)); in pseries_eeh_probe()
343 static int pseries_eeh_set_option(struct eeh_pe *pe, int option) in pseries_eeh_set_option()
392 static int pseries_eeh_get_pe_addr(struct eeh_pe *pe) in pseries_eeh_get_pe_addr()
451 static int pseries_eeh_get_state(struct eeh_pe *pe, int *state) in pseries_eeh_get_state()
522 static int pseries_eeh_reset(struct eeh_pe *pe, int option) in pseries_eeh_reset()
564 static int pseries_eeh_wait_state(struct eeh_pe *pe, int max_wait) in pseries_eeh_wait_state()
625 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-v4.19/arch/powerpc/platforms/powernv/
Deeh-powernv.c132 struct eeh_pe *pe; in pnv_eeh_ei_write()
493 static int pnv_eeh_set_option(struct eeh_pe *pe, int option) in pnv_eeh_set_option()
561 static int pnv_eeh_get_pe_addr(struct eeh_pe *pe) in pnv_eeh_get_pe_addr()
566 static void pnv_eeh_get_phb_diag(struct eeh_pe *pe) in pnv_eeh_get_phb_diag()
578 static int pnv_eeh_get_phb_state(struct eeh_pe *pe) in pnv_eeh_get_phb_state()
617 static int pnv_eeh_get_pe_state(struct eeh_pe *pe) in pnv_eeh_get_pe_state()
729 static int pnv_eeh_get_state(struct eeh_pe *pe, int *delay) in pnv_eeh_get_state()
1050 static int pnv_eeh_reset_vf_pe(struct eeh_pe *pe, int option) in pnv_eeh_reset_vf_pe()
1081 static int pnv_eeh_reset(struct eeh_pe *pe, int option) in pnv_eeh_reset()
1158 static int pnv_eeh_wait_state(struct eeh_pe *pe, int max_wait) in pnv_eeh_wait_state()
[all …]
/Linux-v4.19/drivers/vfio/
Dvfio_spapr_eeh.c37 struct eeh_pe *pe; in vfio_spapr_iommu_eeh_ioctl()
/Linux-v4.19/drivers/pci/hotplug/
Dpnv_php.c703 struct eeh_pe *pe; in pnv_php_interrupt()