Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/include/asm/
Deeh.h86 struct eeh_pe { struct
98 struct eeh_pe *parent; /* Parent PE */ argument
108 static inline bool eeh_pe_passed(struct eeh_pe *pe) in eeh_pe_passed() argument
139 struct eeh_pe *pe; /* Associated PE */
157 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev) in eeh_dev_to_pe()
202 int (*set_option)(struct eeh_pe *pe, int option);
203 int (*get_pe_addr)(struct eeh_pe *pe);
204 int (*get_state)(struct eeh_pe *pe, int *state);
205 int (*reset)(struct eeh_pe *pe, int option);
206 int (*wait_state)(struct eeh_pe *pe, int max_wait);
[all …]
Dppc-pci.h56 void eeh_slot_error_detail(struct eeh_pe *pe, int severity);
57 int eeh_pci_enable(struct eeh_pe *pe, int function);
58 int eeh_reset_pe(struct eeh_pe *);
62 void eeh_pe_state_mark(struct eeh_pe *pe, int state);
63 void eeh_pe_state_clear(struct eeh_pe *pe, int state);
64 void eeh_pe_state_mark_with_cfg(struct eeh_pe *pe, int state);
65 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_event(struct eeh_pe *pe);
/linux-4.4.14/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 static struct eeh_pe *eeh_pe_next(struct eeh_pe *pe, in eeh_pe_next()
146 struct eeh_pe *root) in eeh_pe_next()
161 return list_entry(next, struct eeh_pe, child); in eeh_pe_next()
[all …]
Deeh.c267 struct eeh_pe *pe = data; in eeh_dump_pe_log()
295 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()
439 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()
752 struct eeh_pe *pe = eeh_dev_to_pe(edev); in pcibios_set_pcie_reset_state()
819 static void eeh_reset_pe_once(struct eeh_pe *pe) in eeh_reset_pe_once()
847 int eeh_reset_pe(struct eeh_pe *pe) in eeh_reset_pe()
1265 int eeh_unfreeze_pe(struct eeh_pe *pe, bool sw_state) in eeh_unfreeze_pe()
[all …]
Deeh_driver.c464 struct eeh_pe *pe = (struct eeh_pe *)data; in eeh_pe_detach_dev()
487 struct eeh_pe *pe = (struct eeh_pe *)data; in __eeh_clear_pe_frozen_state()
504 static int eeh_clear_pe_frozen_state(struct eeh_pe *pe, in eeh_clear_pe_frozen_state()
516 int eeh_pe_reset_and_recover(struct eeh_pe *pe) in eeh_pe_reset_and_recover()
568 static int eeh_reset_device(struct eeh_pe *pe, struct pci_bus *bus) in eeh_reset_device()
656 static void eeh_handle_normal_event(struct eeh_pe *pe) in eeh_handle_normal_event()
837 struct eeh_pe *pe, *phb_pe; in eeh_handle_special_event()
945 void eeh_handle_event(struct eeh_pe *pe) in eeh_handle_event()
Deeh_event.c55 struct eeh_pe *pe; in eeh_event_handler()
129 int eeh_send_failure_event(struct eeh_pe *pe) in eeh_send_failure_event()
162 void eeh_remove_event(struct eeh_pe *pe, bool force) in eeh_remove_event()
DMakefile60 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \
/linux-4.4.14/arch/powerpc/platforms/pseries/
Deeh_pseries.c202 struct eeh_pe pe; in pseries_eeh_probe()
244 memset(&pe, 0, sizeof(struct eeh_pe)); in pseries_eeh_probe()
298 static int pseries_eeh_set_option(struct eeh_pe *pe, int option) in pseries_eeh_set_option()
347 static int pseries_eeh_get_pe_addr(struct eeh_pe *pe) in pseries_eeh_get_pe_addr()
406 static int pseries_eeh_get_state(struct eeh_pe *pe, int *state) in pseries_eeh_get_state()
477 static int pseries_eeh_reset(struct eeh_pe *pe, int option) in pseries_eeh_reset()
519 static int pseries_eeh_wait_state(struct eeh_pe *pe, int max_wait) in pseries_eeh_wait_state()
580 static int pseries_eeh_get_log(struct eeh_pe *pe, int severity, char *drv_log, unsigned long len) in pseries_eeh_get_log()
614 static int pseries_eeh_configure_bridge(struct eeh_pe *pe) in pseries_eeh_configure_bridge()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Deeh-powernv.c110 struct eeh_pe *pe; in pnv_eeh_ei_write()
475 static int pnv_eeh_set_option(struct eeh_pe *pe, int option) in pnv_eeh_set_option()
543 static int pnv_eeh_get_pe_addr(struct eeh_pe *pe) in pnv_eeh_get_pe_addr()
548 static void pnv_eeh_get_phb_diag(struct eeh_pe *pe) in pnv_eeh_get_phb_diag()
560 static int pnv_eeh_get_phb_state(struct eeh_pe *pe) in pnv_eeh_get_phb_state()
599 static int pnv_eeh_get_pe_state(struct eeh_pe *pe) in pnv_eeh_get_pe_state()
711 static int pnv_eeh_get_state(struct eeh_pe *pe, int *delay) in pnv_eeh_get_state()
910 static int pnv_eeh_reset(struct eeh_pe *pe, int option) in pnv_eeh_reset()
977 static int pnv_eeh_wait_state(struct eeh_pe *pe, int max_wait) in pnv_eeh_wait_state()
1015 static int pnv_eeh_get_log(struct eeh_pe *pe, int severity, in pnv_eeh_get_log()
[all …]
/linux-4.4.14/drivers/vfio/
Dvfio_spapr_eeh.c37 struct eeh_pe *pe; in vfio_spapr_iommu_eeh_ioctl()