Searched refs:B_SUB_VAL (Results 1 – 2 of 2) sorted by relevance
166 #define B_SUB_VAL 0x200 macro167 #define B_FIFO_SIZE (0x2000 - B_SUB_VAL)
341 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()408 (*(bdata + (le16_to_cpu(zp->z1) - B_SUB_VAL)))) { 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()432 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo()553 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_fifo_trans()573 if (le16_to_cpu(*z2r) + fcnt_rx <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_fifo_trans()[all …]