Searched refs:gpch (Results 1 – 2 of 2) sorted by relevance
/arch/mips/ar7/ |
D | gpio.c | 33 struct ar7_gpio_chip *gpch = in ar7_gpio_get_value() local 35 void __iomem *gpio_in = gpch->regs + AR7_GPIO_INPUT; in ar7_gpio_get_value() 42 struct ar7_gpio_chip *gpch = in titan_gpio_get_value() local 44 void __iomem *gpio_in0 = gpch->regs + TITAN_GPIO_INPUT_0; in titan_gpio_get_value() 45 void __iomem *gpio_in1 = gpch->regs + TITAN_GPIO_INPUT_1; in titan_gpio_get_value() 53 struct ar7_gpio_chip *gpch = in ar7_gpio_set_value() local 55 void __iomem *gpio_out = gpch->regs + AR7_GPIO_OUTPUT; in ar7_gpio_set_value() 67 struct ar7_gpio_chip *gpch = in titan_gpio_set_value() local 69 void __iomem *gpio_out0 = gpch->regs + TITAN_GPIO_OUTPUT_0; in titan_gpio_set_value() 70 void __iomem *gpio_out1 = gpch->regs + TITAN_GPIO_OUTPUT_1; in titan_gpio_set_value() [all …]
|
/arch/mips/rb532/ |
D | gpio.c | 89 struct rb532_gpio_chip *gpch; in rb532_gpio_get() local 91 gpch = container_of(chip, struct rb532_gpio_chip, chip); in rb532_gpio_get() 92 return rb532_get_bit(offset, gpch->regbase + GPIOD); in rb532_gpio_get() 101 struct rb532_gpio_chip *gpch; in rb532_gpio_set() local 103 gpch = container_of(chip, struct rb532_gpio_chip, chip); in rb532_gpio_set() 104 rb532_set_bit(value, offset, gpch->regbase + GPIOD); in rb532_gpio_set() 112 struct rb532_gpio_chip *gpch; in rb532_gpio_direction_input() local 114 gpch = container_of(chip, struct rb532_gpio_chip, chip); in rb532_gpio_direction_input() 117 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC); in rb532_gpio_direction_input() 119 rb532_set_bit(0, offset, gpch->regbase + GPIOCFG); in rb532_gpio_direction_input() [all …]
|