HWS_REG_IN_RES
reg = readl(pdx->bar0_base + HWS_REG_IN_RES(vid->channel_index));
u32 reg = readl(pdx->bar0_base + HWS_REG_IN_RES(ch));