GPMC_STATUS
if (gpmc_read_reg(GPMC_STATUS) & GPMC_STATUS_EMPTYWRITEBUFFERSTATUS)
reg = gpmc_read_reg(GPMC_STATUS) & BIT(offset);