Lines Matching refs:eeh_pe
73 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);
223 int (*err_inject)(struct eeh_pe *pe, int type, int func,
227 int (*next_error)(struct eeh_pe **pe);
275 typedef void *(*eeh_pe_traverse_func)(struct eeh_pe *pe, void *flag);
278 int eeh_wait_state(struct eeh_pe *pe, int max_wait);
279 struct eeh_pe *eeh_phb_pe_get(struct pci_controller *phb);
280 struct eeh_pe *eeh_pe_next(struct eeh_pe *pe, struct eeh_pe *root);
281 struct eeh_pe *eeh_pe_get(struct pci_controller *phb, int pe_no);
282 int eeh_pe_tree_insert(struct eeh_dev *edev, struct eeh_pe *new_pe_parent);
284 void eeh_pe_update_time_stamp(struct eeh_pe *pe);
285 void *eeh_pe_traverse(struct eeh_pe *root,
287 void eeh_pe_dev_traverse(struct eeh_pe *root,
289 void eeh_pe_restore_bars(struct eeh_pe *pe);
290 const char *eeh_pe_loc_get(struct eeh_pe *pe);
291 struct pci_bus *eeh_pe_bus_get(struct eeh_pe *pe);
300 int eeh_unfreeze_pe(struct eeh_pe *pe);
301 int eeh_pe_reset_and_recover(struct eeh_pe *pe);
304 struct eeh_pe *eeh_iommu_group_to_pe(struct iommu_group *group);
305 int eeh_pe_set_option(struct eeh_pe *pe, int option);
306 int eeh_pe_get_state(struct eeh_pe *pe);
307 int eeh_pe_reset(struct eeh_pe *pe, int option, bool include_passed);
308 int eeh_pe_configure(struct eeh_pe *pe);
309 int eeh_pe_inject_err(struct eeh_pe *pe, int type, int func,