Home
last modified time | relevance | path

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

/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c537 __le16 *z1r, *z2r, *z1t, *z2t; in hfcpci_empty_fifo_trans() local
542 z2r = z1r + 1; in hfcpci_empty_fifo_trans()
546 fcnt_rx = le16_to_cpu(*z1r) - le16_to_cpu(*z2r); in hfcpci_empty_fifo_trans()
552 new_z2 = le16_to_cpu(*z2r) + fcnt_rx; /* new position in fifo */ in hfcpci_empty_fifo_trans()
565 *z2r = cpu_to_le16(new_z2); in hfcpci_empty_fifo_trans()
573 if (le16_to_cpu(*z2r) + fcnt_rx <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_fifo_trans()
576 maxlen = B_FIFO_SIZE + B_SUB_VAL - le16_to_cpu(*z2r); in hfcpci_empty_fifo_trans()
579 ptr1 = bdata + (le16_to_cpu(*z2r) - B_SUB_VAL); in hfcpci_empty_fifo_trans()
591 *z2r = cpu_to_le16(new_z2); /* new position */ in hfcpci_empty_fifo_trans()