Home
last modified time | relevance | path

Searched refs:new_z1 (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfcpci.c679 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()
[all …]
/linux-4.4.14/drivers/isdn/hisax/
Dhfc_pci.c521 int count, new_z1, maxlen; in hfcpci_fill_dfifo() local
561 new_z1 = (df->za[df->f1 & D_FREG_MASK].z1 + count) & (D_FIFO_SIZE - 1); in hfcpci_fill_dfifo()
576 df->za[new_f1 & D_FREG_MASK].z1 = new_z1; /* for next buffer */ in hfcpci_fill_dfifo()
577 df->za[df->f1 & D_FREG_MASK].z1 = new_z1; /* new pos actual buffer */ in hfcpci_fill_dfifo()
592 int count, new_z1; in hfcpci_fill_fifo() local
627 new_z1 = *z1t + count; /* new buffer Position */ in hfcpci_fill_fifo()
628 if (new_z1 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_fill_fifo()
629 new_z1 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_fill_fifo()
645 *z1t = new_z1; /* now send data */ in hfcpci_fill_fifo()
694 new_z1 = bz->za[bz->f1].z1 + count; /* new buffer Position */ in hfcpci_fill_fifo()
[all …]