Searched refs:period_ms (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/drivers/pwm/ |
D | pwm_imx.c | 55 unsigned int period_ms; in imx_pwm_set_cycles() local 86 period_ms = (get_pwm_clock_freq(config->base) >> in imx_pwm_set_cycles() 88 k_sleep(K_MSEC(period_ms)); in imx_pwm_set_cycles()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_engine.h | 156 int lwm2m_engine_add_service(k_work_handler_t service, uint32_t period_ms); 169 int lwm2m_engine_update_service_period(k_work_handler_t service, uint32_t period_ms);
|
D | lwm2m_engine.c | 429 static int engine_add_srv(k_work_handler_t service, uint32_t period_ms, int64_t next) in engine_add_srv() argument 438 if (lwm2m_engine_update_service_period(service, period_ms) == 0) { in engine_add_srv() 454 service_node_data[i].call_period = period_ms; in engine_add_srv() 464 int lwm2m_engine_add_service(k_work_handler_t service, uint32_t period_ms) in lwm2m_engine_add_service() argument 466 return engine_add_srv(service, period_ms, k_uptime_get() + period_ms); in lwm2m_engine_add_service() 479 int lwm2m_engine_update_service_period(k_work_handler_t service, uint32_t period_ms) in lwm2m_engine_update_service_period() argument 485 if (period_ms) { in lwm2m_engine_update_service_period() 486 service_node_data[i].call_period = period_ms; in lwm2m_engine_update_service_period() 487 service_node_data[i].next_timestamp = k_uptime_get() + period_ms; in lwm2m_engine_update_service_period()
|
D | lwm2m_obj_device.c | 250 int lwm2m_update_device_service_period(uint32_t period_ms) in lwm2m_update_device_service_period() argument 252 return lwm2m_engine_update_service_period(device_periodic_service, period_ms); in lwm2m_update_device_service_period()
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_wwdt_numaker.c | 64 uint32_t period_ms; in m_wwdt_numaker_calc_ms() local 68 period_ms = DIV_ROUND_UP(prescale_clks * MSEC_PER_SEC, clk_freq); in m_wwdt_numaker_calc_ms() 70 return period_ms; in m_wwdt_numaker_calc_ms()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_access.c | 61 int32_t period_ms; member 702 LOG_INF("Publication period: %d", test_period[i].period_ms); in tx_period() 708 pub_delayable_check(test_period[i].period_ms, PUB_PERIOD_COUNT); in tx_period() 710 pub_jitter_check(test_period[i].period_ms, PUB_PERIOD_COUNT); in tx_period() 737 recv_delayable_check(test_period[i].period_ms, PUB_PERIOD_COUNT); in rx_period() 739 recv_jitter_check(test_period[i].period_ms, PUB_PERIOD_COUNT); in rx_period()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | main.c | 495 int32_t period_ms = bt_mesh_model_pub_period_get(mod); in model_resume() local 497 if (period_ms) { in model_resume() 499 K_MSEC(period_ms)); in model_resume()
|
D | cfg_srv.c | 178 int32_t period_ms; in _mod_pub_set() local 180 period_ms = bt_mesh_model_pub_period_get(model); in _mod_pub_set() 181 LOG_DBG("period %u ms", period_ms); in _mod_pub_set() 183 if (period_ms > 0) { in _mod_pub_set() 185 K_MSEC(period_ms)); in _mod_pub_set()
|
/Zephyr-latest/tests/kernel/timer/timer_api/src/ |
D | main.c | 372 uint64_t period_ms = k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(PERIOD)); in ZTEST_USER() local 413 TIMER_ASSERT(WITHIN_ERROR(delta, period_ms, 1) in ZTEST_USER() 415 && (delta == period_ms - 1)), in ZTEST_USER()
|
/Zephyr-latest/include/zephyr/net/ |
D | lwm2m.h | 1388 int lwm2m_update_device_service_period(uint32_t period_ms);
|