Searched refs:bus_lock (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | w1.h | 81 struct k_mutex bus_lock; member 124 return k_mutex_lock(&ctrl_data->bus_lock, K_FOREVER); in z_impl_w1_change_bus_lock() 126 return k_mutex_unlock(&ctrl_data->bus_lock); in z_impl_w1_change_bus_lock()
|
/Zephyr-Core-3.5.0/drivers/i3c/ |
D | i3c_cdns.c | 461 struct k_mutex bus_lock; member 996 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_do_ccc() 1077 k_mutex_unlock(&data->bus_lock); in cdns_i3c_do_ccc() 1384 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_i2c_transfer() 1436 k_mutex_unlock(&data->bus_lock); in cdns_i3c_i2c_transfer() 1485 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_attach_device() 1509 k_mutex_unlock(&data->bus_lock); in cdns_i3c_attach_device() 1526 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_reattach_device() 1537 k_mutex_unlock(&data->bus_lock); in cdns_i3c_reattach_device() 1553 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_detach_device() [all …]
|
/Zephyr-Core-3.5.0/drivers/i2c/ |
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 | 226 struct k_sem bus_lock; member
|