readx
return readx(imc->mbase + imc->chan_mmio_sz * chan + offset, width);
r->val = readx(r->vbase + r->offset, r->width);