Searched refs:rb532_gpio_chip (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/mips/rb532/
H A Dgpio.c40 struct rb532_gpio_chip { struct
89 struct rb532_gpio_chip *gpch; rb532_gpio_get()
91 gpch = container_of(chip, struct rb532_gpio_chip, chip); rb532_gpio_get()
101 struct rb532_gpio_chip *gpch; rb532_gpio_set()
103 gpch = container_of(chip, struct rb532_gpio_chip, chip); rb532_gpio_set()
112 struct rb532_gpio_chip *gpch; rb532_gpio_direction_input()
114 gpch = container_of(chip, struct rb532_gpio_chip, chip); rb532_gpio_direction_input()
129 struct rb532_gpio_chip *gpch; rb532_gpio_direction_output()
131 gpch = container_of(chip, struct rb532_gpio_chip, chip); rb532_gpio_direction_output()
143 static struct rb532_gpio_chip rb532_gpio_chip[] = { variable in typeref:struct:rb532_gpio_chip
162 rb532_set_bit(bit, gpio, rb532_gpio_chip->regbase + GPIOILEVEL); rb532_gpio_set_ilevel()
171 rb532_set_bit(bit, gpio, rb532_gpio_chip->regbase + GPIOISTAT); rb532_gpio_set_istat()
180 rb532_set_bit(1, gpio, rb532_gpio_chip->regbase + GPIOFUNC); rb532_gpio_set_func()
189 rb532_gpio_chip->regbase = ioremap_nocache(r->start, resource_size(r)); rb532_gpio_init()
191 if (!rb532_gpio_chip->regbase) { rb532_gpio_init()
197 gpiochip_add(&rb532_gpio_chip->chip); rb532_gpio_init()

Completed in 104 milliseconds