/Zephyr-latest/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-latest/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 | 108 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() 511 k_sem_give(&data->device_sync_sem); in stm32_i2c_event() 608 if (k_sem_take(&data->device_sync_sem, in stm32_i2c_msg_write() 611 k_sem_take(&data->device_sync_sem, K_FOREVER); in stm32_i2c_msg_write() 667 if (k_sem_take(&data->device_sync_sem, in stm32_i2c_msg_read() 670 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 | 123 struct k_sem device_sync_sem; member 630 res = k_sem_take(&data->device_sync_sem, K_MSEC(config->transfer_timeout_ms)); in i2c_enhance_pio_transfer() 841 res = k_sem_take(&data->device_sync_sem, K_MSEC(config->transfer_timeout_ms)); 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 | 76 struct k_sem device_sync_sem; member 1012 res = k_sem_take(&data->device_sync_sem, K_MSEC(config->transfer_timeout_ms)); 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 | 350 k_sem_give(&dw->device_sync_sem); in i2c_dw_transfer_complete() 708 ret = k_sem_take(&dw->device_sync_sem, K_MSEC(CONFIG_I2C_DW_RW_TIMEOUT_MS)); in i2c_dw_transfer() 1092 k_sem_init(&dw->device_sync_sem, 0, K_SEM_MAX_LIMIT); in i2c_dw_initialize()
|
D | i2c_ll_stm32.c | 390 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in i2c_stm32_init()
|
/Zephyr-latest/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-latest/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()
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_stm32.c | 134 struct k_sem device_sync_sem; /* Sync between device communication messages */ member 1021 if (k_sem_take(&data->device_sync_sem, STM32_I3C_TRANSFER_TIMEOUT) != 0) { in i3c_stm32_do_ccc() 1068 if (k_sem_take(&data->device_sync_sem, STM32_I3C_TRANSFER_TIMEOUT) != 0) { in i3c_stm32_do_daa() 1229 if (k_sem_take(&data->device_sync_sem, STM32_I3C_TRANSFER_TIMEOUT) != 0) { in i3c_stm32_transfer_begin() 1532 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in i3c_stm32_init() 1811 k_sem_give(&data->device_sync_sem); in i3c_stm32_event_isr() 1890 k_sem_give(&data->device_sync_sem); in i3c_stm32_error_isr()
|