Home
last modified time | relevance | path

Searched refs:gpch (Results 1 – 1 of 1) sorted by relevance

/arch/mips/rb532/
Dgpio.c88 struct rb532_gpio_chip *gpch; in rb532_gpio_get() local
90 gpch = container_of(chip, struct rb532_gpio_chip, chip); in rb532_gpio_get()
91 return rb532_get_bit(offset, gpch->regbase + GPIOD); in rb532_gpio_get()
100 struct rb532_gpio_chip *gpch; in rb532_gpio_set() local
102 gpch = container_of(chip, struct rb532_gpio_chip, chip); in rb532_gpio_set()
103 rb532_set_bit(value, offset, gpch->regbase + GPIOD); in rb532_gpio_set()
111 struct rb532_gpio_chip *gpch; in rb532_gpio_direction_input() local
113 gpch = container_of(chip, struct rb532_gpio_chip, chip); in rb532_gpio_direction_input()
116 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC); in rb532_gpio_direction_input()
118 rb532_set_bit(0, offset, gpch->regbase + GPIOCFG); in rb532_gpio_direction_input()
[all …]