Home
last modified time | relevance | path

Searched refs:pm_base (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/pm/
Ddevice.c45 struct pm_device_base *pm = dev->pm_base; in pm_device_action_run()
138 dev->pm_base->domain = NULL; in power_domain_add_or_remove()
144 dev->pm_base->domain = domain; in power_domain_add_or_remove()
211 struct pm_device_base *pm = dev->pm_base; in pm_device_state_get()
230 struct pm_device_base *pm = dev->pm_base; in pm_device_is_any_busy()
246 struct pm_device_base *pm = dev->pm_base; in pm_device_is_busy()
257 struct pm_device_base *pm = dev->pm_base; in pm_device_busy_set()
268 struct pm_device_base *pm = dev->pm_base; in pm_device_busy_clear()
280 struct pm_device_base *pm = dev->pm_base; in pm_device_wakeup_enable()
304 struct pm_device_base *pm = dev->pm_base; in pm_device_wakeup_is_enabled()
[all …]
Ddevice_runtime.c142 if (domain->pm_base->flags & BIT(PM_DEVICE_FLAG_ISR_SAFE)) { in get_sync_locked()
184 if (atomic_test_bit(&dev->pm_base->flags, PM_DEVICE_FLAG_ISR_SAFE)) { in pm_device_runtime_get()
303 if (domain->pm_base->flags & BIT(PM_DEVICE_FLAG_ISR_SAFE)) { in put_sync_locked()
320 if (dev->pm_base == NULL) { in pm_device_runtime_put()
326 if (atomic_test_bit(&dev->pm_base->flags, PM_DEVICE_FLAG_ISR_SAFE)) { in pm_device_runtime_put()
340 atomic_test_bit(&dev->pm_base->flags, PM_DEVICE_FLAG_PD_CLAIMED)) { in pm_device_runtime_put()
341 ret = pm_device_runtime_put(PM_DOMAIN(dev->pm_base)); in pm_device_runtime_put()
353 if (dev->pm_base == NULL) { in pm_device_runtime_put_async()
358 if (atomic_test_bit(&dev->pm_base->flags, PM_DEVICE_FLAG_ISR_SAFE)) { in pm_device_runtime_put_async()
376 struct pm_device_base *pm = dev->pm_base; in pm_device_runtime_auto_enable()
[all …]
/Zephyr-latest/include/zephyr/pm/
Ddevice.h470 struct pm_device_base *pm = dev->pm_base; in pm_device_init_suspended()
490 struct pm_device_base *pm = dev->pm_base; in pm_device_init_off()
/Zephyr-latest/drivers/power_domain/
Dpower_domain_gpio.c40 if (!dev->pm || (dev->pm_base->domain != visitor_context->domain)) { in pd_on_domain_visitor()
Dpower_domain_gpio_monitor.c38 if (!dev->pm || (dev->pm_base->domain != visitor_context->domain)) { in pd_on_domain_visitor()
/Zephyr-latest/include/zephyr/
Ddevice.h439 struct pm_device_base *pm_base; member
1047 # define Z_DEVICE_INIT_PM_BASE(pm_) ({ .pm_base = (pm_),},)
1049 # define Z_DEVICE_INIT_PM_BASE(pm_) (.pm_base = (pm_),)
/Zephyr-latest/drivers/serial/
Duart_nrfx_uarte.c296 ((dev->pm_base->flags & BIT(PM_DEVICE_FLAG_ISR_SAFE))), \