Home
last modified time | relevance | path

Searched refs:lp3943_gpio (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-lp3943.c39 struct lp3943_gpio { struct
47 struct lp3943_gpio *lp3943_gpio = gpiochip_get_data(chip); in lp3943_gpio_request() argument
48 struct lp3943 *lp3943 = lp3943_gpio->lp3943; in lp3943_gpio_request()
59 struct lp3943_gpio *lp3943_gpio = gpiochip_get_data(chip); in lp3943_gpio_free() local
60 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() argument
68 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() local
79 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 …]