Lines Matching refs:gpio_regs
64 struct gpio_regs *gpio_regs = (struct gpio_regs *)gpio_reg_bases[port]; in kb1200_config_pin() local
72 WRITE_BIT(gpio_regs->GPIOFS, pin, 0); in kb1200_config_pin()
113 WRITE_BIT(gpio_regs->GPIOFS, pin, 1); in kb1200_config_pin()
116 WRITE_BIT(gpio_regs->GPIOIE, pin, 1); in kb1200_config_pin()
119 WRITE_BIT(gpio_regs->GPIOPU, pin, 0); in kb1200_config_pin()
120 WRITE_BIT(gpio_regs->GPIOPD, pin, 0); in kb1200_config_pin()
123 WRITE_BIT(gpio_regs->GPIOPU, pin, 1); in kb1200_config_pin()
126 WRITE_BIT(gpio_regs->GPIOPD, pin, 1); in kb1200_config_pin()
130 WRITE_BIT(gpio_regs->GPIOOE, pin, 0); in kb1200_config_pin()
133 WRITE_BIT(gpio_regs->GPIOOE, pin, 1); in kb1200_config_pin()
137 WRITE_BIT(gpio_regs->GPIOD, pin, 0); in kb1200_config_pin()
140 WRITE_BIT(gpio_regs->GPIOD, pin, 1); in kb1200_config_pin()
144 WRITE_BIT(gpio_regs->GPIOOD, pin, 0); in kb1200_config_pin()
147 WRITE_BIT(gpio_regs->GPIOOD, pin, 1); in kb1200_config_pin()
151 WRITE_BIT(gpio_regs->GPIOLV, pin, 1); in kb1200_config_pin()