Lines Matching refs:gpio_regs

109 	struct lpc11u6x_gpio_regs *gpio_regs = (struct lpc11u6x_gpio_regs *)  in gpio_lpc11u6x_pin_configure()  local
168 gpio_regs->set[port_num] |= BIT(pin); in gpio_lpc11u6x_pin_configure()
172 gpio_regs->clr[port_num] |= BIT(pin); in gpio_lpc11u6x_pin_configure()
181 WRITE_BIT(gpio_regs->dir[port_num], pin, flags & GPIO_OUTPUT); in gpio_lpc11u6x_pin_configure()
190 struct lpc11u6x_gpio_regs *gpio_regs = (struct lpc11u6x_gpio_regs *) in gpio_lpc11u6x_port_get_raw() local
193 *value = gpio_regs->pin[config->port_num]; in gpio_lpc11u6x_port_get_raw()
203 struct lpc11u6x_gpio_regs *gpio_regs = (struct lpc11u6x_gpio_regs *) in gpio_lpc11u6x_port_set_masked_raw() local
208 orig_mask = gpio_regs->mask[port_num]; in gpio_lpc11u6x_port_set_masked_raw()
210 gpio_regs->mask[port_num] = ~mask; in gpio_lpc11u6x_port_set_masked_raw()
213 gpio_regs->mpin[port_num] = value; in gpio_lpc11u6x_port_set_masked_raw()
216 gpio_regs->mask[port_num] = orig_mask; in gpio_lpc11u6x_port_set_masked_raw()
226 struct lpc11u6x_gpio_regs *gpio_regs = (struct lpc11u6x_gpio_regs *) in gpio_lpc11u6x_port_set_bits_raw() local
229 gpio_regs->set[config->port_num] = pins; in gpio_lpc11u6x_port_set_bits_raw()
238 struct lpc11u6x_gpio_regs *gpio_regs = (struct lpc11u6x_gpio_regs *) in gpio_lpc11u6x_port_clear_bits_raw() local
241 gpio_regs->clr[config->port_num] = pins; in gpio_lpc11u6x_port_clear_bits_raw()
250 struct lpc11u6x_gpio_regs *gpio_regs = (struct lpc11u6x_gpio_regs *) in gpio_lpc11u6x_port_toggle_bits() local
253 gpio_regs->not[config->port_num] = pins; in gpio_lpc11u6x_port_toggle_bits()