Lines Matching refs:gpio_regs
26 struct gpio_regs *regs;
30 struct gpio_regs *regs;
64 struct gpio_regs *regs; in mxc_gpio_direction()
72 regs = (struct gpio_regs *)gpio_ports[port]; in mxc_gpio_direction()
91 struct gpio_regs *regs; in gpio_set_value()
99 regs = (struct gpio_regs *)gpio_ports[port]; in gpio_set_value()
114 struct gpio_regs *regs; in gpio_get_value()
122 regs = (struct gpio_regs *)gpio_ports[port]; in gpio_get_value()
160 static int mxc_gpio_is_output(struct gpio_regs *regs, int offset) in mxc_gpio_is_output()
169 static void mxc_gpio_bank_direction(struct gpio_regs *regs, int offset, in mxc_gpio_bank_direction()
186 static void mxc_gpio_bank_set_value(struct gpio_regs *regs, int offset, in mxc_gpio_bank_set_value()
199 static int mxc_gpio_bank_get_value(struct gpio_regs *regs, int offset) in mxc_gpio_bank_get_value()
321 plat->regs = (struct gpio_regs *)addr; in mxc_gpio_bind()
345 { 0, (struct gpio_regs *)GPIO1_BASE_ADDR },
346 { 1, (struct gpio_regs *)GPIO2_BASE_ADDR },
347 { 2, (struct gpio_regs *)GPIO3_BASE_ADDR },
351 { 3, (struct gpio_regs *)GPIO4_BASE_ADDR },
355 { 4, (struct gpio_regs *)GPIO5_BASE_ADDR },
357 { 5, (struct gpio_regs *)GPIO6_BASE_ADDR },
361 { 6, (struct gpio_regs *)GPIO7_BASE_ADDR },