Lines Matching defs:offset
19 static void bd71828_gpio_set(struct gpio_chip *chip, unsigned int offset,
30 if (offset == HALL_GPIO_OFFSET)
33 ret = regmap_update_bits(bdgpio->regmap, GPIO_OUT_REG(offset),
39 static int bd71828_gpio_get(struct gpio_chip *chip, unsigned int offset)
45 if (offset == HALL_GPIO_OFFSET)
49 ret = regmap_read(bdgpio->regmap, GPIO_OUT_REG(offset),
57 static int bd71828_gpio_set_config(struct gpio_chip *chip, unsigned int offset,
62 if (offset == HALL_GPIO_OFFSET)
68 GPIO_OUT_REG(offset),
73 GPIO_OUT_REG(offset),
82 static int bd71828_get_direction(struct gpio_chip *chip, unsigned int offset)
92 if (offset == HALL_GPIO_OFFSET)