Home
last modified time | relevance | path

Searched refs:i2c_lock (Results 1 – 13 of 13) sorted by relevance

/drivers/gpio/
Dgpio-adnp.c28 struct mutex i2c_lock; member
106 mutex_lock(&adnp->i2c_lock); in adnp_gpio_set()
108 mutex_unlock(&adnp->i2c_lock); in adnp_gpio_set()
119 mutex_lock(&adnp->i2c_lock); in adnp_gpio_direction_input()
141 mutex_unlock(&adnp->i2c_lock); in adnp_gpio_direction_input()
154 mutex_lock(&adnp->i2c_lock); in adnp_gpio_direction_output()
179 mutex_unlock(&adnp->i2c_lock); in adnp_gpio_direction_output()
192 mutex_lock(&adnp->i2c_lock); in adnp_gpio_dbg_show()
196 mutex_unlock(&adnp->i2c_lock); in adnp_gpio_dbg_show()
202 mutex_unlock(&adnp->i2c_lock); in adnp_gpio_dbg_show()
[all …]
Dgpio-pca953x.c120 struct mutex i2c_lock; member
274 mutex_lock(&chip->i2c_lock); in pca953x_gpio_direction_input()
283 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_direction_input()
294 mutex_lock(&chip->i2c_lock); in pca953x_gpio_direction_output()
317 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_direction_output()
327 mutex_lock(&chip->i2c_lock); in pca953x_gpio_get_value()
329 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_get_value()
347 mutex_lock(&chip->i2c_lock); in pca953x_gpio_set_value()
361 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_set_value()
375 mutex_lock(&chip->i2c_lock); in pca953x_gpio_set_multiple()
[all …]
/drivers/media/usb/go7007/
Ds2250-board.c50 struct mutex i2c_lock; member
178 if (mutex_lock_interruptible(&usb->i2c_lock) != 0) { in write_reg()
188 mutex_unlock(&usb->i2c_lock); in write_reg()
217 if (mutex_lock_interruptible(&usb->i2c_lock) != 0) { in write_reg_fp()
223 mutex_unlock(&usb->i2c_lock); in write_reg_fp()
279 if (mutex_lock_interruptible(&usb->i2c_lock) != 0) { in read_reg_fp()
285 mutex_unlock(&usb->i2c_lock); in read_reg_fp()
581 if (mutex_lock_interruptible(&usb->i2c_lock) == 0) { in s2250_probe()
601 mutex_unlock(&usb->i2c_lock); in s2250_probe()
Dgo7007-usb.c63 struct mutex i2c_lock; member
969 mutex_lock(&usb->i2c_lock); in go7007_usb_i2c_master_xfer()
1024 mutex_unlock(&usb->i2c_lock); in go7007_usb_i2c_master_xfer()
1171 mutex_init(&usb->i2c_lock); in go7007_usb_probe()
/drivers/hwmon/
Dsht3x.c141 struct mutex i2c_lock; /* lock for sending i2c commands */ member
186 mutex_lock(&data->i2c_lock); in sht3x_read_from_command()
205 mutex_unlock(&data->i2c_lock); in sht3x_read_from_command()
384 mutex_lock(&data->i2c_lock); in limit_store()
386 mutex_unlock(&data->i2c_lock); in limit_store()
543 mutex_lock(&data->i2c_lock); in heater_enable_store()
552 mutex_unlock(&data->i2c_lock); in heater_enable_store()
592 mutex_lock(&data->i2c_lock); in update_interval_store()
624 mutex_unlock(&data->i2c_lock); in update_interval_store()
732 mutex_init(&data->i2c_lock); in sht3x_probe()
/drivers/media/pci/mantis/
Dmantis_i2c.c141 mutex_lock(&mantis->i2c_lock); in mantis_i2c_xfer()
201 mutex_unlock(&mantis->i2c_lock); in mantis_i2c_xfer()
206 mutex_unlock(&mantis->i2c_lock); in mantis_i2c_xfer()
227 mutex_init(&mantis->i2c_lock); in mantis_i2c_init()
Dmantis_common.h146 struct mutex i2c_lock; member
/drivers/gpu/drm/gma500/
Doaktrail_hdmi_i2c.c70 struct mutex i2c_lock; member
132 mutex_lock(&i2c_dev->i2c_lock); in oaktrail_hdmi_i2c_access()
152 mutex_unlock(&i2c_dev->i2c_lock); in oaktrail_hdmi_i2c_access()
291 mutex_init(&i2c_dev->i2c_lock); in oaktrail_hdmi_i2c_init()
/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c381 mutex_lock(&dev->i2c_lock); in cx231xx_i2c_xfer()
394 mutex_unlock(&dev->i2c_lock); in cx231xx_i2c_xfer()
439 mutex_unlock(&dev->i2c_lock); in cx231xx_i2c_xfer()
443 mutex_unlock(&dev->i2c_lock); in cx231xx_i2c_xfer()
Dcx231xx.h634 struct mutex i2c_lock; member
Dcx231xx-cards.c1240 mutex_init(&dev->i2c_lock); in cx231xx_init_dev()
/drivers/media/common/saa7146/
Dsaa7146_i2c.c300 if (mutex_lock_interruptible(&dev->i2c_lock)) in saa7146_i2c_transfer()
379 mutex_unlock(&dev->i2c_lock); in saa7146_i2c_transfer()
Dsaa7146_core.c453 mutex_init(&dev->i2c_lock); in saa7146_init_one()