Lines Matching defs:root
177 * @root: root PE
182 struct eeh_pe *eeh_pe_next(struct eeh_pe *pe, struct eeh_pe *root)
188 if (pe == root)
202 * @root: root PE
211 void *eeh_pe_traverse(struct eeh_pe *root,
217 eeh_for_each_pe(root, pe) {
227 * @root: EEH PE
234 void eeh_pe_dev_traverse(struct eeh_pe *root,
240 if (!root) {
242 __func__, root);
246 /* Traverse root PE */
247 eeh_for_each_pe(root, pe)
288 struct eeh_pe *root = eeh_phb_pe_get(phb);
290 return eeh_pe_traverse(root, __eeh_pe_get, &pe_no);
515 void eeh_pe_state_mark(struct eeh_pe *root, int state)
519 eeh_for_each_pe(root, pe)
533 void eeh_pe_mark_isolated(struct eeh_pe *root)
539 eeh_pe_state_mark(root, EEH_PE_ISOLATED);
540 eeh_for_each_pe(root, pe) {
581 void eeh_pe_state_clear(struct eeh_pe *root, int state, bool include_passed)
587 eeh_for_each_pe(root, pe) {
638 * We only check root port and downstream ports of
806 * is root bus, we will grab location code from PHB device tree node
807 * or root port. Otherwise, the upstream bridge's device tree node