Home
last modified time | relevance | path

Searched refs:bus_lock (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/i2c/
Di2c_gecko.c40 struct k_sem bus_lock; member
72 k_sem_take(&data->bus_lock, K_FOREVER); in i2c_gecko_configure()
83 k_sem_give(&data->bus_lock); in i2c_gecko_configure()
101 k_sem_take(&data->bus_lock, K_FOREVER); in i2c_gecko_transfer()
147 k_sem_give(&data->bus_lock); in i2c_gecko_transfer()
165 k_sem_init(&data->bus_lock, 1, 1); in i2c_gecko_init()
Di2c_andes_atciic100.c47 k_sem_init(&dev_data->bus_lock, 1, 1); in i2c_atciic100_default_control()
144 k_sem_give(&dev_data->bus_lock); in i2c_atciic100_configure()
158 k_sem_take(&dev_data->bus_lock, K_FOREVER); in i2c_atciic100_transfer()
196 k_sem_give(&dev_data->bus_lock); in i2c_atciic100_transfer()
605 if (k_sem_take(&dev_data->bus_lock, K_NO_WAIT) != 0) { in andes_i2c_target_event()
648 k_sem_give(&dev_data->bus_lock); in andes_i2c_target_event()
Di2c_andes_atciic100.h225 struct k_sem bus_lock; member
/Zephyr-latest/include/zephyr/drivers/
Dw1.h83 struct k_mutex bus_lock; member
126 return k_mutex_lock(&ctrl_data->bus_lock, K_FOREVER); in z_impl_w1_change_bus_lock()
128 return k_mutex_unlock(&ctrl_data->bus_lock); in z_impl_w1_change_bus_lock()
/Zephyr-latest/drivers/i3c/
Di3c_cdns.c579 struct k_mutex bus_lock; member
1385 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_do_ccc()
1483 k_mutex_unlock(&data->bus_lock); in cdns_i3c_do_ccc()
1638 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_i2c_api_configure()
1640 k_mutex_unlock(&data->bus_lock); in cdns_i3c_i2c_api_configure()
1670 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_configure()
1672 k_mutex_unlock(&data->bus_lock); in cdns_i3c_configure()
1880 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_i2c_transfer()
1927 k_mutex_unlock(&data->bus_lock); in cdns_i3c_i2c_transfer()
1990 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_attach_device()
[all …]