Home
last modified time | relevance | path

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

/linux/drivers/isdn/hardware/mISDN/
H A Dhfc_pci.h167 #define B_FIFO_SIZE (0x2000 - B_SUB_VAL) macro
200 u_char txdat_b1[B_FIFO_SIZE];
203 u_char txdat_b2[B_FIFO_SIZE];
205 u_char rxdat_b1[B_FIFO_SIZE];
208 u_char rxdat_b2[B_FIFO_SIZE];
H A Dhfcpci.c342 bzr->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_rx()
377 bzt->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_tx()
378 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()
405 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_bfifo()
406 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_bfifo()
427 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()
430 maxlen = B_FIFO_SIZE + B_SUB_VAL - in hfcpci_empty_bfifo()
552 fcnt_rx += B_FIFO_SIZE; /* bytes actually buffered */ in hfcpci_empty_fifo_trans()
554 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_fifo_trans()
555 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_fifo_trans()
[all …]