/linux-master/drivers/i2c/ |
H A D | i2c-core.h | 44 ret = i2c_trylock_bus(adap, I2C_LOCK_SEGMENT) ? 0 : -EAGAIN; 46 i2c_lock_bus(adap, I2C_LOCK_SEGMENT);
|
H A D | i2c-core-smbus.c | 547 i2c_unlock_bus(adapter, I2C_LOCK_SEGMENT);
|
H A D | i2c-core-base.c | 839 * @flags: I2C_LOCK_ROOT_ADAPTER locks the root i2c adapter, I2C_LOCK_SEGMENT 851 * @flags: I2C_LOCK_ROOT_ADAPTER trylocks the root i2c adapter, I2C_LOCK_SEGMENT 863 * @flags: I2C_LOCK_ROOT_ADAPTER unlocks the root i2c adapter, I2C_LOCK_SEGMENT 2302 i2c_unlock_bus(adap, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/base/regmap/ |
H A D | regmap-sccb.c | 47 i2c_lock_bus(i2c->adapter, I2C_LOCK_SEGMENT); 61 i2c_unlock_bus(i2c->adapter, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/iio/chemical/ |
H A D | sunrise_co2.c | 125 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 127 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); 143 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 145 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); 162 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 164 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); 178 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 180 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/mfd/ |
H A D | 88pm860x-i2c.c | 146 i2c_lock_bus(i2c->adapter, I2C_LOCK_SEGMENT); 153 i2c_unlock_bus(i2c->adapter, I2C_LOCK_SEGMENT); 164 i2c_lock_bus(i2c->adapter, I2C_LOCK_SEGMENT); 171 i2c_unlock_bus(i2c->adapter, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/i2c/muxes/ |
H A D | i2c-mux-pca9541.c | 300 i2c_lock_bus(adap, I2C_LOCK_SEGMENT); 302 i2c_unlock_bus(adap, I2C_LOCK_SEGMENT);
|
H A D | i2c-mux-pca954x.c | 388 i2c_lock_bus(muxc->parent, I2C_LOCK_SEGMENT); 398 i2c_unlock_bus(muxc->parent, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/media/tuners/ |
H A D | tda18271-common.c | 216 i2c_lock_bus(priv->i2c_props.adap, I2C_LOCK_SEGMENT); 237 i2c_unlock_bus(priv->i2c_props.adap, I2C_LOCK_SEGMENT); 291 i2c_lock_bus(priv->i2c_props.adap, I2C_LOCK_SEGMENT); 507 i2c_unlock_bus(priv->i2c_props.adap, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/char/tpm/ |
H A D | tpm_i2c_infineon.c | 115 i2c_lock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT); 190 i2c_unlock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT); 222 i2c_lock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT); 241 i2c_unlock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT);
|
H A D | tpm_tis_i2c_cr50.c | 202 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 222 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); 264 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 279 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/iio/light/ |
H A D | as73211.c | 285 i2c_lock_bus(data->client->adapter, I2C_LOCK_SEGMENT); 295 i2c_unlock_bus(data->client->adapter, I2C_LOCK_SEGMENT); 313 i2c_unlock_bus(data->client->adapter, I2C_LOCK_SEGMENT); 321 i2c_unlock_bus(data->client->adapter, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/net/mdio/ |
H A D | mdio-i2c.c | 202 i2c_lock_bus(i2c, I2C_LOCK_SEGMENT); 223 i2c_unlock_bus(i2c, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | rtl2830.c | 17 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 19 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); 29 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 31 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); 41 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 43 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT);
|
H A D | af9013.c | 1304 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 1307 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); 1345 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); 1348 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT);
|
H A D | tda1004x.c | 319 i2c_lock_bus(state->i2c, I2C_LOCK_SEGMENT); 332 i2c_unlock_bus(state->i2c, I2C_LOCK_SEGMENT); 339 i2c_unlock_bus(state->i2c, I2C_LOCK_SEGMENT);
|
H A D | drxk_hard.c | 193 i2c_lock_bus(state->i2c, I2C_LOCK_SEGMENT); 204 i2c_unlock_bus(state->i2c, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/net/mctp/ |
H A D | mctp-i2c.c | 412 i2c_lock_bus(midev->adapter, I2C_LOCK_SEGMENT); 427 i2c_unlock_bus(midev->adapter, I2C_LOCK_SEGMENT); 442 i2c_unlock_bus(midev->adapter, I2C_LOCK_SEGMENT); 536 i2c_unlock_bus(midev->adapter, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/usb/misc/ |
H A D | usb251xb.c | 274 i2c_lock_bus(hub->i2c->adapter, I2C_LOCK_SEGMENT); 283 i2c_unlock_bus(hub->i2c->adapter, I2C_LOCK_SEGMENT);
|
/linux-master/drivers/input/touchscreen/ |
H A D | rohm_bu21023.c | 299 i2c_lock_bus(adap, I2C_LOCK_SEGMENT); 308 i2c_unlock_bus(adap, I2C_LOCK_SEGMENT);
|
/linux-master/include/linux/ |
H A D | i2c.h | 781 #define I2C_LOCK_SEGMENT BIT(1) macro 786 * @flags: I2C_LOCK_ROOT_ADAPTER locks the root i2c adapter, I2C_LOCK_SEGMENT 799 * I2C_LOCK_SEGMENT tries to lock only this branch in the adapter tree 812 * @flags: I2C_LOCK_ROOT_ADAPTER unlocks the root i2c adapter, I2C_LOCK_SEGMENT
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-i801.c | 1563 i2c_lock_bus(&priv->adapter, I2C_LOCK_SEGMENT); 1583 i2c_unlock_bus(&priv->adapter, I2C_LOCK_SEGMENT);
|