MGCONTROL
val = (mgiic_read(sc, MGCONTROL) | on) & ~off;
mgiic_write(sc, MGCONTROL, val);
if (mgiic_read(sc, MGCONTROL) & MGCONTROL_IFLG)