Searched refs:visitor_context (Results 1 – 4 of 4) sorted by relevance
182 struct pm_visitor_context *visitor_context = context; in pm_device_children_visitor() local185 rc = pm_device_action_run(dev, visitor_context->action); in pm_device_children_visitor()186 if ((visitor_context->failure_cb != NULL) && (rc < 0)) { in pm_device_children_visitor()188 if (!visitor_context->failure_cb(dev, rc)) { in pm_device_children_visitor()199 struct pm_visitor_context visitor_context = { in pm_device_children_action_run() local204 (void)device_supported_foreach(dev, pm_device_children_visitor, &visitor_context); in pm_device_children_action_run()
37 struct pd_visitor_context *visitor_context = context; in pd_on_domain_visitor() local40 if (!dev->pm || (dev->pm_base->domain != visitor_context->domain)) { in pd_on_domain_visitor()44 (void)pm_device_action_run(dev, visitor_context->action); in pd_on_domain_visitor()
35 struct pd_visitor_context *visitor_context = context; in pd_on_domain_visitor() local38 if (!dev->pm || (dev->pm_base->domain != visitor_context->domain)) { in pd_on_domain_visitor()43 (void)pm_device_action_run(dev, visitor_context->action); in pd_on_domain_visitor()
131 struct visitor_context { struct139 struct visitor_context *ctx = context; in device_visitor() argument159 struct visitor_context ctx = { 0 }; in ZTEST()194 ctx = (struct visitor_context){ in ZTEST()201 ctx = (struct visitor_context){ in ZTEST()219 ctx = (struct visitor_context){ in ZTEST()281 struct visitor_context ctx = { 0 }; in ZTEST()301 ctx = (struct visitor_context){ in ZTEST()307 ctx = (struct visitor_context){ in ZTEST()