Lines Matching defs:offset
24 unsigned offset)
30 ret = regmap_read(gpio->tps->regmap, TPS65912_GPIO1 + offset, &val);
40 static int tps65912_gpio_direction_input(struct gpio_chip *gc, unsigned offset)
44 return regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset,
49 unsigned offset, int value)
54 regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset,
57 return regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset,
61 static int tps65912_gpio_get(struct gpio_chip *gc, unsigned offset)
66 ret = regmap_read(gpio->tps->regmap, TPS65912_GPIO1 + offset, &val);
76 static void tps65912_gpio_set(struct gpio_chip *gc, unsigned offset,
81 regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset,