Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpio-tps6586x.c36 struct tps6586x_gpio { struct
41 static inline struct tps6586x_gpio *to_tps6586x_gpio(struct gpio_chip *chip) in to_tps6586x_gpio() argument
43 return container_of(chip, struct tps6586x_gpio, gpio_chip); in to_tps6586x_gpio()
48 struct tps6586x_gpio *tps6586x_gpio = to_tps6586x_gpio(gc); in tps6586x_gpio_get() local
52 ret = tps6586x_read(tps6586x_gpio->parent, TPS6586X_GPIOSET2, &val); in tps6586x_gpio_get()
62 struct tps6586x_gpio *tps6586x_gpio = to_tps6586x_gpio(gc); in tps6586x_gpio_set() local
64 tps6586x_update(tps6586x_gpio->parent, TPS6586X_GPIOSET2, in tps6586x_gpio_set()
71 struct tps6586x_gpio *tps6586x_gpio = to_tps6586x_gpio(gc); in tps6586x_gpio_output() local
79 return tps6586x_update(tps6586x_gpio->parent, TPS6586X_GPIOSET1, in tps6586x_gpio_output()
85 struct tps6586x_gpio *tps6586x_gpio = to_tps6586x_gpio(gc); in tps6586x_gpio_to_irq() local
[all …]