Lines Matching refs:f1
147 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2) in GetFreeFifoBytes_B()
149 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2]; in GetFreeFifoBytes_B()
161 if (cs->hw.hfcD.f1 == cs->hw.hfcD.f2) in GetFreeFifoBytes_D()
163 s = cs->hw.hfcD.send[cs->hw.hfcD.f1] - cs->hw.hfcD.send[cs->hw.hfcD.f2]; in GetFreeFifoBytes_D()
275 bcs->hw.hfc.f1 = ReadReg(cs, HFCD_DATA, cip); in hfc_fill_fifo()
280 …bcs->hw.hfc.send[bcs->hw.hfc.f1] = ReadZReg(cs, HFCB_FIFO | HFCB_Z1 | HFCB_SEND | HFCB_CHANNEL(bcs… in hfc_fill_fifo()
283 bcs->channel, bcs->hw.hfc.f1, bcs->hw.hfc.f2, in hfc_fill_fifo()
284 bcs->hw.hfc.send[bcs->hw.hfc.f1]); in hfc_fill_fifo()
285 fcnt = bcs->hw.hfc.f1 - bcs->hw.hfc.f2; in hfc_fill_fifo()
355 u_char f1, f2, cip; in main_rec_2bds0() local
368 f1 = ReadReg(cs, HFCD_DATA, cip); in main_rec_2bds0()
372 if (f1 != f2) { in main_rec_2bds0()
375 bcs->channel, f1, f2); in main_rec_2bds0()
389 rcnt = f1 - f2; in main_rec_2bds0()
592 u_char stat, cip, f1, f2; in receive_dmsg() local
604 f1 = cs->readisac(cs, cip) & 0xf; in receive_dmsg()
608 while ((f1 != f2) && count--) { in receive_dmsg()
617 f1, f2, z1, z2, rcnt); in receive_dmsg()
703 cs->hw.hfcD.f1 = ReadReg(cs, HFCD_DATA, cip) & 0xf; in hfc_fill_dfifo()
707 cs->hw.hfcD.send[cs->hw.hfcD.f1] = ReadZReg(cs, HFCD_FIFO | HFCD_Z1 | HFCD_SEND); in hfc_fill_dfifo()
710 cs->hw.hfcD.f1, cs->hw.hfcD.f2, in hfc_fill_dfifo()
711 cs->hw.hfcD.send[cs->hw.hfcD.f1]); in hfc_fill_dfifo()
712 fcnt = cs->hw.hfcD.f1 - cs->hw.hfcD.f2; in hfc_fill_dfifo()