Home
last modified time | relevance | path

Searched refs:visitor_context (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/pm/
Ddevice.c182 struct pm_visitor_context *visitor_context = context; in pm_device_children_visitor() local
185 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() local
204 (void)device_supported_foreach(dev, pm_device_children_visitor, &visitor_context); in pm_device_children_action_run()
/Zephyr-latest/drivers/power_domain/
Dpower_domain_gpio.c37 struct pd_visitor_context *visitor_context = context; in pd_on_domain_visitor() local
40 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()
Dpower_domain_gpio_monitor.c35 struct pd_visitor_context *visitor_context = context; in pd_on_domain_visitor() local
38 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()
/Zephyr-latest/tests/lib/devicetree/devices/src/
Dmain.c131 struct visitor_context { struct
139 struct visitor_context *ctx = context; in device_visitor() argument
159 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()