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

/linux-master/arch/powerpc/include/asm/
H A 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);
H A Deeh.h73 struct eeh_pe { struct
84 struct eeh_pe *parent; /* Parent PE */
110 static inline bool eeh_pe_passed(struct eeh_pe *pe)
142 struct eeh_pe *pe; /* Associated PE */
143 struct list_head entry; /* Membership in eeh_pe.edevs */
175 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev)
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 *p
[all...]
H A 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_pe_reset_full(struct eeh_pe *pe, bool include_passed);
60 void eeh_pe_state_mark(struct eeh_pe *pe, int state);
61 void eeh_pe_mark_isolated(struct eeh_pe *pe);
62 void eeh_pe_state_clear(struct eeh_pe *pe, int state, bool include_passed);
63 void eeh_pe_state_mark_with_cfg(struct eeh_pe *pe, int state);
64 void eeh_pe_dev_mode_mark(struct eeh_pe *pe, int mode);
/linux-master/arch/powerpc/kernel/
H A Deeh_pe.c47 static struct eeh_pe *eeh_pe_alloc(struct pci_controller *phb, int type)
49 struct eeh_pe *pe;
52 alloc_size = sizeof(struct eeh_pe);
68 pe->data = (void *)pe + ALIGN(sizeof(struct eeh_pe),
82 struct eeh_pe *pe;
107 int eeh_wait_state(struct eeh_pe *pe, int max_wait)
158 struct eeh_pe *eeh_phb_pe_get(struct pci_controller *phb)
160 struct eeh_pe *pe;
183 struct eeh_pe *eeh_pe_next(struct eeh_pe *p
[all...]
H A Deeh_event.c102 int __eeh_send_failure_event(struct eeh_pe *pe)
143 int eeh_send_failure_event(struct eeh_pe *pe)
167 void eeh_remove_event(struct eeh_pe *pe, bool force)
H A Deeh_driver.c216 static void eeh_set_channel_state(struct eeh_pe *root, pci_channel_state_t s)
218 struct eeh_pe *pe;
227 static void eeh_set_irq_state(struct eeh_pe *root, bool enable)
229 struct eeh_pe *pe;
300 static void eeh_pe_report(const char *name, struct eeh_pe *root,
303 struct eeh_pe *pe;
535 static void *eeh_pe_detach_dev(struct eeh_pe *pe, void *userdata)
557 static int eeh_clear_pe_frozen_state(struct eeh_pe *root, bool include_passed)
559 struct eeh_pe *pe;
575 int eeh_pe_reset_and_recover(struct eeh_pe *p
[all...]
H A Deeh.c269 static void *eeh_dump_pe_log(struct eeh_pe *pe, void *flag)
291 void eeh_slot_error_detail(struct eeh_pe *pe, int severity)
357 static int eeh_phb_check_failure(struct eeh_pe *pe)
359 struct eeh_pe *phb_pe;
430 struct eeh_pe *pe, *parent_pe;
606 int eeh_pci_enable(struct eeh_pe *pe, int function)
729 struct eeh_pe *pe = eeh_dev_to_pe(edev);
792 static void eeh_pe_refreeze_passed(struct eeh_pe *root)
794 struct eeh_pe *pe;
823 int eeh_pe_reset_full(struct eeh_pe *p
[all...]
H A DMakefile104 obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_cache.o \
/linux-master/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c76 struct eeh_pe *physfn_pe = pci_dev_to_eeh_dev(pdev->physfn)->pe;
325 static struct eeh_pe *pseries_eeh_pe_get_parent(struct eeh_dev *edev)
355 * pseries_eeh_init_edev - initialise the eeh_dev and eeh_pe for a pci_dn
362 * into the correct eeh_pe. If no eeh_pe exists we'll allocate one.
366 struct eeh_pe pe, *parent;
433 memset(&pe, 0, sizeof(struct eeh_pe));
510 static int pseries_eeh_set_option(struct eeh_pe *pe, int option)
554 static int pseries_eeh_get_state(struct eeh_pe *pe, int *delay)
620 static int pseries_eeh_reset(struct eeh_pe *p
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c70 struct eeh_pe *pe;
294 static struct eeh_pe *pnv_eeh_get_upstream_pe(struct pci_dev *pdev)
328 struct eeh_pe *upstream_pe;
454 static int pnv_eeh_set_option(struct eeh_pe *pe, int option)
515 static void pnv_eeh_get_phb_diag(struct eeh_pe *pe)
527 static int pnv_eeh_get_phb_state(struct eeh_pe *pe)
566 static int pnv_eeh_get_pe_state(struct eeh_pe *pe)
678 static int pnv_eeh_get_state(struct eeh_pe *pe, int *delay)
1003 static int pnv_eeh_reset_vf_pe(struct eeh_pe *pe, int option)
1034 static int pnv_eeh_reset(struct eeh_pe *p
[all...]
/linux-master/drivers/pci/hotplug/
H A Drpaphp_pci.c77 struct eeh_pe *pe;
H A Dpnv_php.c768 struct eeh_pe *pe;
/linux-master/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c780 struct eeh_pe *pe;

Completed in 142 milliseconds