Lines Matching defs:fcnt
665 int fcnt;
684 fcnt = df->f1 - df->f2; /* frame count actually buffered */
685 if (fcnt < 0)
686 fcnt += (MAX_D_FRAMES + 1); /* if wrap around */
687 if (fcnt > (MAX_D_FRAMES - 1)) {
742 int maxlen, fcnt;
774 fcnt = le16_to_cpu(*z2t) - le16_to_cpu(*z1t);
775 if (fcnt <= 0)
776 fcnt += B_FIFO_SIZE;
778 /* fcnt contains available bytes in fifo */
779 if (count > fcnt)
780 count = fcnt;
790 "fcnt(%d) maxl(%d) nz1(%x) dst(%p)\n",
791 fcnt, maxlen, new_z1, dst);
803 /* fcnt contains available bytes in fifo */
804 fcnt = B_FIFO_SIZE - fcnt;
810 if (count > (poll << 1) - fcnt)
811 count = (poll << 1) - fcnt;
825 printk(KERN_DEBUG "hfcpci_FFt fcnt(%d) "
827 fcnt, maxlen, new_z1, dst);
828 fcnt += count;
852 fcnt = bz->f1 - bz->f2; /* frame count actually buffered */
853 if (fcnt < 0)
854 fcnt += (MAX_B_FRAMES + 1); /* if wrap around */
855 if (fcnt > (MAX_B_FRAMES - 1)) {