Lines Matching refs:gpio
26 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in cpu_init_f() local
40 setbits_8(&gpio->par_cs, GPIO_PAR_CS0_CS0); in cpu_init_f()
48 setbits_8(&gpio->par_cs, GPIO_PAR_CS1_CS1); in cpu_init_f()
70 setbits_8(&gpio->par_cs, GPIO_PAR_CS4); in cpu_init_f()
78 setbits_8(&gpio->par_cs, GPIO_PAR_CS5); in cpu_init_f()
85 out_8(&gpio->par_feci2c, in cpu_init_f()
118 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local
123 clrbits_8(&gpio->par_uart, in uart_port_conf()
125 setbits_8(&gpio->par_uart, in uart_port_conf()
130 clrbits_8(&gpio->par_simp1h, in uart_port_conf()
133 setbits_8(&gpio->par_simp1h, in uart_port_conf()
137 clrbits_8(&gpio->par_ssih, in uart_port_conf()
140 setbits_8(&gpio->par_ssih, in uart_port_conf()
147 setbits_8(&gpio->par_uart, in uart_port_conf()
151 clrbits_8(&gpio->par_dspih, in uart_port_conf()
154 setbits_8(&gpio->par_dspih, in uart_port_conf()
158 clrbits_8(&gpio->par_feci2c, in uart_port_conf()
161 setbits_8(&gpio->par_feci2c, in uart_port_conf()
172 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local
177 setbits_8(&gpio->par_fec, in fecpin_setclear()
179 setbits_8(&gpio->par_feci2c, in fecpin_setclear()
182 setbits_8(&gpio->par_fec, in fecpin_setclear()
184 setbits_8(&gpio->par_feci2c, in fecpin_setclear()
189 clrbits_8(&gpio->par_fec, in fecpin_setclear()
191 clrbits_8(&gpio->par_feci2c, ~GPIO_PAR_FECI2C_RMII0_UNMASK); in fecpin_setclear()
193 clrbits_8(&gpio->par_fec, in fecpin_setclear()
195 clrbits_8(&gpio->par_feci2c, ~GPIO_PAR_FECI2C_RMII1_UNMASK); in fecpin_setclear()
208 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in cpu_init_f() local
228 out_8(&gpio->par_cs, 0); in cpu_init_f()
240 setbits_8(&gpio->par_cs, GPIO_PAR_CS1); in cpu_init_f()
248 setbits_8(&gpio->par_cs, GPIO_PAR_CS2); in cpu_init_f()
256 setbits_8(&gpio->par_cs, GPIO_PAR_CS3); in cpu_init_f()
264 setbits_8(&gpio->par_cs, GPIO_PAR_CS4); in cpu_init_f()
272 setbits_8(&gpio->par_cs, GPIO_PAR_CS5); in cpu_init_f()
279 out_8(&gpio->par_feci2c, in cpu_init_f()
296 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local
301 clrbits_be16(&gpio->par_uart, in uart_port_conf()
303 setbits_be16(&gpio->par_uart, in uart_port_conf()
307 clrbits_be16(&gpio->par_uart, in uart_port_conf()
309 setbits_be16(&gpio->par_uart, in uart_port_conf()
314 clrbits_8(&gpio->par_timer, 0xf0); in uart_port_conf()
315 setbits_8(&gpio->par_timer, in uart_port_conf()
318 clrbits_8(&gpio->par_feci2c, 0x00ff); in uart_port_conf()
319 setbits_8(&gpio->par_feci2c, in uart_port_conf()
322 clrbits_be16(&gpio->par_ssi, 0x0f00); in uart_port_conf()
323 setbits_be16(&gpio->par_ssi, in uart_port_conf()
333 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local
336 setbits_8(&gpio->par_fec, in fecpin_setclear()
338 setbits_8(&gpio->par_feci2c, in fecpin_setclear()
341 clrbits_8(&gpio->par_fec, in fecpin_setclear()
343 clrbits_8(&gpio->par_feci2c, in fecpin_setclear()