Searched refs:tps6586x_gpio (Results 1 – 1 of 1) sorted by relevance
36 struct tps6586x_gpio { struct41 static inline struct tps6586x_gpio *to_tps6586x_gpio(struct gpio_chip *chip) in to_tps6586x_gpio() argument43 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() local52 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() local64 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() local79 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 …]