Lines Matching refs:eeh_pe
47 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()
212 void *eeh_pe_traverse(struct eeh_pe *root, in eeh_pe_traverse()
215 struct eeh_pe *pe; in eeh_pe_traverse()
235 void eeh_pe_dev_traverse(struct eeh_pe *root, in eeh_pe_dev_traverse()
238 struct eeh_pe *pe; in eeh_pe_dev_traverse()
261 static void *__eeh_pe_get(struct eeh_pe *pe, void *flag) in __eeh_pe_get()
287 struct eeh_pe *eeh_pe_get(struct pci_controller *phb, int pe_no) in eeh_pe_get()
289 struct eeh_pe *root = eeh_phb_pe_get(phb); in eeh_pe_get()
307 int eeh_pe_tree_insert(struct eeh_dev *edev, struct eeh_pe *new_pe_parent) in eeh_pe_tree_insert()
310 struct eeh_pe *pe, *parent; in eeh_pe_tree_insert()
405 struct eeh_pe *pe, *parent, *child; in eeh_pe_tree_remove()
490 void eeh_pe_update_time_stamp(struct eeh_pe *pe) in eeh_pe_update_time_stamp()
516 void eeh_pe_state_mark(struct eeh_pe *root, int state) in eeh_pe_state_mark()
518 struct eeh_pe *pe; in eeh_pe_state_mark()
534 void eeh_pe_mark_isolated(struct eeh_pe *root) in eeh_pe_mark_isolated()
536 struct eeh_pe *pe; in eeh_pe_mark_isolated()
567 void eeh_pe_dev_mode_mark(struct eeh_pe *pe, int mode) in eeh_pe_dev_mode_mark()
582 void eeh_pe_state_clear(struct eeh_pe *root, int state, bool include_passed) in eeh_pe_state_clear()
584 struct eeh_pe *pe; in eeh_pe_state_clear()
792 void eeh_pe_restore_bars(struct eeh_pe *pe) in eeh_pe_restore_bars()
810 const char *eeh_pe_loc_get(struct eeh_pe *pe) in eeh_pe_loc_get()
848 struct pci_bus *eeh_pe_bus_get(struct eeh_pe *pe) in eeh_pe_bus_get()