Lines Matching refs:off2
106 u_short off2 = offset; in ReadISAC() local
110 off2 = ((off2 << 8 & 0xf000) | (off2 & 0xf)); in ReadISAC()
112 return (readreg(cs->hw.gazel.isac, off2)); in ReadISAC()
115 return (readreg_ipac(cs->hw.gazel.ipac, 0x80 + off2)); in ReadISAC()
123 u_short off2 = offset; in WriteISAC() local
127 off2 = ((off2 << 8 & 0xf000) | (off2 & 0xf)); in WriteISAC()
129 writereg(cs->hw.gazel.isac, off2, value); in WriteISAC()
133 writereg_ipac(cs->hw.gazel.ipac, 0x80 + off2, value); in WriteISAC()
201 u_short off2 = offset; in ReadHSCX() local
205 off2 = ((off2 << 8 & 0xf000) | (off2 & 0xf)); in ReadHSCX()
207 return (readreg(cs->hw.gazel.hscx[hscx], off2)); in ReadHSCX()
210 return (readreg_ipac(cs->hw.gazel.ipac, hscx * 0x40 + off2)); in ReadHSCX()
218 u_short off2 = offset; in WriteHSCX() local
222 off2 = ((off2 << 8 & 0xf000) | (off2 & 0xf)); in WriteHSCX()
224 writereg(cs->hw.gazel.hscx[hscx], off2, value); in WriteHSCX()
228 writereg_ipac(cs->hw.gazel.ipac, hscx * 0x40 + off2, value); in WriteHSCX()