Home
last modified time | relevance | path

Searched refs:bus_mutex (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_ll_stm32.c73 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_stm32_runtime_configure()
91 k_sem_give(&data->bus_mutex); in i2c_stm32_runtime_configure()
150 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_stm32_transfer()
182 k_sem_give(&data->bus_mutex); in i2c_stm32_transfer()
234 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_stm32_recover_bus()
265 k_sem_give(&data->bus_mutex); in i2c_stm32_recover_bus()
354 k_sem_init(&data->bus_mutex, 1, 1); in i2c_stm32_init()
Di2c_gd32.c46 struct k_sem bus_mutex; member
449 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_gd32_transfer()
488 k_sem_give(&data->bus_mutex); in i2c_gd32_transfer()
501 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_gd32_configure()
642 k_sem_give(&data->bus_mutex); in i2c_gd32_configure()
665 k_sem_init(&data->bus_mutex, 1, 1); in i2c_gd32_init()
Di2c_ll_stm32.h55 struct k_sem bus_mutex; member
Di2c_sam4l_twim.c89 struct k_mutex bus_mutex; member
510 k_mutex_lock(&data->bus_mutex, K_FOREVER); in i2c_sam_twim_transfer()
530 k_mutex_unlock(&data->bus_mutex); in i2c_sam_twim_transfer()
551 k_mutex_init(&data->bus_mutex); in i2c_sam_twim_initialize()
Di2c_dw.h112 struct k_mutex bus_mutex; member
Di2c_dw.c633 ret = k_mutex_lock(&dw->bus_mutex, K_FOREVER); in i2c_dw_transfer()
730 k_mutex_unlock(&dw->bus_mutex); in i2c_dw_transfer()
1075 k_mutex_init(&dw->bus_mutex); in i2c_dw_initialize()