/Zephyr-Core-3.7.0/drivers/sensor/nordic/temp/ |
D | temp_nrf5.c | 27 struct k_sem device_sync_sem; member 63 k_sem_take(&data->device_sync_sem, K_FOREVER); in temp_nrf5_sample_fetch() 104 k_sem_give(&data->device_sync_sem); in temp_nrf5_isr() 121 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in temp_nrf5_init()
|
/Zephyr-Core-3.7.0/drivers/i2c/ |
D | i2c_imx.c | 47 struct k_sem device_sync_sem; member 79 k_sem_take(&data->device_sync_sem, K_FOREVER); in i2c_imx_write() 120 k_sem_take(&data->device_sync_sem, K_FOREVER); in i2c_imx_read() 297 k_sem_give(&data->device_sync_sem); in i2c_imx_isr() 331 k_sem_give(&data->device_sync_sem); in i2c_imx_isr() 344 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in i2c_imx_init()
|
D | i2c_mcux.c | 39 struct k_sem device_sync_sem; member 126 k_sem_give(&data->device_sync_sem); in i2c_mcux_master_transfer_callback() 193 k_sem_take(&data->device_sync_sem, K_FOREVER); in i2c_mcux_transfer() 320 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in i2c_mcux_init()
|
D | i2c_ll_stm32_v1.c | 158 k_sem_reset(&data->device_sync_sem); in msg_init() 228 k_sem_give(&data->device_sync_sem); in stm32_i2c_master_mode_end() 335 k_sem_give(&data->device_sync_sem); in handle_txe() 359 k_sem_give(&data->device_sync_sem); in handle_rxne() 391 k_sem_give(&data->device_sync_sem); in handle_rxne() 421 k_sem_give(&data->device_sync_sem); in handle_btf() 651 if (k_sem_take(&data->device_sync_sem, in stm32_i2c_msg_write() 673 if (k_sem_take(&data->device_sync_sem, in stm32_i2c_msg_read()
|
D | i2c_ll_stm32.h | 55 struct k_sem device_sync_sem; member
|
D | i2c_mcux_flexcomm.c | 51 struct k_sem device_sync_sem; member 117 k_sem_give(&data->device_sync_sem); in mcux_flexcomm_master_transfer_callback() 187 k_sem_take(&data->device_sync_sem, I2C_TRANSFER_TIMEOUT_MSEC); in mcux_flexcomm_transfer() 491 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in mcux_flexcomm_init()
|
D | i2c_mcux_lpi2c.c | 64 struct k_sem device_sync_sem; member 134 k_sem_give(&data->device_sync_sem); in mcux_lpi2c_master_transfer_callback() 206 k_sem_take(&data->device_sync_sem, K_FOREVER); in mcux_lpi2c_transfer() 509 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in mcux_lpi2c_init()
|
D | i2c_dw.h | 115 struct k_sem device_sync_sem; member
|
D | i2c_ll_stm32_v2.c | 212 k_sem_give(&data->device_sync_sem); in stm32_i2c_master_mode_end() 502 k_sem_give(&data->device_sync_sem); in stm32_i2c_event() 599 if (k_sem_take(&data->device_sync_sem, in stm32_i2c_msg_write() 602 k_sem_take(&data->device_sync_sem, K_FOREVER); in stm32_i2c_msg_write() 658 if (k_sem_take(&data->device_sync_sem, in stm32_i2c_msg_read() 661 k_sem_take(&data->device_sync_sem, K_FOREVER); in stm32_i2c_msg_read()
|
D | i2c_andes_atciic100.c | 48 k_sem_init(&dev_data->device_sync_sem, 0, 1); in i2c_atciic100_default_control() 302 k_sem_take(&dev_data->device_sync_sem, K_FOREVER); in i2c_atciic100_controller_send() 399 k_sem_take(&dev_data->device_sync_sem, K_FOREVER); in i2c_atciic100_controller_receive() 544 k_sem_give(&dev_data->device_sync_sem); in i2c_cmpl_handler()
|
D | i2c_bcm_iproc.c | 168 struct k_sem device_sync_sem; member 749 rc = k_sem_take(&dd->device_sync_sem, K_MSEC(I2C_TIMEOUT_MSEC)); in iproc_i2c_transfer_one() 854 k_sem_give(&dd->device_sync_sem); in iproc_i2c_master_isr() 896 k_sem_init(&dd->device_sync_sem, 0, 1); in iproc_i2c_init()
|
D | i2c_andes_atciic100.h | 226 struct k_sem device_sync_sem; member
|
D | i2c_ite_enhance.c | 122 struct k_sem device_sync_sem; member 630 res = k_sem_take(&data->device_sync_sem, K_MSEC(100)); in i2c_enhance_pio_transfer() 841 res = k_sem_take(&data->device_sync_sem, K_MSEC(100)); in i2c_enhance_cq_transfer() 1167 k_sem_give(&data->device_sync_sem); in i2c_enhance_isr() 1187 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in i2c_enhance_init()
|
D | i2c_ite_it8xxx2.c | 75 struct k_sem device_sync_sem; member 1012 res = k_sem_take(&data->device_sync_sem, K_MSEC(100)); in i2c_it8xxx2_transfer() 1095 k_sem_give(&data->device_sync_sem); in i2c_it8xxx2_isr() 1108 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in i2c_it8xxx2_init()
|
D | i2c_gecko.c | 39 struct k_sem device_sync_sem; member
|
D | i2c_dw.c | 355 k_sem_give(&dw->device_sync_sem); in i2c_dw_transfer_complete() 721 ret = k_sem_take(&dw->device_sync_sem, K_MSEC(CONFIG_I2C_DW_RW_TIMEOUT_MS)); in i2c_dw_transfer() 1090 k_sem_init(&dw->device_sync_sem, 0, K_SEM_MAX_LIMIT); in i2c_dw_initialize()
|
D | i2c_ll_stm32.c | 386 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in i2c_stm32_init()
|
/Zephyr-Core-3.7.0/drivers/peci/ |
D | peci_ite_it8xxx2.c | 102 struct k_sem device_sync_sem; member 141 int ret = k_sem_take(&data->device_sync_sem, K_MSEC(PECI_TIMEOUT_MS)); in peci_it8xxx2_check_host_finish() 301 k_sem_give(&data->device_sync_sem); in peci_it8xxx2_isr() 320 k_sem_init(&data->device_sync_sem, 0, 1); in peci_it8xxx2_init()
|
/Zephyr-Core-3.7.0/drivers/flash/ |
D | flash_andes_qspi.c | 67 struct k_sem device_sync_sem; member 210 k_sem_take(&dev_data->device_sync_sem, K_FOREVER); in flash_andes_qspi_access() 784 k_sem_give(&data->device_sync_sem); in qspi_andes_irq_handler() 809 k_sem_init(&dev_data->device_sync_sem, 0, 1); in flash_andes_qspi_init()
|