Lines Matching refs:new_z1
666 int count, new_z1, maxlen; in hfcpci_fill_dfifo() local
710 new_z1 = (le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1) + count) & in hfcpci_fill_dfifo()
727 df->za[new_f1 & D_FREG_MASK].z1 = cpu_to_le16(new_z1); in hfcpci_fill_dfifo()
729 df->za[df->f1 & D_FREG_MASK].z1 = cpu_to_le16(new_z1); in hfcpci_fill_dfifo()
743 int count, new_z1; in hfcpci_fill_fifo() local
781 new_z1 = le16_to_cpu(*z1t) + count; in hfcpci_fill_fifo()
783 if (new_z1 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_fill_fifo()
784 new_z1 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_fill_fifo()
791 fcnt, maxlen, new_z1, dst); in hfcpci_fill_fifo()
800 *z1t = cpu_to_le16(new_z1); /* now send data */ in hfcpci_fill_fifo()
815 new_z1 = le16_to_cpu(*z1t) + count; in hfcpci_fill_fifo()
817 if (new_z1 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_fill_fifo()
818 new_z1 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_fill_fifo()
827 fcnt, maxlen, new_z1, dst); in hfcpci_fill_fifo()
839 *z1t = cpu_to_le16(new_z1); /* now send data */ in hfcpci_fill_fifo()
876 new_z1 = le16_to_cpu(bz->za[bz->f1].z1) + count; in hfcpci_fill_fifo()
878 if (new_z1 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_fill_fifo()
879 new_z1 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_fill_fifo()
896 bz->za[new_f1].z1 = cpu_to_le16(new_z1); /* for next buffer */ in hfcpci_fill_fifo()