Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/drivers/pwm/
Dpwm_led_esp32.c27 struct k_sem cmd_sem; member
261 k_sem_take(&data->cmd_sem, K_FOREVER); in pwm_led_esp32_set_cycles()
267 k_sem_give(&data->cmd_sem); in pwm_led_esp32_set_cycles()
273 k_sem_give(&data->cmd_sem); in pwm_led_esp32_set_cycles()
289 k_sem_give(&data->cmd_sem); in pwm_led_esp32_set_cycles()
293 k_sem_give(&data->cmd_sem); in pwm_led_esp32_set_cycles()
350 .cmd_sem = Z_SEM_INITIALIZER(pwm_ledc_esp32_data.cmd_sem, 1, 1),
Dpwm_mc_esp32.c40 struct k_sem cmd_sem; member
240 k_sem_take(&data->cmd_sem, K_FOREVER); in mcpwm_esp32_set_cycles()
244 k_sem_give(&data->cmd_sem); in mcpwm_esp32_set_cycles()
258 k_sem_give(&data->cmd_sem); in mcpwm_esp32_set_cycles()
265 k_sem_give(&data->cmd_sem); in mcpwm_esp32_set_cycles()
555 .cmd_sem = Z_SEM_INITIALIZER(mcpwm_esp32_data_##idx.cmd_sem, 1, 1), \
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c40 static K_SEM_DEFINE(cmd_sem, 1, 1);
116 k_sem_give(&cmd_sem); in handle_cmd_complete()
306 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd()
315 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd()
316 k_sem_give(&cmd_sem); in send_cmd()
/Zephyr-Core-3.4.0/drivers/i2c/
Di2c_esp32.c62 struct k_sem cmd_sem; member
325 ret = k_sem_take(&data->cmd_sem, K_MSEC(I2C_TRANSFER_TIMEOUT_MSEC)); in i2c_esp32_transmit()
662 k_sem_give(&data->cmd_sem); in i2c_esp32_isr()
744 .cmd_sem = Z_SEM_INITIALIZER(i2c_esp32_data_##idx.cmd_sem, 0, 1), \