Lines Matching refs:i2c_lock
150 struct mutex i2c_lock; member
429 mutex_lock(&chip->i2c_lock); in cy8c95x0_write_regs_mask()
472 mutex_unlock(&chip->i2c_lock); in cy8c95x0_write_regs_mask()
500 mutex_lock(&chip->i2c_lock); in cy8c95x0_read_regs_mask()
550 mutex_unlock(&chip->i2c_lock); in cy8c95x0_read_regs_mask()
620 mutex_lock(&chip->i2c_lock); in cy8c95x0_gpio_get_direction()
630 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_get_direction()
637 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_get_direction()
653 mutex_lock(&chip->i2c_lock); in cy8c95x0_gpio_get_pincfg()
722 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_get_pincfg()
738 mutex_lock(&chip->i2c_lock); in cy8c95x0_gpio_set_pincfg()
790 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_set_pincfg()
1145 mutex_lock(&chip->i2c_lock); in cy8c95x0_set_mux()
1147 mutex_unlock(&chip->i2c_lock); in cy8c95x0_set_mux()
1159 mutex_lock(&chip->i2c_lock); in cy8c95x0_gpio_request_enable()
1161 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_request_enable()
1205 mutex_lock(&chip->i2c_lock); in cy8c95x0_gpio_set_direction()
1207 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_set_direction()
1422 mutex_init(&chip->i2c_lock); in cy8c95x0_probe()