/src/sys/arch/arm/s3c2xx0/ |
s3c2410_spi.c | 167 uint32_t pgcon, pecon; local in function:s3c24x0_spi_setup 184 pgcon = bus_space_read_4(iot, gpioh, GPIO_PGCON); 185 pgcon = GPIO_SET_FUNC(pgcon, 2, PCON_ALTFUN2); 186 bus_space_write_4(iot, gpioh, GPIO_PGCON, pgcon); 196 pgcon = bus_space_read_4(iot, gpioh, GPIO_PGCON); 199 pgcon = GPIO_SET_FUNC(pgcon, 3, PCON_ALTFUN2); 201 pgcon = GPIO_SET_FUNC(pgcon, 5, PCON_ALTFUN2); /* SPIMISO1 * [all...] |
s3c2440_spi.c | 209 uint32_t pgcon, pecon, peup; local in function:s3c24x0_spi_setup 225 pgcon = bus_space_read_4(iot, gpioh, GPIO_PGCON); 226 pgcon = GPIO_SET_FUNC(pgcon, 2, PCON_ALTFUN2); 227 bus_space_write_4(iot, gpioh, GPIO_PGCON, pgcon); 248 pgcon = bus_space_read_4(iot, gpioh, GPIO_PGCON); 251 pgcon = GPIO_SET_FUNC(pgcon, 3, PCON_ALTFUN2); 253 pgcon = GPIO_SET_FUNC(pgcon, 5, PCON_ALTFUN2); /* SPIMISO1 * [all...] |