Searched refs:new_z1 (Results 1 – 2 of 2) sorted by relevance
680 int count, new_z1, maxlen; in hfcpci_fill_dfifo() local724 new_z1 = (le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1) + count) & in hfcpci_fill_dfifo()741 df->za[new_f1 & D_FREG_MASK].z1 = cpu_to_le16(new_z1); in hfcpci_fill_dfifo()743 df->za[df->f1 & D_FREG_MASK].z1 = cpu_to_le16(new_z1); in hfcpci_fill_dfifo()757 int count, new_z1; in hfcpci_fill_fifo() local795 new_z1 = le16_to_cpu(*z1t) + count; in hfcpci_fill_fifo()797 if (new_z1 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_fill_fifo()798 new_z1 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_fill_fifo()805 fcnt, maxlen, new_z1, dst); in hfcpci_fill_fifo()814 *z1t = cpu_to_le16(new_z1); /* now send data */ in hfcpci_fill_fifo()[all …]
522 int count, new_z1, maxlen; in hfcpci_fill_dfifo() local562 new_z1 = (df->za[df->f1 & D_FREG_MASK].z1 + count) & (D_FIFO_SIZE - 1); in hfcpci_fill_dfifo()577 df->za[new_f1 & D_FREG_MASK].z1 = new_z1; /* for next buffer */ in hfcpci_fill_dfifo()578 df->za[df->f1 & D_FREG_MASK].z1 = new_z1; /* new pos actual buffer */ in hfcpci_fill_dfifo()593 int count, new_z1; in hfcpci_fill_fifo() local628 new_z1 = *z1t + count; /* new buffer Position */ in hfcpci_fill_fifo()629 if (new_z1 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_fill_fifo()630 new_z1 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_fill_fifo()646 *z1t = new_z1; /* now send data */ in hfcpci_fill_fifo()695 new_z1 = bz->za[bz->f1].z1 + count; /* new buffer Position */ in hfcpci_fill_fifo()[all …]