Lines Matching refs:gpio_lock
194 struct mutex gpio_lock; /* Protect cached dir, dat_out */ member
224 mutex_lock(&kpad->gpio_lock); in adp5588_gpio_get_value()
231 mutex_unlock(&kpad->gpio_lock); in adp5588_gpio_get_value()
243 mutex_lock(&kpad->gpio_lock); in adp5588_gpio_set_value()
252 mutex_unlock(&kpad->gpio_lock); in adp5588_gpio_set_value()
275 mutex_lock(&kpad->gpio_lock); in adp5588_gpio_set_config()
285 mutex_unlock(&kpad->gpio_lock); in adp5588_gpio_set_config()
297 mutex_lock(&kpad->gpio_lock); in adp5588_gpio_direction_input()
302 mutex_unlock(&kpad->gpio_lock); in adp5588_gpio_direction_input()
315 mutex_lock(&kpad->gpio_lock); in adp5588_gpio_direction_output()
332 mutex_unlock(&kpad->gpio_lock); in adp5588_gpio_direction_output()
363 mutex_lock(&kpad->gpio_lock); in adp5588_irq_bus_lock()
379 mutex_unlock(&kpad->gpio_lock); in adp5588_irq_bus_sync_unlock()
454 mutex_init(&kpad->gpio_lock); in adp5588_gpio_add()