Searched refs:cmd_sem (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/drivers/pwm/ |
D | pwm_led_esp32.c | 38 struct k_sem cmd_sem; member 304 k_sem_take(&data->cmd_sem, K_FOREVER); in pwm_led_esp32_set_cycles() 310 k_sem_give(&data->cmd_sem); in pwm_led_esp32_set_cycles() 316 k_sem_give(&data->cmd_sem); in pwm_led_esp32_set_cycles() 332 k_sem_give(&data->cmd_sem); in pwm_led_esp32_set_cycles() 336 k_sem_give(&data->cmd_sem); in pwm_led_esp32_set_cycles() 391 .cmd_sem = Z_SEM_INITIALIZER(pwm_ledc_esp32_data.cmd_sem, 1, 1),
|
D | pwm_mc_esp32.c | 50 struct k_sem cmd_sem; member 257 k_sem_take(&data->cmd_sem, K_FOREVER); in mcpwm_esp32_set_cycles() 261 k_sem_give(&data->cmd_sem); in mcpwm_esp32_set_cycles() 275 k_sem_give(&data->cmd_sem); in mcpwm_esp32_set_cycles() 282 k_sem_give(&data->cmd_sem); in mcpwm_esp32_set_cycles() 574 .cmd_sem = Z_SEM_INITIALIZER(mcpwm_esp32_data_##idx.cmd_sem, 1, 1), \
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/ |
D | peer.c | 52 static K_SEM_DEFINE(cmd_sem, MAX_CMD_COUNT, MAX_CMD_COUNT); 124 k_sem_give(&cmd_sem); in handle_cmd_complete() 285 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 305 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 306 k_sem_give(&cmd_sem); in send_cmd()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/ |
D | main.c | 51 static K_SEM_DEFINE(cmd_sem, 1, 1); 125 k_sem_give(&cmd_sem); in handle_cmd_complete() 309 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 318 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 319 k_sem_give(&cmd_sem); in send_cmd()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/ |
D | main.c | 55 static K_SEM_DEFINE(cmd_sem, 1, 1); 129 k_sem_give(&cmd_sem); in handle_cmd_complete() 331 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 340 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 341 k_sem_give(&cmd_sem); in send_cmd()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/ |
D | main.c | 59 static K_SEM_DEFINE(cmd_sem, 1, 1); 133 k_sem_give(&cmd_sem); in handle_cmd_complete() 355 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 364 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 365 k_sem_give(&cmd_sem); in send_cmd()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/ |
D | main.c | 41 static K_SEM_DEFINE(cmd_sem, 1, 1); 118 k_sem_give(&cmd_sem); in handle_cmd_complete() 311 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 320 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 321 k_sem_give(&cmd_sem); in send_cmd()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/ |
D | tester.c | 43 static K_SEM_DEFINE(cmd_sem, 1, 1); 120 k_sem_give(&cmd_sem); in handle_cmd_complete() 323 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 332 k_sem_take(&cmd_sem, K_FOREVER); in send_cmd() 333 k_sem_give(&cmd_sem); in send_cmd()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_esp32.c | 65 struct k_sem cmd_sem; member 382 ret = k_sem_take(&data->cmd_sem, K_MSEC(I2C_TRANSFER_TIMEOUT_MSEC)); in i2c_esp32_transmit() 722 k_sem_give(&data->cmd_sem); in i2c_esp32_isr() 822 .cmd_sem = Z_SEM_INITIALIZER(i2c_esp32_data_##idx.cmd_sem, 0, 1), \
|