VIA_REG_STATUS
while (!(readl(engine + VIA_REG_STATUS) &
while ((readl(engine + VIA_REG_STATUS) & mask) && (loop < MAXLOOP)) {