Lines Matching refs:i2c_lock
148 struct mutex i2c_lock; member
423 mutex_lock(&chip->i2c_lock); in cy8c95x0_write_regs_mask()
466 mutex_unlock(&chip->i2c_lock); in cy8c95x0_write_regs_mask()
494 mutex_lock(&chip->i2c_lock); in cy8c95x0_read_regs_mask()
544 mutex_unlock(&chip->i2c_lock); in cy8c95x0_read_regs_mask()
559 mutex_lock(&chip->i2c_lock); in cy8c95x0_gpio_direction_input()
581 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_direction_input()
600 mutex_lock(&chip->i2c_lock); in cy8c95x0_gpio_direction_output()
610 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_direction_output()
655 mutex_lock(&chip->i2c_lock); in cy8c95x0_gpio_get_direction()
665 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_get_direction()
672 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_get_direction()
688 mutex_lock(&chip->i2c_lock); in cy8c95x0_gpio_get_pincfg()
755 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_get_pincfg()
770 mutex_lock(&chip->i2c_lock); in cy8c95x0_gpio_set_pincfg()
816 mutex_unlock(&chip->i2c_lock); in cy8c95x0_gpio_set_pincfg()
1158 mutex_lock(&chip->i2c_lock); in cy8c95x0_set_mux()
1160 mutex_unlock(&chip->i2c_lock); in cy8c95x0_set_mux()
1359 mutex_init(&chip->i2c_lock); in cy8c95x0_probe()