Home
last modified time | relevance | path

Searched refs:I2C_LOCK_ROOT_ADAPTER (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/i2c/
Di2c-core-slave.c47 i2c_lock_bus(client->adapter, I2C_LOCK_ROOT_ADAPTER); in i2c_slave_register()
49 i2c_unlock_bus(client->adapter, I2C_LOCK_ROOT_ADAPTER); in i2c_slave_register()
72 i2c_lock_bus(client->adapter, I2C_LOCK_ROOT_ADAPTER); in i2c_slave_unregister()
74 i2c_unlock_bus(client->adapter, I2C_LOCK_ROOT_ADAPTER); in i2c_slave_unregister()
Di2c-mux.c149 if (!(flags & I2C_LOCK_ROOT_ADAPTER)) in i2c_mux_lock_bus()
161 if (!(flags & I2C_LOCK_ROOT_ADAPTER)) in i2c_mux_trylock_bus()
174 if (flags & I2C_LOCK_ROOT_ADAPTER) in i2c_mux_unlock_bus()
/linux-6.1.9/drivers/i2c/busses/
Di2c-gpio.c87 i2c_lock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); \
89 i2c_unlock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); \
96 i2c_lock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); \
98 i2c_unlock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); \
112 i2c_lock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); in i2c_gpio_incomplete_transfer()
128 i2c_unlock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); in i2c_gpio_incomplete_transfer()
175 i2c_lock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); in i2c_gpio_fi_act_on_scl_irq()
194 i2c_unlock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); in i2c_gpio_fi_act_on_scl_irq()
Di2c-amd-mp2-plat.c330 i2c_lock_bus(&i2c_dev->adap, I2C_LOCK_ROOT_ADAPTER); in i2c_amd_remove()
336 i2c_unlock_bus(&i2c_dev->adap, I2C_LOCK_ROOT_ADAPTER); in i2c_amd_remove()
Di2c-davinci.c711 i2c_lock_bus(&dev->adapter, I2C_LOCK_ROOT_ADAPTER); in i2c_davinci_cpufreq_transition()
718 i2c_unlock_bus(&dev->adapter, I2C_LOCK_ROOT_ADAPTER); in i2c_davinci_cpufreq_transition()
Di2c-s3c2410.c909 i2c_lock_bus(&i2c->adap, I2C_LOCK_ROOT_ADAPTER); in s3c24xx_i2c_cpufreq_transition()
911 i2c_unlock_bus(&i2c->adap, I2C_LOCK_ROOT_ADAPTER); in s3c24xx_i2c_cpufreq_transition()
/linux-6.1.9/include/linux/
Di2c.h780 #define I2C_LOCK_ROOT_ADAPTER BIT(0) macro
833 i2c_lock_bus(adap, I2C_LOCK_ROOT_ADAPTER); in i2c_mark_adapter_suspended()
835 i2c_unlock_bus(adap, I2C_LOCK_ROOT_ADAPTER); in i2c_mark_adapter_suspended()
848 i2c_lock_bus(adap, I2C_LOCK_ROOT_ADAPTER); in i2c_mark_adapter_resumed()
850 i2c_unlock_bus(adap, I2C_LOCK_ROOT_ADAPTER); in i2c_mark_adapter_resumed()
/linux-6.1.9/drivers/iio/temperature/
Dmlx90614.c466 i2c_lock_bus(data->client->adapter, I2C_LOCK_ROOT_ADAPTER); in mlx90614_wakeup()
470 i2c_unlock_bus(data->client->adapter, I2C_LOCK_ROOT_ADAPTER); in mlx90614_wakeup()