Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/include/asm/
Deeh.h73 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 …]
Dppc-pci.h53 void eeh_slot_error_detail(struct eeh_pe *pe, int severity);
54 int eeh_pci_enable(struct eeh_pe *pe, int function);
55 int eeh_pe_reset_full(struct eeh_pe *pe, bool include_passed);
59 void eeh_pe_state_mark(struct eeh_pe *pe, int state);
60 void eeh_pe_mark_isolated(struct eeh_pe *pe);
61 void eeh_pe_state_clear(struct eeh_pe *pe, int state, bool include_passed);
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.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-6.6.21/arch/powerpc/kernel/
Deeh_pe.c47 static struct eeh_pe *eeh_pe_alloc(struct pci_controller *phb, int type) in eeh_pe_alloc()
49 struct eeh_pe *pe; in eeh_pe_alloc()
52 alloc_size = sizeof(struct eeh_pe); in eeh_pe_alloc()
68 pe->data = (void *)pe + ALIGN(sizeof(struct eeh_pe), in eeh_pe_alloc()
82 struct eeh_pe *pe; in eeh_phb_pe_create()
107 int eeh_wait_state(struct eeh_pe *pe, int max_wait) in eeh_wait_state()
158 struct eeh_pe *eeh_phb_pe_get(struct pci_controller *phb) in eeh_phb_pe_get()
160 struct eeh_pe *pe; in eeh_phb_pe_get()
183 struct eeh_pe *eeh_pe_next(struct eeh_pe *pe, struct eeh_pe *root) in eeh_pe_next()
198 return list_entry(next, struct eeh_pe, child); in eeh_pe_next()
[all …]
Deeh_driver.c216 static void eeh_set_channel_state(struct eeh_pe *root, pci_channel_state_t s) in eeh_set_channel_state()
218 struct eeh_pe *pe; in eeh_set_channel_state()
227 static void eeh_set_irq_state(struct eeh_pe *root, bool enable) in eeh_set_irq_state()
229 struct eeh_pe *pe; in eeh_set_irq_state()
300 static void eeh_pe_report(const char *name, struct eeh_pe *root, in eeh_pe_report()
303 struct eeh_pe *pe; in eeh_pe_report()
535 static void *eeh_pe_detach_dev(struct eeh_pe *pe, void *userdata) in eeh_pe_detach_dev()
557 static int eeh_clear_pe_frozen_state(struct eeh_pe *root, bool include_passed) in eeh_clear_pe_frozen_state()
559 struct eeh_pe *pe; in eeh_clear_pe_frozen_state()
575 int eeh_pe_reset_and_recover(struct eeh_pe *pe) in eeh_pe_reset_and_recover()
[all …]
Deeh.c269 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()
430 struct eeh_pe *pe, *parent_pe; in eeh_dev_check_failure()
606 int eeh_pci_enable(struct eeh_pe *pe, int function) in eeh_pci_enable()
729 struct eeh_pe *pe = eeh_dev_to_pe(edev); in pcibios_set_pcie_reset_state()
792 static void eeh_pe_refreeze_passed(struct eeh_pe *root) in eeh_pe_refreeze_passed()
794 struct eeh_pe *pe; in eeh_pe_refreeze_passed()
823 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()
DMakefile105 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_cache.o \
/linux-6.6.21/arch/powerpc/platforms/pseries/
Deeh_pseries.c76 struct eeh_pe *physfn_pe = pci_dev_to_eeh_dev(pdev->physfn)->pe; in pseries_pcibios_bus_add_device()
325 static struct eeh_pe *pseries_eeh_pe_get_parent(struct eeh_dev *edev) in pseries_eeh_pe_get_parent()
366 struct eeh_pe pe, *parent; in pseries_eeh_init_edev()
433 memset(&pe, 0, sizeof(struct eeh_pe)); in pseries_eeh_init_edev()
510 static int pseries_eeh_set_option(struct eeh_pe *pe, int option) in pseries_eeh_set_option()
554 static int pseries_eeh_get_state(struct eeh_pe *pe, int *delay) in pseries_eeh_get_state()
620 static int pseries_eeh_reset(struct eeh_pe *pe, int option) in pseries_eeh_reset()
636 static int pseries_eeh_get_log(struct eeh_pe *pe, int severity, char *drv_log, unsigned long len) in pseries_eeh_get_log()
661 static int pseries_eeh_configure_bridge(struct eeh_pe *pe) in pseries_eeh_configure_bridge()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Deeh-powernv.c70 struct eeh_pe *pe; in pnv_eeh_ei_write()
294 static struct eeh_pe *pnv_eeh_get_upstream_pe(struct pci_dev *pdev) in pnv_eeh_get_upstream_pe()
328 struct eeh_pe *upstream_pe; in pnv_eeh_probe()
454 static int pnv_eeh_set_option(struct eeh_pe *pe, int option) in pnv_eeh_set_option()
515 static void pnv_eeh_get_phb_diag(struct eeh_pe *pe) in pnv_eeh_get_phb_diag()
527 static int pnv_eeh_get_phb_state(struct eeh_pe *pe) in pnv_eeh_get_phb_state()
566 static int pnv_eeh_get_pe_state(struct eeh_pe *pe) in pnv_eeh_get_pe_state()
678 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-6.6.21/drivers/pci/hotplug/
Drpaphp_pci.c77 struct eeh_pe *pe; in __rpaphp_get_sensor_state()
Dpnv_php.c767 struct eeh_pe *pe; in pnv_php_interrupt()
/linux-6.6.21/drivers/vfio/
Dvfio_iommu_spapr_tce.c780 struct eeh_pe *pe; in vfio_spapr_ioctl_eeh_pe_op()