Lines Matching refs:i2c_lock
198 struct mutex i2c_lock; member
527 mutex_lock(&chip->i2c_lock); in pca953x_gpio_direction_input()
529 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_direction_input()
542 mutex_lock(&chip->i2c_lock); in pca953x_gpio_direction_output()
551 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_direction_output()
563 mutex_lock(&chip->i2c_lock); in pca953x_gpio_get_value()
565 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_get_value()
578 mutex_lock(&chip->i2c_lock); in pca953x_gpio_set_value()
580 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_set_value()
591 mutex_lock(&chip->i2c_lock); in pca953x_gpio_get_direction()
593 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_get_direction()
610 mutex_lock(&chip->i2c_lock); in pca953x_gpio_get_multiple()
612 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_get_multiple()
627 mutex_lock(&chip->i2c_lock); in pca953x_gpio_set_multiple()
636 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_set_multiple()
657 mutex_lock(&chip->i2c_lock); in pca953x_gpio_set_pull_up_down()
676 mutex_unlock(&chip->i2c_lock); in pca953x_gpio_set_pull_up_down()
907 mutex_lock(&chip->i2c_lock); in pca953x_irq_handler()
909 mutex_unlock(&chip->i2c_lock); in pca953x_irq_handler()
1150 mutex_init(&chip->i2c_lock); in pca953x_probe()
1167 lockdep_set_subclass(&chip->i2c_lock, in pca953x_probe()
1272 mutex_lock(&chip->i2c_lock); in pca953x_suspend()
1274 mutex_unlock(&chip->i2c_lock); in pca953x_suspend()
1297 mutex_lock(&chip->i2c_lock); in pca953x_resume()
1302 mutex_unlock(&chip->i2c_lock); in pca953x_resume()
1307 mutex_unlock(&chip->i2c_lock); in pca953x_resume()