Home
last modified time | relevance | path

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

/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c397 int maxlen, new_z2; in hfcpci_empty_bfifo() local
403 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo()
404 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_bfifo()
405 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_bfifo()
415 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
442 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
538 int new_z2, fcnt_rx, fcnt_tx, maxlen; in hfcpci_empty_fifo_trans() local
553 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_fifo_trans()
554 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_fifo_trans()
565 *z2r = cpu_to_le16(new_z2); in hfcpci_empty_fifo_trans()
[all …]