Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.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()
205 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_stm32_transfer()
237 k_sem_give(&data->bus_mutex); in i2c_stm32_transfer()
289 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_stm32_recover_bus()
320 k_sem_give(&data->bus_mutex); in i2c_stm32_recover_bus()
409 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.h105 struct k_mutex bus_mutex; member
Di2c_dw.c464 ret = k_mutex_lock(&dw->bus_mutex, K_FOREVER); in i2c_dw_transfer()
561 k_mutex_unlock(&dw->bus_mutex); in i2c_dw_transfer()
877 k_mutex_init(&dw->bus_mutex); in i2c_dw_initialize()