REG_GPIOx_DATA
return !!(reg & REG_GPIOx_DATA);
apple_gpio_set_reg(pctl, offset, REG_GPIOx_DATA, value ? REG_GPIOx_DATA : 0);
REG_GPIOx_PERIPH | REG_GPIOx_MODE | REG_GPIOx_DATA |
REG_GPIOx_PERIPH | REG_GPIOx_MODE | REG_GPIOx_DATA,
(value ? REG_GPIOx_DATA : 0));