SUNXI_GPIO_GRP_CONFIG
val = GPIO_READ(sc, SUNXI_GPIO_GRP_CONFIG(pin_def->port));
GPIO_WRITE(sc, SUNXI_GPIO_GRP_CONFIG(pin_def->port), val);