Lines Matching refs:gpio_mutex
113 struct mutex gpio_mutex; /* lock for gpio access */ member
222 mutex_lock(&st->gpio_mutex); in ltc2992_gpio_get()
224 mutex_unlock(&st->gpio_mutex); in ltc2992_gpio_get()
242 mutex_lock(&st->gpio_mutex); in ltc2992_gpio_get_multiple()
244 mutex_unlock(&st->gpio_mutex); in ltc2992_gpio_get_multiple()
265 mutex_lock(&st->gpio_mutex); in ltc2992_gpio_set()
268 mutex_unlock(&st->gpio_mutex); in ltc2992_gpio_set()
276 mutex_unlock(&st->gpio_mutex); in ltc2992_gpio_set()
295 mutex_lock(&st->gpio_mutex); in ltc2992_gpio_set_multiple()
298 mutex_unlock(&st->gpio_mutex); in ltc2992_gpio_set_multiple()
312 mutex_init(&st->gpio_mutex); in ltc2992_config_gpio()