Searched refs:bus_lock (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.6.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.6.0/drivers/i3c/ |
D | i3c_cdns.c | 464 struct k_mutex bus_lock; member 1018 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_do_ccc() 1098 k_mutex_unlock(&data->bus_lock); in cdns_i3c_do_ccc() 1433 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_i2c_transfer() 1478 k_mutex_unlock(&data->bus_lock); in cdns_i3c_i2c_transfer() 1527 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_attach_device() 1551 k_mutex_unlock(&data->bus_lock); in cdns_i3c_attach_device() 1568 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_reattach_device() 1579 k_mutex_unlock(&data->bus_lock); in cdns_i3c_reattach_device() 1595 k_mutex_lock(&data->bus_lock, K_FOREVER); in cdns_i3c_detach_device() [all …]
|
/Zephyr-Core-3.6.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 | 225 struct k_sem bus_lock; member
|