Home
last modified time | relevance | path

Searched refs:device_sync_sem (Results 1 – 19 of 19) sorted by relevance

/Zephyr-Core-3.7.0/drivers/sensor/nordic/temp/
Dtemp_nrf5.c27 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/
Di2c_imx.c47 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()
Di2c_mcux.c39 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()
Di2c_ll_stm32_v1.c158 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()
Di2c_ll_stm32.h55 struct k_sem device_sync_sem; member
Di2c_mcux_flexcomm.c51 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()
Di2c_mcux_lpi2c.c64 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()
Di2c_dw.h115 struct k_sem device_sync_sem; member
Di2c_ll_stm32_v2.c212 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()
Di2c_andes_atciic100.c48 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()
Di2c_bcm_iproc.c168 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()
Di2c_andes_atciic100.h226 struct k_sem device_sync_sem; member
Di2c_ite_enhance.c122 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()
Di2c_ite_it8xxx2.c75 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()
Di2c_gecko.c39 struct k_sem device_sync_sem; member
Di2c_dw.c355 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()
Di2c_ll_stm32.c386 k_sem_init(&data->device_sync_sem, 0, K_SEM_MAX_LIMIT); in i2c_stm32_init()
/Zephyr-Core-3.7.0/drivers/peci/
Dpeci_ite_it8xxx2.c102 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/
Dflash_andes_qspi.c67 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()