Lines Matching refs:gpch
88 struct rb532_gpio_chip *gpch;
90 gpch = container_of(chip, struct rb532_gpio_chip, chip);
91 return rb532_get_bit(offset, gpch->regbase + GPIOD);
100 struct rb532_gpio_chip *gpch;
102 gpch = container_of(chip, struct rb532_gpio_chip, chip);
103 rb532_set_bit(value, offset, gpch->regbase + GPIOD);
111 struct rb532_gpio_chip *gpch;
113 gpch = container_of(chip, struct rb532_gpio_chip, chip);
116 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC);
118 rb532_set_bit(0, offset, gpch->regbase + GPIOCFG);
128 struct rb532_gpio_chip *gpch;
130 gpch = container_of(chip, struct rb532_gpio_chip, chip);
133 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC);
136 rb532_set_bit(value, offset, gpch->regbase + GPIOD);
138 rb532_set_bit(1, offset, gpch->regbase + GPIOCFG);