RIR_OFFSET
tmp_mb = RIR_OFFSET(pvt->info.type, reg) << 6;
rank_addr -= RIR_OFFSET(pvt->info.type, reg);