Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/mdio/
Dmdio_nxp_s32_gmac.c34 struct k_mutex bus_mutex; member
45 k_mutex_lock(&data->bus_mutex, K_FOREVER); in mdio_nxp_s32_read_c45()
53 k_mutex_unlock(&data->bus_mutex); in mdio_nxp_s32_read_c45()
65 k_mutex_lock(&data->bus_mutex, K_FOREVER); in mdio_nxp_s32_write_c45()
73 k_mutex_unlock(&data->bus_mutex); in mdio_nxp_s32_write_c45()
85 k_mutex_lock(&data->bus_mutex, K_FOREVER); in mdio_nxp_s32_read_c22()
93 k_mutex_unlock(&data->bus_mutex); in mdio_nxp_s32_read_c22()
105 k_mutex_lock(&data->bus_mutex, K_FOREVER); in mdio_nxp_s32_write_c22()
113 k_mutex_unlock(&data->bus_mutex); in mdio_nxp_s32_write_c22()
139 k_mutex_init(&data->bus_mutex); in mdio_nxp_s32_init()
/Zephyr-latest/drivers/i2c/
Di2c_ll_stm32.c107 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_stm32_runtime_configure()
135 k_sem_give(&data->bus_mutex); in i2c_stm32_runtime_configure()
191 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_stm32_transfer()
224 k_sem_give(&data->bus_mutex); in i2c_stm32_transfer()
276 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_stm32_recover_bus()
307 k_sem_give(&data->bus_mutex); in i2c_stm32_recover_bus()
402 k_sem_init(&data->bus_mutex, 1, 1); in i2c_stm32_init()
Di2c_gd32.c46 struct k_sem bus_mutex; member
446 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_gd32_transfer()
485 k_sem_give(&data->bus_mutex); in i2c_gd32_transfer()
498 k_sem_take(&data->bus_mutex, K_FOREVER); in i2c_gd32_configure()
639 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.h57 struct k_sem bus_mutex; member
Di2c_renesas_ra_iic.c39 struct k_mutex bus_mutex; member
172 k_mutex_lock(&data->bus_mutex, K_FOREVER); in i2c_ra_iic_transfer()
251 k_mutex_unlock(&data->bus_mutex); in i2c_ra_iic_transfer()
281 k_mutex_init(&data->bus_mutex); in i2c_ra_iic_init()
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.h109 struct k_mutex bus_mutex; member
Di2c_dw.c633 ret = k_mutex_lock(&dw->bus_mutex, K_FOREVER); in i2c_dw_transfer()
734 k_mutex_unlock(&dw->bus_mutex); in i2c_dw_transfer()
1093 k_mutex_init(&dw->bus_mutex); in i2c_dw_initialize()
/Zephyr-latest/drivers/i3c/
Di3c_stm32.c135 struct k_mutex bus_mutex; /* Sync between transfers */ member
886 k_mutex_unlock(&data->bus_mutex); in i3c_stm32_clear_err()
989 k_mutex_lock(&data->bus_mutex, K_FOREVER); in i3c_stm32_do_ccc()
1037 k_mutex_unlock(&data->bus_mutex); in i3c_stm32_do_ccc()
1049 k_mutex_lock(&data->bus_mutex, K_FOREVER); in i3c_stm32_do_daa()
1080 k_mutex_unlock(&data->bus_mutex); in i3c_stm32_do_daa()
1257 k_mutex_lock(&data->bus_mutex, K_FOREVER); in i3c_stm32_i3c_transfer()
1284 k_mutex_unlock(&data->bus_mutex); in i3c_stm32_i3c_transfer()
1308 k_mutex_lock(&data->bus_mutex, K_FOREVER); in i3c_stm32_i2c_transfer()
1336 k_mutex_unlock(&data->bus_mutex); in i3c_stm32_i2c_transfer()
[all …]