Lines Matching refs:pe
105 #define eeh_pe_for_each_dev(pe, edev, tmp) \ argument
106 list_for_each_entry_safe(edev, tmp, &pe->edevs, list)
108 static inline bool eeh_pe_passed(struct eeh_pe *pe) in eeh_pe_passed() argument
110 return pe ? !!atomic_read(&pe->pass_dev_cnt) : false; in eeh_pe_passed()
139 struct eeh_pe *pe; /* Associated PE */ member
159 return edev ? edev->pe : NULL; 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);
207 int (*get_log)(struct eeh_pe *pe, int severity, char *drv_log, unsigned long len);
208 int (*configure_bridge)(struct eeh_pe *pe);
209 int (*err_inject)(struct eeh_pe *pe, int type, int func,
213 int (*next_error)(struct eeh_pe **pe);
263 void eeh_pe_update_time_stamp(struct eeh_pe *pe);
268 void eeh_pe_restore_bars(struct eeh_pe *pe);
269 const char *eeh_pe_loc_get(struct eeh_pe *pe);
270 struct pci_bus *eeh_pe_bus_get(struct eeh_pe *pe);
286 int eeh_unfreeze_pe(struct eeh_pe *pe, bool sw_state);
287 int eeh_pe_reset_and_recover(struct eeh_pe *pe);
291 int eeh_pe_set_option(struct eeh_pe *pe, int option);
292 int eeh_pe_get_state(struct eeh_pe *pe);
293 int eeh_pe_reset(struct eeh_pe *pe, int option);
294 int eeh_pe_configure(struct eeh_pe *pe);
295 int eeh_pe_inject_err(struct eeh_pe *pe, int type, int func,