Searched refs:i2c_lock (Results 1 – 13 of 13) sorted by relevance
28 struct mutex i2c_lock; member106 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 …]
120 struct mutex i2c_lock; member274 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 …]
50 struct mutex i2c_lock; member178 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()
63 struct mutex i2c_lock; member969 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()
141 struct mutex i2c_lock; /* lock for sending i2c commands */ member186 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()
141 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()
146 struct mutex i2c_lock; member
70 struct mutex i2c_lock; member132 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()
381 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()
634 struct mutex i2c_lock; member
1240 mutex_init(&dev->i2c_lock); in cx231xx_init_dev()
300 if (mutex_lock_interruptible(&dev->i2c_lock)) in saa7146_i2c_transfer()379 mutex_unlock(&dev->i2c_lock); in saa7146_i2c_transfer()
453 mutex_init(&dev->i2c_lock); in saa7146_init_one()