• Home
  • Raw
  • Download

Lines Matching refs:f2

234 	bzr->f2 = bzr->f1;	/* init F pointers to remain constant */  in hfcpci_clear_fifo_rx()
260 bzt->f2 = bzt->f1; /* init F pointers to remain constant */ in hfcpci_clear_fifo_tx()
281 zp = &bz->za[bz->f2]; /* point to Z-Regs */ in hfcpci_empty_fifo()
285 new_f2 = (bz->f2 + 1) & MAX_B_FRAMES; in hfcpci_empty_fifo()
294 bz->f2 = new_f2; /* next buffer */ in hfcpci_empty_fifo()
318 bz->f2 = new_f2; /* next buffer */ in hfcpci_empty_fifo()
344 while (((df->f1 & D_FREG_MASK) != (df->f2 & D_FREG_MASK)) && count--) { in receive_dmsg()
345 zp = &df->za[df->f2 & D_FREG_MASK]; in receive_dmsg()
352 df->f1, df->f2, zp->z1, zp->z2, rcnt); in receive_dmsg()
361 df->f2 = ((df->f2 + 1) & MAX_D_FRAMES) | (MAX_D_FRAMES + 1); /* next buffer */ in receive_dmsg()
362 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + rcnt) & (D_FIFO_SIZE - 1); in receive_dmsg()
382 df->f2 = ((df->f2 + 1) & MAX_D_FRAMES) | (MAX_D_FRAMES + 1); /* next buffer */ in receive_dmsg()
383 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + total) & (D_FIFO_SIZE - 1); in receive_dmsg()
476 if (bz->f1 != bz->f2) { in main_rec_hfcpci()
479 bcs->channel, bz->f1, bz->f2); in main_rec_hfcpci()
480 zp = &bz->za[bz->f2]; in main_rec_hfcpci()
493 rcnt = bz->f1 - bz->f2; in main_rec_hfcpci()
534 df->f1, df->f2, in hfcpci_fill_dfifo()
536 fcnt = df->f1 - df->f2; /* frame count actually buffered */ in hfcpci_fill_dfifo()
548 count = df->za[df->f2 & D_FREG_MASK].z2 - df->za[df->f1 & D_FREG_MASK].z1 - 1; in hfcpci_fill_dfifo()
667 bcs->channel, bz->f1, bz->f2, in hfcpci_fill_fifo()
670 fcnt = bz->f1 - bz->f2; /* frame count actually buffered */ in hfcpci_fill_fifo()
679 count = bz->za[bz->f2].z2 - bz->za[bz->f1].z1 - 1; in hfcpci_fill_fifo()
848 if (bz->f1 != bz->f2) { in receive_emsg()
851 bz->f1, bz->f2); in receive_emsg()
852 zp = &bz->za[bz->f2]; in receive_emsg()
864 new_f2 = (bz->f2 + 1) & MAX_B_FRAMES; in receive_emsg()
870 bz->f2 = new_f2; /* next buffer */ in receive_emsg()
891 bz->f2 = new_f2; /* next buffer */ in receive_emsg()
910 rcnt = bz->f1 - bz->f2; in receive_emsg()