Searched refs:bus_lock (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/i2c/ |
D | i2c_gecko.c | 40 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()
|
D | i2c_andes_atciic100.c | 47 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()
|
D | i2c_andes_atciic100.h | 225 struct k_sem bus_lock; member
|
/Zephyr-latest/include/zephyr/drivers/ |
D | w1.h | 83 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/ |
D | i3c_cdns.c | 579 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 …]
|