Lines Matching refs:eeh_pe
59 static struct eeh_pe *eeh_pe_alloc(struct pci_controller *phb, int type) in eeh_pe_alloc()
61 struct eeh_pe *pe; in eeh_pe_alloc()
64 alloc_size = sizeof(struct eeh_pe); in eeh_pe_alloc()
81 pe->data = (void *)pe + ALIGN(sizeof(struct eeh_pe), in eeh_pe_alloc()
95 struct eeh_pe *pe; in eeh_phb_pe_create()
120 struct eeh_pe *eeh_phb_pe_get(struct pci_controller *phb) in eeh_phb_pe_get()
122 struct eeh_pe *pe; in eeh_phb_pe_get()
145 static struct eeh_pe *eeh_pe_next(struct eeh_pe *pe, in eeh_pe_next()
146 struct eeh_pe *root) in eeh_pe_next()
161 return list_entry(next, struct eeh_pe, child); in eeh_pe_next()
175 void *eeh_pe_traverse(struct eeh_pe *root, in eeh_pe_traverse()
178 struct eeh_pe *pe; in eeh_pe_traverse()
198 void *eeh_pe_dev_traverse(struct eeh_pe *root, in eeh_pe_dev_traverse()
201 struct eeh_pe *pe; in eeh_pe_dev_traverse()
235 struct eeh_pe *pe = (struct eeh_pe *)data; in __eeh_pe_get()
274 struct eeh_pe *eeh_pe_get(struct eeh_dev *edev) in eeh_pe_get()
276 struct eeh_pe *root = eeh_phb_pe_get(edev->phb); in eeh_pe_get()
277 struct eeh_pe *pe; in eeh_pe_get()
292 static struct eeh_pe *eeh_pe_get_parent(struct eeh_dev *edev) in eeh_pe_get_parent()
329 struct eeh_pe *pe, *parent; in eeh_add_to_parent_pe()
441 struct eeh_pe *pe, *parent, *child; in eeh_rmv_from_parent_pe()
509 void eeh_pe_update_time_stamp(struct eeh_pe *pe) in eeh_pe_update_time_stamp()
538 struct eeh_pe *pe = (struct eeh_pe *)data; in __eeh_pe_state_mark()
574 void eeh_pe_state_mark(struct eeh_pe *pe, int state) in eeh_pe_state_mark()
595 void eeh_pe_dev_mode_mark(struct eeh_pe *pe, int mode) in eeh_pe_dev_mode_mark()
611 struct eeh_pe *pe = (struct eeh_pe *)data; in __eeh_pe_state_clear()
655 void eeh_pe_state_clear(struct eeh_pe *pe, int state) in eeh_pe_state_clear()
671 void eeh_pe_state_mark_with_cfg(struct eeh_pe *pe, int state) in eeh_pe_state_mark_with_cfg()
865 void eeh_pe_restore_bars(struct eeh_pe *pe) in eeh_pe_restore_bars()
883 const char *eeh_pe_loc_get(struct eeh_pe *pe) in eeh_pe_loc_get()
921 struct pci_bus *eeh_pe_bus_get(struct eeh_pe *pe) in eeh_pe_bus_get()