Searched refs:B_FIFO_SIZE (Results 1 – 5 of 5) sorted by relevance
181 #define B_FIFO_SIZE (0x2000 - B_SUB_VAL) macro213 u_char txdat_b1[B_FIFO_SIZE];217 u_char txdat_b2[B_FIFO_SIZE];221 u_char rxdat_b1[B_FIFO_SIZE];225 u_char rxdat_b2[B_FIFO_SIZE];
231 bzr->za[MAX_B_FRAMES].z1 = B_FIFO_SIZE + B_SUB_VAL - 1; in hfcpci_clear_fifo_rx()257 bzt->za[MAX_B_FRAMES].z1 = B_FIFO_SIZE + B_SUB_VAL - 1; in hfcpci_clear_fifo_tx()283 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_fifo()284 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_fifo()303 if (zp->z2 + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_fifo()306 maxlen = B_FIFO_SIZE + B_SUB_VAL - zp->z2; /* maximum */ in hfcpci_empty_fifo()412 fcnt += B_FIFO_SIZE; /* bytes actually buffered */ in hfcpci_empty_fifo_trans()417 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_fifo_trans()418 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_fifo_trans()424 if (*z2r + fcnt <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_fifo_trans()[all …]
23 #define B_FIFO_SIZE 64 macro565 if (bcs->tx_skb->len > B_FIFO_SIZE) { in bch_fill_fifo()567 count = B_FIFO_SIZE; in bch_fill_fifo()623 count = cs->BC_Read_Reg(cs, hscx, IPACX_RBCLB) & (B_FIFO_SIZE - 1); in bch_int()624 if (count == 0) count = B_FIFO_SIZE; in bch_int()642 bch_empty_fifo(bcs, B_FIFO_SIZE); in bch_int()646 if (!(skb = dev_alloc_skb(B_FIFO_SIZE))) in bch_int()649 memcpy(skb_put(skb, B_FIFO_SIZE), bcs->hw.hscx.rcvbuf, B_FIFO_SIZE); in bch_int()
181 #define B_FIFO_SIZE (0x2000 - B_SUB_VAL) macro214 u_char txdat_b1[B_FIFO_SIZE];217 u_char txdat_b2[B_FIFO_SIZE];219 u_char rxdat_b1[B_FIFO_SIZE];222 u_char rxdat_b2[B_FIFO_SIZE];
353 bzr->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_rx()388 bzt->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_tx()389 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()416 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_bfifo()417 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_bfifo()438 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()441 maxlen = B_FIFO_SIZE + B_SUB_VAL - in hfcpci_empty_bfifo()563 fcnt_rx += B_FIFO_SIZE; /* bytes actually buffered */ in hfcpci_empty_fifo_trans()565 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_fifo_trans()566 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_fifo_trans()[all …]