Home
last modified time | relevance | path

Searched refs:rx_tail (Results 1 – 19 of 19) sorted by relevance

/linux-2.6.39/drivers/staging/rtl8712/
Drtl871x_recv.h198 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
215 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
216 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
217 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
218 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
222 return precvframe->u.hdr.rx_tail; in recvframe_put()
233 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
234 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
235 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
239 return precvframe->u.hdr.rx_tail; in recvframe_pull_tail()
Drecv_linux.c117 skb->tail = (sk_buff_data_t)(precv_frame->u.hdr.rx_tail - in r8712_recv_indicatepkt()
120 skb->tail = (sk_buff_data_t)precv_frame->u.hdr.rx_tail; in r8712_recv_indicatepkt()
Drtl8712_recv.h106 u8 *rx_tail; member
Drtl8712_recv.c250 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag()
1092 precvframe->u.hdr.rx_tail = pkt_copy->data; in recvbuf2recvframe()
1098 precvframe->u.hdr.rx_tail = pbuf; in recvbuf2recvframe()
Drtl871x_recv.c676 ptail = precvframe->u.hdr.rx_tail; in r8712_recv_entry()
686 precvpriv->rx_bytes += (uint)(precvframe->u.hdr.rx_tail - in r8712_recv_entry()
/linux-2.6.39/drivers/net/tulip/
Dde2104x.c299 unsigned rx_tail; member
377 static void de_rx_err_acct (struct de_private *de, unsigned rx_tail, in de_rx_err_acct() argument
383 de->dev->name, rx_tail, status, len); in de_rx_err_acct()
405 unsigned rx_tail = de->rx_tail; in de_rx() local
416 skb = de->rx_skb[rx_tail].skb; in de_rx()
419 status = le32_to_cpu(de->rx_ring[rx_tail].opts1); in de_rx()
424 mapping = de->rx_skb[rx_tail].mapping; in de_rx()
432 de_rx_err_acct(de, rx_tail, status, len); in de_rx()
440 de->dev->name, rx_tail, status, len, in de_rx()
458 de->rx_skb[rx_tail].mapping = in de_rx()
[all …]
/linux-2.6.39/drivers/net/
D3c507.c123 ushort rx_tail; member
702 lp->rx_tail = cur_rxbuf; in init_rx_bufs()
708 write_ptr = lp->base + lp->rx_tail + 2; in init_rx_bufs()
822 ushort rx_tail = lp->rx_tail; in el16_rx() local
877 writew(0x0000,lp->base + rx_tail + 2); in el16_rx()
879 rx_tail = rx_head; in el16_rx()
886 lp->rx_tail = rx_tail; in el16_rx()
D8139cp.c346 unsigned rx_tail; member
471 static void cp_rx_err_acct (struct cp_private *cp, unsigned rx_tail, in cp_rx_err_acct() argument
475 rx_tail, status, len); in cp_rx_err_acct()
504 unsigned int rx_tail = cp->rx_tail; in cp_rx_poll() local
518 skb = cp->rx_skb[rx_tail]; in cp_rx_poll()
521 desc = &cp->rx_ring[rx_tail]; in cp_rx_poll()
535 cp_rx_err_acct(cp, rx_tail, status, len); in cp_rx_poll()
542 cp_rx_err_acct(cp, rx_tail, status, len); in cp_rx_poll()
547 rx_tail, status, len); in cp_rx_poll()
568 cp->rx_skb[rx_tail] = new_skb; in cp_rx_poll()
[all …]
Dlp486e.c348 struct i596_rfd *rx_tail; member
428 lp->rx_tail = rfd; in init_rx_bufs()
434 lp->rx_tail->pa_next = lp->scb.pa_rfd; in init_rx_bufs()
472 lp->rx_tail->pa_next = I596_NULL; in remove_rx_bufs()
478 } while (rfd != lp->rx_tail); in remove_rx_bufs()
480 lp->rx_tail = NULL; in remove_rx_bufs()
726 lp->rx_tail->cmd = 0; in i596_rx()
727 lp->rx_tail = rfd; in i596_rx()
Dmacmace.c68 int rx_slot, rx_tail; member
114 mp->rx_tail = 0; in mace_load_rxdma_base()
719 while (mp->rx_tail < head) { in mace_dma_intr()
721 + (mp->rx_tail * MACE_BUFF_SIZE))); in mace_dma_intr()
722 mp->rx_tail++; in mace_dma_intr()
Dmacb.c463 unsigned int tail = bp->rx_tail; in macb_rx()
496 bp->rx_tail = first_frag; in macb_rx()
498 bp->rx_tail = tail; in macb_rx()
763 bp->rx_tail = bp->tx_head = bp->tx_tail = 0; in macb_init_rings()
Dmacb.h364 unsigned int rx_tail; member
Dtlan.h184 u32 rx_tail; member
Dtlan.c1474 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eof()
1512 tail_list = priv->rx_list + priv->rx_tail; in tlan_handle_rx_eof()
1516 CIRC_INC(priv->rx_tail, TLAN_NUM_RX_LISTS); in tlan_handle_rx_eof()
1530 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eof()
1748 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eoc()
1906 priv->rx_tail = TLAN_NUM_RX_LISTS - 1; in tlan_reset_lists()
/linux-2.6.39/arch/sparc/kernel/
Dldc.c127 unsigned long rx_tail; member
549 &lp->rx_tail, in ldc_abort()
805 &lp->rx_tail, in ldc_rx()
809 orig_state, lp->chan_state, lp->rx_head, lp->rx_tail); in ldc_rx()
827 (void) __set_rx_head(lp, lp->rx_tail); in ldc_rx()
845 if (lp->rx_head != lp->rx_tail) in ldc_rx()
854 while (lp->rx_head != lp->rx_tail) { in ldc_rx()
1445 &lp->rx_tail, in read_raw()
1454 if (lp->rx_head == lp->rx_tail) in read_raw()
1557 err = __set_rx_head(lp, lp->rx_tail); in rx_bad_seq()
[all …]
/linux-2.6.39/drivers/staging/lirc/
Dlirc_sir.c174 static unsigned int rx_tail, rx_head; variable
248 if (rx_head != rx_tail) in lirc_poll()
266 if (rx_head != rx_tail) { in lirc_read()
444 new_rx_tail = (rx_tail + 1) & (RBUF_LEN - 1); in add_read_queue()
449 rx_buf[rx_tail] = newval; in add_read_queue()
450 rx_tail = new_rx_tail; in add_read_queue()
/linux-2.6.39/drivers/net/arm/
Dether1.c488 priv(dev)->rx_tail = addr; in ether1_init_for_open()
888 nexttail = ether1_readw(dev, priv(dev)->rx_tail, rfd_t, rfd_link, NORMALIRQS); in ether1_recv_done()
894 ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_command, NORMALIRQS); in ether1_recv_done()
895 ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_status, NORMALIRQS); in ether1_recv_done()
896 ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_rbdoffset, NORMALIRQS); in ether1_recv_done()
898 priv(dev)->rx_tail = nexttail; in ether1_recv_done()
Dether1.h45 volatile unsigned int rx_tail; member
/linux-2.6.39/drivers/net/hamradio/
Ddmascc.c208 int rx_head, rx_tail, rx_count; member
754 priv->rx_head = priv->rx_tail = priv->rx_count = 0; in scc_open()
1259 int i = priv->rx_tail; in rx_bh()
1286 priv->rx_tail = i = (i + 1) % NUM_RX_BUF; in rx_bh()