Lines Matching defs:offset
34 unsigned int offset, unsigned int *reg,
49 unsigned int base, unsigned int offset,
52 unsigned int line = offset % gpio->ngpio_per_reg;
53 unsigned int stride = offset / gpio->ngpio_per_reg;
61 static int gpio_regmap_get(struct gpio_chip *chip, unsigned int offset)
73 ret = gpio->reg_mask_xlate(gpio, base, offset, ®, &mask);
84 static void gpio_regmap_set(struct gpio_chip *chip, unsigned int offset,
91 gpio->reg_mask_xlate(gpio, base, offset, ®, &mask);
99 unsigned int offset, int val)
109 gpio->reg_mask_xlate(gpio, base, offset, ®, &mask);
114 unsigned int offset)
135 ret = gpio->reg_mask_xlate(gpio, base, offset, ®, &mask);
150 unsigned int offset, bool output)
166 ret = gpio->reg_mask_xlate(gpio, base, offset, ®, &mask);
179 unsigned int offset)
181 return gpio_regmap_set_direction(chip, offset, false);
185 unsigned int offset, int value)
187 gpio_regmap_set(chip, offset, value);
189 return gpio_regmap_set_direction(chip, offset, true);