/Zephyr-latest/drivers/modem/ |
D | modem_socket.c | 26 k_sem_take(&cfg->sem_lock, K_FOREVER); in modem_socket_next_packet_size() 35 k_sem_give(&cfg->sem_lock); in modem_socket_next_packet_size() 81 k_sem_take(&cfg->sem_lock, K_FOREVER); in modem_socket_packet_size_update() 92 k_sem_give(&cfg->sem_lock); in modem_socket_packet_size_update() 120 k_sem_give(&cfg->sem_lock); in modem_socket_packet_size_update() 128 k_sem_give(&cfg->sem_lock); in modem_socket_packet_size_update() 138 k_sem_give(&cfg->sem_lock); in modem_socket_packet_size_update() 154 k_sem_take(&cfg->sem_lock, K_FOREVER); in modem_socket_get() 163 k_sem_give(&cfg->sem_lock); in modem_socket_get() 169 k_sem_give(&cfg->sem_lock); in modem_socket_get() [all …]
|
D | modem_socket.h | 66 struct k_sem sem_lock; member
|
/Zephyr-latest/drivers/dma/ |
D | dma_nios2_msgdma.c | 30 struct k_sem sem_lock; member 103 k_sem_take(&dev_data->sem_lock, K_FOREVER); in nios2_msgdma_config() 146 k_sem_give(&dev_data->sem_lock); in nios2_msgdma_config() 163 k_sem_take(&cfg->sem_lock, K_FOREVER); in nios2_msgdma_transfer_start() 166 k_sem_give(&cfg->sem_lock); in nios2_msgdma_transfer_start() 182 k_sem_take(&cfg->sem_lock, K_FOREVER); in nios2_msgdma_transfer_stop() 188 k_sem_give(&cfg->sem_lock); in nios2_msgdma_transfer_stop() 213 k_sem_init(&dev_data->sem_lock, 1, 1); in nios2_msgdma0_initialize()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_nios2.c | 27 struct k_sem sem_lock; member 37 k_sem_take(&data->sem_lock, K_FOREVER); in i2c_nios2_configure() 59 k_sem_give(&data->sem_lock); in i2c_nios2_configure() 71 k_sem_take(&data->sem_lock, K_FOREVER); in i2c_nios2_transfer() 141 k_sem_give(&data->sem_lock); in i2c_nios2_transfer() 178 k_sem_init(&data->sem_lock, 1, 1); in i2c_nios2_init()
|
/Zephyr-latest/drivers/flash/ |
D | soc_flash_nios2_qspi.c | 63 struct k_sem sem_lock; member 85 k_sem_take(&flash_cfg->sem_lock, K_FOREVER); in flash_nios2_qspi_erase() 175 k_sem_give(&flash_cfg->sem_lock); in flash_nios2_qspi_erase() 290 k_sem_take(&flash_cfg->sem_lock, K_FOREVER); in flash_nios2_qspi_write() 352 k_sem_give(&flash_cfg->sem_lock); in flash_nios2_qspi_write() 380 k_sem_take(&flash_cfg->sem_lock, K_FOREVER); in flash_nios2_qspi_read() 419 k_sem_give(&flash_cfg->sem_lock); in flash_nios2_qspi_read() 508 k_sem_init(&flash_cfg->sem_lock, 1, 1); in flash_nios2_qspi_init()
|
D | soc_flash_nrf_rram.c | 58 static struct k_sem sem_lock; variable 59 #define SYNC_INIT() k_sem_init(&sem_lock, 1, 1) 60 #define SYNC_LOCK() k_sem_take(&sem_lock, K_FOREVER) 61 #define SYNC_UNLOCK() k_sem_give(&sem_lock)
|
D | soc_flash_nrf.c | 67 static struct k_sem sem_lock; variable 68 #define SYNC_INIT() k_sem_init(&sem_lock, 1, 1) 69 #define SYNC_LOCK() k_sem_take(&sem_lock, K_FOREVER) 70 #define SYNC_UNLOCK() k_sem_give(&sem_lock)
|
/Zephyr-latest/drivers/entropy/ |
D | entropy_npcx_drbg.c | 26 struct k_sem sem_lock; member 114 k_sem_take(&data->sem_lock, K_FOREVER); in entropy_npcx_drbg_get_entropy() 131 k_sem_give(&data->sem_lock); in entropy_npcx_drbg_get_entropy() 190 k_sem_init(&data->sem_lock, 1, 1); in entropy_npcx_drbg_init()
|
D | entropy_nrf5.c | 94 struct k_sem sem_lock; member 234 k_sem_take(&entropy_nrf5_data.sem_lock, K_FOREVER); in entropy_nrf5_get_entropy() 237 k_sem_give(&entropy_nrf5_data.sem_lock); in entropy_nrf5_get_entropy() 330 k_sem_init(&entropy_nrf5_data.sem_lock, 1, 1); in entropy_nrf5_init()
|
D | entropy_smartbond.c | 45 struct k_sem sem_lock; member 280 k_sem_take(&entropy_smartbond_data.sem_lock, K_FOREVER); in entropy_smartbond_get_entropy() 282 k_sem_give(&entropy_smartbond_data.sem_lock); in entropy_smartbond_get_entropy() 408 k_sem_init(&entropy_smartbond_data.sem_lock, 1, 1); in entropy_smartbond_init()
|
D | entropy_stm32.c | 88 struct k_sem sem_lock; member 580 k_sem_take(&entropy_stm32_rng_data.sem_lock, K_FOREVER); in entropy_stm32_rng_get_entropy() 590 k_sem_give(&entropy_stm32_rng_data.sem_lock); in entropy_stm32_rng_get_entropy() 680 k_sem_init(&dev_data->sem_lock, 1, 1); in entropy_stm32_rng_init()
|
/Zephyr-latest/drivers/eeprom/ |
D | eeprom_simulator.c | 39 static struct k_sem sem_lock; variable 40 #define SYNC_INIT() k_sem_init(&sem_lock, 1, 1) 41 #define SYNC_LOCK() k_sem_take(&sem_lock, K_FOREVER) 42 #define SYNC_UNLOCK() k_sem_give(&sem_lock)
|
/Zephyr-latest/include/zephyr/bluetooth/classic/ |
D | avdtp.h | 132 struct k_sem sem_lock; member
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | avdtp.c | 71 k_sem_take(&session->sem_lock, K_FOREVER); in avdtp_lock() 76 k_sem_give(&session->sem_lock); in avdtp_unlock() 82 k_sem_take(&sep->sem_lock, K_FOREVER); in avdtp_sep_lock() 89 k_sem_give(&sep->sem_lock); in avdtp_sep_unlock() 1176 k_sem_init(&session->sem_lock, 1, 1); in bt_avdtp_connect() 1218 k_sem_init(&session->sem_lock, 1, 1); in bt_avdtp_l2cap_accept() 1275 k_sem_init(&sep->sem_lock, 1, 1); in bt_avdtp_register_sep()
|
D | avdtp_internal.h | 218 struct k_sem sem_lock; member
|