Searched refs:B_FIFO_SIZE (Results 1 – 5 of 5) sorted by relevance
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];
354 bzr->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_rx()389 bzt->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_tx()390 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()417 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_bfifo()418 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_bfifo()439 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()442 maxlen = B_FIFO_SIZE + B_SUB_VAL - in hfcpci_empty_bfifo()564 fcnt_rx += B_FIFO_SIZE; /* bytes actually buffered */ in hfcpci_empty_fifo_trans()566 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_fifo_trans()567 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_fifo_trans()[all …]
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];
232 bzr->za[MAX_B_FRAMES].z1 = B_FIFO_SIZE + B_SUB_VAL - 1; in hfcpci_clear_fifo_rx()258 bzt->za[MAX_B_FRAMES].z1 = B_FIFO_SIZE + B_SUB_VAL - 1; in hfcpci_clear_fifo_tx()284 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_fifo()285 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_fifo()304 if (zp->z2 + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_fifo()307 maxlen = B_FIFO_SIZE + B_SUB_VAL - zp->z2; /* maximum */ in hfcpci_empty_fifo()413 fcnt += B_FIFO_SIZE; /* bytes actually buffered */ in hfcpci_empty_fifo_trans()418 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL)) in hfcpci_empty_fifo_trans()419 new_z2 -= B_FIFO_SIZE; /* buffer wrap */ in hfcpci_empty_fifo_trans()425 if (*z2r + fcnt <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_fifo_trans()[all …]
23 #define B_FIFO_SIZE 64 macro563 if (bcs->tx_skb->len > B_FIFO_SIZE) { in bch_fill_fifo()565 count = B_FIFO_SIZE; in bch_fill_fifo()621 count = cs->BC_Read_Reg(cs, hscx, IPACX_RBCLB) & (B_FIFO_SIZE - 1); in bch_int()622 if (count == 0) count = B_FIFO_SIZE; in bch_int()641 bch_empty_fifo(bcs, B_FIFO_SIZE); in bch_int()645 if (!(skb = dev_alloc_skb(B_FIFO_SIZE))) in bch_int()649 B_FIFO_SIZE); in bch_int()