Searched refs:lp3943_gpio (Results 1 – 1 of 1) sorted by relevance
39 struct lp3943_gpio { struct47 struct lp3943_gpio *lp3943_gpio = gpiochip_get_data(chip); in lp3943_gpio_request() argument48 struct lp3943 *lp3943 = lp3943_gpio->lp3943; in lp3943_gpio_request()59 struct lp3943_gpio *lp3943_gpio = gpiochip_get_data(chip); in lp3943_gpio_free() local60 struct lp3943 *lp3943 = lp3943_gpio->lp3943; in lp3943_gpio_free()65 static int lp3943_gpio_set_mode(struct lp3943_gpio *lp3943_gpio, u8 offset, in lp3943_gpio_set_mode() argument68 struct lp3943 *lp3943 = lp3943_gpio->lp3943; in lp3943_gpio_set_mode()77 struct lp3943_gpio *lp3943_gpio = gpiochip_get_data(chip); in lp3943_gpio_direction_input() local79 lp3943_gpio->input_mask |= BIT(offset); in lp3943_gpio_direction_input()81 return lp3943_gpio_set_mode(lp3943_gpio, offset, LP3943_GPIO_IN); in lp3943_gpio_direction_input()[all …]