Lines Matching defs:fifo
216 /* clear the desired B-channel rx fifo */
218 static void hfcpci_clear_fifo_rx(struct IsdnCardState *cs, int fifo)
222 if (fifo) {
232 cs->hw.hfcpci.last_bfifo_cnt[fifo] = 0;
243 /* clear the desired B-channel tx fifo */
245 static void hfcpci_clear_fifo_tx(struct IsdnCardState *cs, int fifo)
249 if (fifo) {
284 new_z2 = zp->z2 + count; /* new position in fifo */
418 new_z2 = *z2r + fcnt; /* new position in fifo */
560 debugl1(cs, "hfcpci_fill_Dfifo no fifo mem");
568 maxlen = D_FIFO_SIZE - df->za[df->f1 & D_FREG_MASK].z1; /* end fifo */
623 fcnt += B_FIFO_SIZE; /* fcnt contains available bytes in fifo */
628 /* data is suitable for fifo */
636 maxlen = (B_FIFO_SIZE + B_SUB_VAL) - *z1t; /* end of fifo */
694 debugl1(cs, "hfcpci_fill_fifo no fifo mem");
705 maxlen = (B_FIFO_SIZE + B_SUB_VAL) - bz->za[bz->f1].z1; /* end fifo */
866 new_z2 = zp->z2 + rcnt; /* new position in fifo */
1664 cs->hw.hfcpci.fifo = 255;
1714 "HFC-PCI: defined at mem %p fifo %p(%#x) IRQ %d HZ %d\n",