rk_gpio_read_bit
if (rk_gpio_read_bit(sc, RK_GPIO_EXT_PORTA, pin))
*val = rk_gpio_read_bit(sc, RK_GPIO_EXT_PORTA, pin);