Home
last modified time | relevance | path

Searched refs:I2C_LOCK_SEGMENT (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/drivers/iio/chemical/
Dsunrise_co2.c125 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in sunrise_read_byte()
127 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in sunrise_read_byte()
143 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in sunrise_read_word()
145 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in sunrise_read_word()
162 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in sunrise_write_byte()
164 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in sunrise_write_byte()
178 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in sunrise_write_word()
180 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in sunrise_write_word()
/linux-6.1.9/drivers/mfd/
D88pm860x-i2c.c146 i2c_lock_bus(i2c->adapter, I2C_LOCK_SEGMENT); in pm860x_page_reg_write()
153 i2c_unlock_bus(i2c->adapter, I2C_LOCK_SEGMENT); in pm860x_page_reg_write()
164 i2c_lock_bus(i2c->adapter, I2C_LOCK_SEGMENT); in pm860x_page_bulk_read()
171 i2c_unlock_bus(i2c->adapter, I2C_LOCK_SEGMENT); in pm860x_page_bulk_read()
/linux-6.1.9/drivers/i2c/
Di2c-core.h42 ret = i2c_trylock_bus(adap, I2C_LOCK_SEGMENT) ? 0 : -EAGAIN; in __i2c_lock_bus_helper()
44 i2c_lock_bus(adap, I2C_LOCK_SEGMENT); in __i2c_lock_bus_helper()
Di2c-core-smbus.c547 i2c_unlock_bus(adapter, I2C_LOCK_SEGMENT); in i2c_smbus_xfer()
Di2c-core-base.c2172 i2c_unlock_bus(adap, I2C_LOCK_SEGMENT); in i2c_transfer()
/linux-6.1.9/drivers/base/regmap/
Dregmap-sccb.c47 i2c_lock_bus(i2c->adapter, I2C_LOCK_SEGMENT); in regmap_sccb_read()
61 i2c_unlock_bus(i2c->adapter, I2C_LOCK_SEGMENT); in regmap_sccb_read()
/linux-6.1.9/drivers/media/dvb-frontends/
Drtl2830.c17 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in rtl2830_bulk_write()
19 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in rtl2830_bulk_write()
29 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in rtl2830_update_bits()
31 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in rtl2830_update_bits()
41 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in rtl2830_bulk_read()
43 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in rtl2830_bulk_read()
Daf9013.c1304 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in af9013_wregs()
1307 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in af9013_wregs()
1345 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in af9013_rregs()
1348 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in af9013_rregs()
Dtda1004x.c319 i2c_lock_bus(state->i2c, I2C_LOCK_SEGMENT); in tda1004x_do_upload()
332 i2c_unlock_bus(state->i2c, I2C_LOCK_SEGMENT); in tda1004x_do_upload()
339 i2c_unlock_bus(state->i2c, I2C_LOCK_SEGMENT); in tda1004x_do_upload()
Ddrxk_hard.c193 i2c_lock_bus(state->i2c, I2C_LOCK_SEGMENT); in drxk_i2c_lock()
204 i2c_unlock_bus(state->i2c, I2C_LOCK_SEGMENT); in drxk_i2c_unlock()
/linux-6.1.9/drivers/char/tpm/
Dtpm_tis_i2c_cr50.c203 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in tpm_cr50_i2c_read()
223 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in tpm_cr50_i2c_read()
265 i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT); in tpm_cr50_i2c_write()
280 i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT); in tpm_cr50_i2c_write()
Dtpm_i2c_infineon.c115 i2c_lock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT); in iic_tpm_read()
190 i2c_unlock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT); in iic_tpm_read()
222 i2c_lock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT); in iic_tpm_write_generic()
241 i2c_unlock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT); in iic_tpm_write_generic()
/linux-6.1.9/drivers/i2c/muxes/
Di2c-mux-pca9541.c301 i2c_lock_bus(adap, I2C_LOCK_SEGMENT); in pca9541_probe()
303 i2c_unlock_bus(adap, I2C_LOCK_SEGMENT); in pca9541_probe()
Di2c-mux-pca954x.c303 i2c_lock_bus(muxc->parent, I2C_LOCK_SEGMENT); in idle_state_store()
313 i2c_unlock_bus(muxc->parent, I2C_LOCK_SEGMENT); in idle_state_store()
/linux-6.1.9/drivers/media/tuners/
Dtda18271-common.c216 i2c_lock_bus(priv->i2c_props.adap, I2C_LOCK_SEGMENT); in __tda18271_write_regs()
237 i2c_unlock_bus(priv->i2c_props.adap, I2C_LOCK_SEGMENT); in __tda18271_write_regs()
291 i2c_lock_bus(priv->i2c_props.adap, I2C_LOCK_SEGMENT); in tda18271_init_regs()
507 i2c_unlock_bus(priv->i2c_props.adap, I2C_LOCK_SEGMENT); in tda18271_init_regs()
/linux-6.1.9/drivers/iio/light/
Das73211.c240 i2c_lock_bus(data->client->adapter, I2C_LOCK_SEGMENT); in as73211_req_data()
250 i2c_unlock_bus(data->client->adapter, I2C_LOCK_SEGMENT); in as73211_req_data()
268 i2c_unlock_bus(data->client->adapter, I2C_LOCK_SEGMENT); in as73211_req_data()
276 i2c_unlock_bus(data->client->adapter, I2C_LOCK_SEGMENT); in as73211_req_data()
/linux-6.1.9/drivers/net/mdio/
Dmdio-i2c.c190 i2c_lock_bus(i2c, I2C_LOCK_SEGMENT); in i2c_transfer_rollball()
211 i2c_unlock_bus(i2c, I2C_LOCK_SEGMENT); in i2c_transfer_rollball()
/linux-6.1.9/drivers/net/mctp/
Dmctp-i2c.c412 i2c_lock_bus(midev->adapter, I2C_LOCK_SEGMENT); in mctp_i2c_lock_nest()
427 i2c_unlock_bus(midev->adapter, I2C_LOCK_SEGMENT); in mctp_i2c_unlock_nest()
442 i2c_unlock_bus(midev->adapter, I2C_LOCK_SEGMENT); in mctp_i2c_unlock_reset()
536 i2c_unlock_bus(midev->adapter, I2C_LOCK_SEGMENT); in mctp_i2c_flow_release()
/linux-6.1.9/drivers/usb/misc/
Dusb251xb.c274 i2c_lock_bus(hub->i2c->adapter, I2C_LOCK_SEGMENT); in usb251xb_reset()
283 i2c_unlock_bus(hub->i2c->adapter, I2C_LOCK_SEGMENT); in usb251xb_reset()
/linux-6.1.9/drivers/input/touchscreen/
Drohm_bu21023.c299 i2c_lock_bus(adap, I2C_LOCK_SEGMENT); in rohm_i2c_burst_read()
308 i2c_unlock_bus(adap, I2C_LOCK_SEGMENT); in rohm_i2c_burst_read()
/linux-6.1.9/include/linux/
Di2c.h781 #define I2C_LOCK_SEGMENT BIT(1) macro