Lines Matching refs:f2
351 bzr->f2 = bzr->f1; /* init F pointers to remain constant */ in hfcpci_clear_fifo_rx()
381 fifo, bzt->f1, bzt->f2, in hfcpci_clear_fifo_tx()
385 bzt->f2 = MAX_B_FRAMES; in hfcpci_clear_fifo_tx()
386 bzt->f1 = bzt->f2; /* init F pointers to remain constant */ in hfcpci_clear_fifo_tx()
395 fifo, bzt->f1, bzt->f2, in hfcpci_clear_fifo_tx()
413 zp = &bz->za[bz->f2]; /* point to Z-Regs */ in hfcpci_empty_bfifo()
417 new_f2 = (bz->f2 + 1) & MAX_B_FRAMES; in hfcpci_empty_bfifo()
427 bz->f2 = new_f2; /* next buffer */ in hfcpci_empty_bfifo()
455 bz->f2 = new_f2; /* next buffer */ in hfcpci_empty_bfifo()
475 while (((df->f1 & D_FREG_MASK) != (df->f2 & D_FREG_MASK)) && count--) { in receive_dmsg()
476 zp = &df->za[df->f2 & D_FREG_MASK]; in receive_dmsg()
484 df->f1, df->f2, in receive_dmsg()
500 df->f2 = ((df->f2 + 1) & MAX_D_FRAMES) | in receive_dmsg()
502 df->za[df->f2 & D_FREG_MASK].z2 = in receive_dmsg()
532 df->f2 = ((df->f2 + 1) & MAX_D_FRAMES) | in receive_dmsg()
534 df->za[df->f2 & D_FREG_MASK].z2 = cpu_to_le16(( in receive_dmsg()
632 if (rxbz->f1 != rxbz->f2) { in main_rec_hfcpci()
635 bch->nr, rxbz->f1, rxbz->f2); in main_rec_hfcpci()
636 zp = &rxbz->za[rxbz->f2]; in main_rec_hfcpci()
648 rcnt = rxbz->f1 - rxbz->f2; in main_rec_hfcpci()
694 df->f1, df->f2, in hfcpci_fill_dfifo()
696 fcnt = df->f1 - df->f2; /* frame count actually buffered */ in hfcpci_fill_dfifo()
709 maxlen = le16_to_cpu(df->za[df->f2 & D_FREG_MASK].z2) - in hfcpci_fill_dfifo()
863 __func__, bch->nr, bz->f1, bz->f2, in hfcpci_fill_fifo()
865 fcnt = bz->f1 - bz->f2; /* frame count actually buffered */ in hfcpci_fill_fifo()
875 maxlen = le16_to_cpu(bz->za[bz->f2].z2) - in hfcpci_fill_fifo()