GPIO_PBDAT
reg = bus_space_read_4(s3sc->sc_iot, s3sc->sc_gpio_ioh, GPIO_PBDAT);
bus_space_write_4(s3sc->sc_iot, s3sc->sc_gpio_ioh, GPIO_PBDAT, reg);
#define READ_GPIO() bus_space_read_4(s3sc->sc_iot, s3sc->sc_gpio_ioh, GPIO_PBDAT)
#define WRITE_GPIO(val) bus_space_write_4(s3sc->sc_iot, s3sc->sc_gpio_ioh, GPIO_PBDAT, val)
#define pdatb (*(volatile uint8_t *)(S3C2440_GPIO_BASE+GPIO_PBDAT))
#define pdatb (*(volatile uint8_t *)(GPIO_VBASE+GPIO_PBDAT))
bus_space_write_2(iot, gpioh, GPIO_PBDAT,
bus_space_read_2(iot, gpioh, GPIO_PBDAT));
reg = bus_space_read_4(iot, gpioh, GPIO_PBDAT);
bus_space_write_4(iot, gpioh, GPIO_PBDAT, reg);
bus_space_write_4(iot, gpioh, GPIO_PBDAT, reg);
reg = bus_space_read_2(sc->iot, sc->gpioh, GPIO_PBDAT);
bus_space_write_2(sc->iot, sc->gpioh, GPIO_PBDAT,
reg = bus_space_read_2(sc->iot, sc->gpioh, GPIO_PBDAT);
bus_space_write_2(sc->iot, sc->gpioh, GPIO_PBDAT,
#define LED_REG (volatile uint16_t*)(S3C2440_GPIO_BASE+GPIO_PBDAT)