/drivers/staging/rtl8712/ |
D | rtl871x_recv.h | 160 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull() 175 precvframe->u.hdr.rx_tail += sz; in recvframe_put() 176 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put() 177 precvframe->u.hdr.rx_tail -= sz; in recvframe_put() 181 return precvframe->u.hdr.rx_tail; in recvframe_put() 192 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail() 193 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail() 194 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail() 198 return precvframe->u.hdr.rx_tail; in recvframe_pull_tail()
|
D | rtl8712_recv.h | 136 u8 *rx_tail; member
|
D | rtl8712_recv.c | 240 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag() 1077 precvframe->u.hdr.rx_tail = pkt_copy->data; in recvbuf2recvframe() 1085 precvframe->u.hdr.rx_tail = pbuf; in recvbuf2recvframe()
|
D | rtl871x_recv.c | 680 precvpriv->rx_bytes += (uint)(precvframe->u.hdr.rx_tail - in r8712_recv_entry()
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_recv.h | 260 u8 *rx_tail; member 301 if (precvframe->rx_data > precvframe->rx_tail) { in recvframe_pull() 318 precvframe->rx_tail += sz; in recvframe_put() 320 if (precvframe->rx_tail > precvframe->rx_end) { in recvframe_put() 321 precvframe->rx_tail -= sz; in recvframe_put() 325 return precvframe->rx_tail; in recvframe_put() 338 precvframe->rx_tail -= sz; in recvframe_pull_tail() 339 if (precvframe->rx_tail < precvframe->rx_data) { in recvframe_pull_tail() 340 precvframe->rx_tail += sz; in recvframe_pull_tail() 344 return precvframe->rx_tail; in recvframe_pull_tail()
|
/drivers/net/ethernet/dec/tulip/ |
D | de2104x.c | 300 unsigned rx_tail; member 378 static void de_rx_err_acct (struct de_private *de, unsigned rx_tail, in de_rx_err_acct() argument 383 rx_tail, status, len); in de_rx_err_acct() 404 unsigned rx_tail = de->rx_tail; in de_rx() local 415 skb = de->rx_skb[rx_tail].skb; in de_rx() 418 status = le32_to_cpu(de->rx_ring[rx_tail].opts1); in de_rx() 423 mapping = de->rx_skb[rx_tail].mapping; in de_rx() 431 de_rx_err_acct(de, rx_tail, status, len); in de_rx() 439 rx_tail, status, len, copying_skb); in de_rx() 456 de->rx_skb[rx_tail].mapping = in de_rx() [all …]
|
/drivers/net/ethernet/realtek/ |
D | 8139cp.c | 337 unsigned rx_tail; member 434 static void cp_rx_err_acct (struct cp_private *cp, unsigned rx_tail, in cp_rx_err_acct() argument 438 rx_tail, status, len); in cp_rx_err_acct() 467 unsigned int rx_tail = cp->rx_tail; in cp_rx_poll() local 481 skb = cp->rx_skb[rx_tail]; in cp_rx_poll() 484 desc = &cp->rx_ring[rx_tail]; in cp_rx_poll() 498 cp_rx_err_acct(cp, rx_tail, status, len); in cp_rx_poll() 505 cp_rx_err_acct(cp, rx_tail, status, len); in cp_rx_poll() 510 rx_tail, status, len); in cp_rx_poll() 537 cp->rx_skb[rx_tail] = new_skb; in cp_rx_poll() [all …]
|
/drivers/staging/media/lirc/ |
D | lirc_sir.c | 140 static unsigned int rx_tail, rx_head; variable 196 if (rx_head != rx_tail) in lirc_poll() 214 if (rx_head != rx_tail) { in lirc_read() 337 new_rx_tail = (rx_tail + 1) & (RBUF_LEN - 1); in add_read_queue() 342 rx_buf[rx_tail] = newval; in add_read_queue() 343 rx_tail = new_rx_tail; in add_read_queue()
|
/drivers/net/ethernet/apple/ |
D | macmace.c | 67 int rx_slot, rx_tail; member 113 mp->rx_tail = 0; in mace_load_rxdma_base() 709 while (mp->rx_tail < head) { in mace_dma_intr() 711 + (mp->rx_tail * MACE_BUFF_SIZE))); in mace_dma_intr() 712 mp->rx_tail++; in mace_dma_intr()
|
/drivers/net/ethernet/cadence/ |
D | macb.c | 731 while (CIRC_SPACE(bp->rx_prepared_head, bp->rx_tail, RX_RING_SIZE) > 0) { in gem_rx_refill() 775 bp->rx_prepared_head, bp->rx_tail); in gem_rx_refill() 810 entry = macb_rx_ring_wrap(bp->rx_tail); in gem_rx() 822 bp->rx_tail++; in gem_rx() 960 for (tail = bp->rx_tail; budget > 0; tail++) { in macb_rx() 993 bp->rx_tail = first_frag; in macb_rx() 995 bp->rx_tail = tail; in macb_rx() 1521 bp->rx_tail = 0; in gem_init_rings() 1548 bp->rx_tail = 0; in macb_init_rings() 2476 lp->rx_tail = 0; in at91ether_start() [all …]
|
D | macb.h | 793 unsigned int rx_tail; member
|
/drivers/net/ethernet/i825xx/ |
D | ether1.c | 487 priv(dev)->rx_tail = addr; in ether1_init_for_open() 881 nexttail = ether1_readw(dev, priv(dev)->rx_tail, rfd_t, rfd_link, NORMALIRQS); in ether1_recv_done() 887 ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_command, NORMALIRQS); in ether1_recv_done() 888 ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_status, NORMALIRQS); in ether1_recv_done() 889 ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_rbdoffset, NORMALIRQS); in ether1_recv_done() 891 priv(dev)->rx_tail = nexttail; in ether1_recv_done()
|
D | ether1.h | 45 volatile unsigned int rx_tail; member
|
/drivers/net/ethernet/calxeda/ |
D | xgmac.c | 367 unsigned int rx_tail; member 693 while (dma_ring_space(priv->rx_head, priv->rx_tail, DMA_RX_RING_SZ) > 1) { in xgmac_rx_refill() 716 priv->rx_head, priv->rx_tail); in xgmac_rx_refill() 773 priv->rx_tail = 0; in xgmac_dma_desc_rings_init() 1187 if (!dma_ring_cnt(priv->rx_head, priv->rx_tail, DMA_RX_RING_SZ)) in xgmac_rx() 1190 entry = priv->rx_tail; in xgmac_rx() 1196 priv->rx_tail = dma_ring_incr(priv->rx_tail, DMA_RX_RING_SZ); in xgmac_rx()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 137 precvframe->rx_tail = pkt_copy->data; in recvbuf2recvframe() 147 precvframe->rx_tail = pbuf + pattrib->drvinfo_sz + RXDESC_SIZE; in recvbuf2recvframe() 148 precvframe->rx_head = precvframe->rx_tail; in recvbuf2recvframe() 149 precvframe->rx_data = precvframe->rx_tail; in recvbuf2recvframe()
|
D | recv_linux.c | 110 precv_frame->rx_tail, precv_frame->rx_end, in rtw_recv_indicatepkt()
|
/drivers/net/hamradio/ |
D | dmascc.c | 208 int rx_head, rx_tail, rx_count; member 749 priv->rx_head = priv->rx_tail = priv->rx_count = 0; in scc_open() 1257 int i = priv->rx_tail; in rx_bh() 1284 priv->rx_tail = i = (i + 1) % NUM_RX_BUF; in rx_bh()
|
/drivers/net/ethernet/ti/ |
D | tlan.c | 1512 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eof() 1550 tail_list = priv->rx_list + priv->rx_tail; in tlan_handle_rx_eof() 1554 CIRC_INC(priv->rx_tail, TLAN_NUM_RX_LISTS); in tlan_handle_rx_eof() 1568 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eof() 1786 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eoc() 1937 priv->rx_tail = TLAN_NUM_RX_LISTS - 1; in tlan_reset_lists()
|
D | tlan.h | 184 u32 rx_tail; member
|
/drivers/staging/dgap/ |
D | dgap.c | 1514 tail = readw(&bs->rx_tail); in dgap_input() 1535 writew(head, &bs->rx_tail); in dgap_input() 1593 writew(head, &bs->rx_tail); in dgap_input() 1632 writew(tail, &bs->rx_tail); in dgap_input() 2698 writew(head, &ch->ch_bs->rx_tail); in dgap_param() 4462 writew(head, &bs->rx_tail); in dgap_tty_open() 4947 writew(head, &ch->ch_bs->rx_tail); in dgap_tty_ioctl() 4998 writew(head, &ch->ch_bs->rx_tail); in dgap_tty_ioctl()
|
D | dgap.h | 1088 unsigned short rx_tail; /* R Rx buffer tail offset */ member
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1484 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag()
|