Home
last modified time | relevance | path

Searched refs:pm_device_runtime_get (Results 1 – 25 of 58) sorted by relevance

123

/Zephyr-latest/tests/subsys/pm/device_runtime_api/src/
Dmain.c31 ret = pm_device_runtime_get(test_dev); in get_runner()
41 ret = pm_device_runtime_get(test_dev); in test_api_setup()
102 ret = pm_device_runtime_get(test_dev); in ZTEST()
109 ret = pm_device_runtime_get(test_dev); in ZTEST()
136 ret = pm_device_runtime_get(test_dev); in ZTEST()
178 ret = pm_device_runtime_get(test_dev); in ZTEST()
227 ret = pm_device_runtime_get(test_dev); in ZTEST()
274 zassert_equal(pm_device_runtime_get(dev), 0, ""); in ZTEST()
296 zassert_equal(pm_device_runtime_get(dev), 0, ""); in ZTEST()
/Zephyr-latest/tests/subsys/pm/device_power_domains/src/
Dmain.c64 pm_device_runtime_get(reg_0); in ZTEST()
72 pm_device_runtime_get(reg_1); in ZTEST()
85 pm_device_runtime_get(reg_chained); in ZTEST()
96 pm_device_runtime_get(dev); in ZTEST()
115 pm_device_runtime_get(dev); in ZTEST()
116 pm_device_runtime_get(dev); in ZTEST()
/Zephyr-latest/tests/subsys/pm/power_domain/src/
Dmain.c155 ret = pm_device_runtime_get(deva); in ZTEST()
164 ret = pm_device_runtime_get(devc); in ZTEST()
167 ret = pm_device_runtime_get(devb); in ZTEST()
210 ret = pm_device_runtime_get(domain); in ZTEST()
259 ret = pm_device_runtime_get(dev); in ZTEST()
268 ret = pm_device_runtime_get(balanced_domain); in ZTEST()
273 ret = pm_device_runtime_get(dev); in ZTEST()
/Zephyr-latest/tests/boards/nrf/qdec/src/
Dmain.c149 pm_device_runtime_get(qdec_dev); in ZTEST()
179 pm_device_runtime_get(qdec_dev); in ZTEST()
209 pm_device_runtime_get(qdec_dev); in ZTEST()
250 pm_device_runtime_get(qdec_dev); in ZTEST()
282 pm_device_runtime_get(qdec_dev); in ZTEST()
308 pm_device_runtime_get(qdec_dev); in ZTEST()
353 pm_device_runtime_get(qdec_dev); in ZTEST()
405 pm_device_runtime_get(qdec_dev); in ZTEST()
437 pm_device_runtime_get(qdec_dev); in ZTEST()
/Zephyr-latest/include/zephyr/pm/
Ddevice_runtime.h97 int pm_device_runtime_get(const struct device *dev);
192 static inline int pm_device_runtime_get(const struct device *dev)
/Zephyr-latest/samples/subsys/pm/device_pm/src/
Ddummy_driver.c21 ret = pm_device_runtime_get(parent); in dummy_open()
26 ret = pm_device_runtime_get(dev); in dummy_open()
/Zephyr-latest/tests/subsys/pm/power_mgmt/src/
Ddummy_driver.c15 return pm_device_runtime_get(dev); in dummy_open()
/Zephyr-latest/tests/benchmarks/footprints/src/
Dpm_device.c47 if (pm_device_runtime_get(dev)) { in run_pm_device()
/Zephyr-latest/tests/subsys/shell/shell_device/src/
Dmain.c69 pm_device_runtime_get(d4); in main()
/Zephyr-latest/drivers/serial/
Duart_smartbond.c131 pm_device_runtime_get(dev); in uart_smartbond_pm_policy_state_lock_get()
163 pm_device_runtime_get(dev); in uart_smartbond_poll_in()
185 pm_device_runtime_get(dev); in uart_smartbond_poll_out()
305 pm_device_runtime_get(dev); in uart_smartbond_configure()
483 pm_device_runtime_get(dev); in uart_smartbond_fifo_fill()
507 pm_device_runtime_get(dev); in uart_smartbond_fifo_read()
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_uart.c89 if (pm_device_runtime_get(uart_dev) < 0) { in char_out()
192 (void)pm_device_runtime_get(uart_dev); in panic()
/Zephyr-latest/drivers/fuel_gauge/composite/
Dfuel_gauge_composite.c29 rc = pm_device_runtime_get(dev); in composite_read_micro()
/Zephyr-latest/doc/hardware/peripherals/sensor/
Dpower_management.rst15 …`pm-device-runtime` using explicit calls at an application level to :c:func:`pm_device_runtime_get`
/Zephyr-latest/tests/drivers/uart/uart_elementary/src/
Dmain.c280 pm_device_runtime_get(uart_dev); in ZTEST()
281 pm_device_runtime_get(uart_dev_aux); in ZTEST()
/Zephyr-latest/drivers/dai/intel/hda/
Dhda.c136 .probe = pm_device_runtime_get,
/Zephyr-latest/subsys/pm/
Ddevice_runtime.c143 ret = pm_device_runtime_get(domain); in get_sync_locked()
166 int pm_device_runtime_get(const struct device *dev) in pm_device_runtime_get() function
212 ret = pm_device_runtime_get(domain); in pm_device_runtime_get()
Dpm_shell.c98 ret = pm_device_runtime_get(dev); in pm_cmd_runtime_get()
/Zephyr-latest/subsys/shell/modules/
Ddevice_service.c148 pm_device_runtime_get(dev); in cmd_device_pm_toggle()
/Zephyr-latest/drivers/flash/
Dspi_nor.c584 (void)pm_device_runtime_get(cfg->spi.bus); in acquire_device()
797 if (pm_device_runtime_get(dev) < 0) { in spi_nor_read()
829 if (pm_device_runtime_get(dev) < 0) { in flash_spi_nor_ex_op()
867 if (pm_device_runtime_get(dev) < 0) { in spi_nor_write()
957 if (pm_device_runtime_get(dev) < 0) { in spi_nor_erase()
1065 if (pm_device_runtime_get(dev) < 0) { in spi_nor_sfdp_read()
1089 if (pm_device_runtime_get(dev) < 0) { in spi_nor_read_jedec_id()
/Zephyr-latest/doc/services/pm/
Ddevice_runtime.rst31 in response to :c:func:`pm_device_runtime_get` and :c:func:`pm_device_runtime_put`
90 The :c:func:`pm_device_runtime_get` function can be used by a device driver to
196 ret = pm_device_runtime_get(dev);
218 ret = pm_device_runtime_get(dev);
/Zephyr-latest/drivers/sensor/st/stm32_vbat/
Dstm32_vbat.c49 pm_device_runtime_get(data->adc); in stm32_vbat_sample_fetch()
/Zephyr-latest/drivers/sensor/st/stm32_vref/
Dstm32_vref.c49 pm_device_runtime_get(data->adc); in stm32_vref_sample_fetch()
/Zephyr-latest/drivers/adc/
Dadc_ambiq.c203 error = pm_device_runtime_get(dev); in adc_ambiq_read()
337 error = pm_device_runtime_get(dev); in adc_ambiq_read_async()
/Zephyr-latest/drivers/i2c/
Di2c_smartbond.c66 pm_device_runtime_get(dev); in i2c_smartbond_pm_policy_state_lock_get()
164 pm_device_runtime_get(dev); in i2c_smartbond_configure()
178 pm_device_runtime_get(dev); in i2c_smartbond_get_config()
/Zephyr-latest/drivers/gpio/
Dgpio_stm32.c444 ret = pm_device_runtime_get(dev); in gpio_stm32_configure()
485 err = pm_device_runtime_get(dev); in gpio_stm32_config()
547 err = pm_device_runtime_get(dev); in gpio_stm32_get_config()

123