Searched refs:D_FREG_MASK (Results 1 – 5 of 5) sorted by relevance
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()362 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + rcnt) & (D_FIFO_SIZE - 1); in receive_dmsg()383 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + total) & (D_FIFO_SIZE - 1); in receive_dmsg()535 df->za[df->f1 & D_FREG_MASK].z1); 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()561 new_z1 = (df->za[df->f1 & D_FREG_MASK].z1 + count) & (D_FIFO_SIZE - 1); in hfcpci_fill_dfifo()562 new_f1 = ((df->f1 + 1) & D_FREG_MASK) | (D_FREG_MASK + 1); in hfcpci_fill_dfifo()564 dst = df->data + df->za[df->f1 & D_FREG_MASK].z1; in hfcpci_fill_dfifo()565 maxlen = D_FIFO_SIZE - df->za[df->f1 & D_FREG_MASK].z1; /* end fifo */ in hfcpci_fill_dfifo()[all …]
186 #define D_FREG_MASK 0xF macro
183 #define D_FREG_MASK 0xF macro
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()502 df->za[df->f2 & D_FREG_MASK].z2 = in receive_dmsg()534 df->za[df->f2 & D_FREG_MASK].z2 = cpu_to_le16(( in receive_dmsg()695 le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1)); in hfcpci_fill_dfifo()709 maxlen = le16_to_cpu(df->za[df->f2 & D_FREG_MASK].z2) - in hfcpci_fill_dfifo()710 le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1) - 1; in hfcpci_fill_dfifo()722 new_z1 = (le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1) + count) & in hfcpci_fill_dfifo()724 new_f1 = ((df->f1 + 1) & D_FREG_MASK) | (D_FREG_MASK + 1); in hfcpci_fill_dfifo()726 dst = df->data + le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1); in hfcpci_fill_dfifo()[all …]