Searched refs:mux_lock (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/i2c/ |
H A D | i2c-mux.c | 148 rt_mutex_lock_nested(&parent->mux_lock, i2c_adapter_depth(adapter)); in i2c_mux_lock_bus() 159 if (!rt_mutex_trylock(&parent->mux_lock)) in i2c_mux_trylock_bus() 165 rt_mutex_unlock(&parent->mux_lock); in i2c_mux_trylock_bus() 176 rt_mutex_unlock(&parent->mux_lock); in i2c_mux_unlock_bus() 185 rt_mutex_lock_nested(&parent->mux_lock, i2c_adapter_depth(adapter)); in i2c_parent_lock_bus() 195 if (!rt_mutex_trylock(&parent->mux_lock)) in i2c_parent_trylock_bus() 199 rt_mutex_unlock(&parent->mux_lock); in i2c_parent_trylock_bus() 210 rt_mutex_unlock(&parent->mux_lock); in i2c_parent_unlock_bus() 227 rt_mutex_lock_nested(&parent->mux_lock, i2c_adapter_depth(adapter)); in i2c_mux_lock_select() 236 rt_mutex_unlock(&parent->mux_lock); in i2c_mux_lock_select() [all …]
|
H A D | i2c-core-base.c | 1570 rt_mutex_init(&adap->mux_lock); in i2c_register_adapter()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinmux.c | 97 guard(mutex)(&desc->mux_lock); in pinmux_can_be_used_for_gpio() 132 scoped_guard(mutex, &desc->mux_lock) { in pin_request() 187 scoped_guard(mutex, &desc->mux_lock) { in pin_request() 230 scoped_guard(mutex, &desc->mux_lock) { in pin_free() 252 scoped_guard(mutex, &desc->mux_lock) { in pin_free() 474 scoped_guard(mutex, &desc->mux_lock) in pinmux_enable_setting() 490 scoped_guard(mutex, &desc->mux_lock) in pinmux_enable_setting() 537 scoped_guard(mutex, &desc->mux_lock) in pinmux_disable_setting() 632 scoped_guard(mutex, &desc->mux_lock) { in pinmux_pins_show()
|
H A D | core.h | 180 struct mutex mux_lock; member
|
H A D | core.c | 224 mutex_init(&pindesc->mux_lock); in pinctrl_register_one_pin()
|
/openbmc/linux/include/linux/ |
H A D | i2c.h | 749 struct rt_mutex mux_lock; member
|