Lines Matching refs:D_FREG_MASK
364 while (((df->f1 & D_FREG_MASK) != (df->f2 & D_FREG_MASK)) && count--) { in receive_dmsg()
365 zp = &df->za[df->f2 & D_FREG_MASK]; in receive_dmsg()
382 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + rcnt) & (D_FIFO_SIZE - 1); in receive_dmsg()
403 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + total) & (D_FIFO_SIZE - 1); in receive_dmsg()
567 df->za[df->f1 & D_FREG_MASK].z1); in hfcpci_fill_dfifo()
580 count = df->za[df->f1 & D_FREG_MASK].z2 - df->za[df->f1 & D_FREG_MASK].z1; in hfcpci_fill_dfifo()
593 new_z1 = (df->za[df->f1 & D_FREG_MASK].z1 + count) & (D_FIFO_SIZE - 1); in hfcpci_fill_dfifo()
594 new_f1 = ((df->f1 + 1) & D_FREG_MASK) | (D_FREG_MASK + 1); in hfcpci_fill_dfifo()
596 dst = df->data + df->za[df->f1 & D_FREG_MASK].z1; in hfcpci_fill_dfifo()
597 maxlen = D_FIFO_SIZE - df->za[df->f1 & D_FREG_MASK].z1; /* end fifo */ in hfcpci_fill_dfifo()
610 df->za[new_f1 & D_FREG_MASK].z1 = new_z1; /* for next buffer */ in hfcpci_fill_dfifo()
611 df->za[df->f1 & D_FREG_MASK].z1 = new_z1; /* new pos actual buffer */ in hfcpci_fill_dfifo()