Lines Matching refs:eeh_pe

46 static struct eeh_pe *eeh_pe_alloc(struct pci_controller *phb, int type)  in eeh_pe_alloc()
48 struct eeh_pe *pe; in eeh_pe_alloc()
51 alloc_size = sizeof(struct eeh_pe); in eeh_pe_alloc()
67 pe->data = (void *)pe + ALIGN(sizeof(struct eeh_pe), in eeh_pe_alloc()
81 struct eeh_pe *pe; in eeh_phb_pe_create()
106 int eeh_wait_state(struct eeh_pe *pe, int max_wait) in eeh_wait_state()
157 struct eeh_pe *eeh_phb_pe_get(struct pci_controller *phb) in eeh_phb_pe_get()
159 struct eeh_pe *pe; in eeh_phb_pe_get()
182 struct eeh_pe *eeh_pe_next(struct eeh_pe *pe, struct eeh_pe *root) in eeh_pe_next()
197 return list_entry(next, struct eeh_pe, child); in eeh_pe_next()
211 void *eeh_pe_traverse(struct eeh_pe *root, in eeh_pe_traverse()
214 struct eeh_pe *pe; in eeh_pe_traverse()
234 void eeh_pe_dev_traverse(struct eeh_pe *root, in eeh_pe_dev_traverse()
237 struct eeh_pe *pe; in eeh_pe_dev_traverse()
260 static void *__eeh_pe_get(struct eeh_pe *pe, void *flag) in __eeh_pe_get()
286 struct eeh_pe *eeh_pe_get(struct pci_controller *phb, int pe_no) in eeh_pe_get()
288 struct eeh_pe *root = eeh_phb_pe_get(phb); in eeh_pe_get()
306 int eeh_pe_tree_insert(struct eeh_dev *edev, struct eeh_pe *new_pe_parent) in eeh_pe_tree_insert()
309 struct eeh_pe *pe, *parent; in eeh_pe_tree_insert()
404 struct eeh_pe *pe, *parent, *child; in eeh_pe_tree_remove()
489 void eeh_pe_update_time_stamp(struct eeh_pe *pe) in eeh_pe_update_time_stamp()
515 void eeh_pe_state_mark(struct eeh_pe *root, int state) in eeh_pe_state_mark()
517 struct eeh_pe *pe; in eeh_pe_state_mark()
533 void eeh_pe_mark_isolated(struct eeh_pe *root) in eeh_pe_mark_isolated()
535 struct eeh_pe *pe; in eeh_pe_mark_isolated()
566 void eeh_pe_dev_mode_mark(struct eeh_pe *pe, int mode) in eeh_pe_dev_mode_mark()
581 void eeh_pe_state_clear(struct eeh_pe *root, int state, bool include_passed) in eeh_pe_state_clear()
583 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()