Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/isdn/hardware/mISDN/
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];
Dhfcpci.c341 bzr->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_rx()
376 bzt->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_tx()
377 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()
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()
426 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()
429 maxlen = B_FIFO_SIZE + B_SUB_VAL - in hfcpci_empty_bfifo()
551 fcnt_rx += B_FIFO_SIZE; /* bytes actually buffered */ in hfcpci_empty_fifo_trans()
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()
[all …]