Lines Matching refs:new_z1
679 int count, new_z1, maxlen; in hfcpci_fill_dfifo() local
723 new_z1 = (le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1) + count) & in hfcpci_fill_dfifo()
740 df->za[new_f1 & D_FREG_MASK].z1 = cpu_to_le16(new_z1); in hfcpci_fill_dfifo()
742 df->za[df->f1 & D_FREG_MASK].z1 = cpu_to_le16(new_z1); in hfcpci_fill_dfifo()
756 int count, new_z1; in hfcpci_fill_fifo() local
794 new_z1 = le16_to_cpu(*z1t) + count; in hfcpci_fill_fifo()
796 if (new_z1 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_fill_fifo()
797 new_z1 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_fill_fifo()
804 fcnt, maxlen, new_z1, dst); in hfcpci_fill_fifo()
813 *z1t = cpu_to_le16(new_z1); /* now send data */ in hfcpci_fill_fifo()
828 new_z1 = le16_to_cpu(*z1t) + count; in hfcpci_fill_fifo()
830 if (new_z1 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_fill_fifo()
831 new_z1 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_fill_fifo()
840 fcnt, maxlen, new_z1, dst); in hfcpci_fill_fifo()
852 *z1t = cpu_to_le16(new_z1); /* now send data */ in hfcpci_fill_fifo()
889 new_z1 = le16_to_cpu(bz->za[bz->f1].z1) + count; in hfcpci_fill_fifo()
891 if (new_z1 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_fill_fifo()
892 new_z1 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_fill_fifo()
909 bz->za[new_f1].z1 = cpu_to_le16(new_z1); /* for next buffer */ in hfcpci_fill_fifo()