/linux/drivers/staging/rtl8712/ |
A D | rtl871x_recv.h | 158 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull() 174 precvframe->u.hdr.rx_tail += sz; in recvframe_put() 175 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put() 176 precvframe->u.hdr.rx_tail -= sz; in recvframe_put() 180 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()
|
A D | rtl8712_recv.h | 124 u8 *rx_tail; member
|
A D | rtl8712_recv.c | 221 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag() 1044 precvframe->u.hdr.rx_tail = pkt_copy->data; in recvbuf2recvframe()
|
A D | rtl871x_recv.c | 664 precvpriv->rx_bytes += (uint)(precvframe->u.hdr.rx_tail - in r8712_recv_entry()
|
/linux/drivers/staging/rtl8723bs/include/ |
A D | rtw_recv.h | 329 u8 *rx_tail; member 412 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) in recvframe_pull() 435 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put() 437 precvframe->u.hdr.rx_tail += sz; in recvframe_put() 439 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) in recvframe_put() 441 precvframe->u.hdr.rx_tail = prev_rx_tail; in recvframe_put() 447 return precvframe->u.hdr.rx_tail; in recvframe_put() 463 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail() 465 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) in recvframe_pull_tail() 467 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail() [all …]
|
/linux/drivers/staging/r8188eu/include/ |
A D | rtw_recv.h | 266 u8 *rx_tail; member 339 if (precvframe->rx_data > precvframe->rx_tail) { in recvframe_pull() 356 precvframe->rx_tail += sz; in recvframe_put() 358 if (precvframe->rx_tail > precvframe->rx_end) { in recvframe_put() 359 precvframe->rx_tail -= sz; in recvframe_put() 363 return precvframe->rx_tail; in recvframe_put() 376 precvframe->rx_tail -= sz; in recvframe_pull_tail() 377 if (precvframe->rx_tail < precvframe->rx_data) { in recvframe_pull_tail() 378 precvframe->rx_tail += sz; in recvframe_pull_tail() 382 return precvframe->rx_tail; in recvframe_pull_tail()
|
/linux/drivers/net/ethernet/dec/tulip/ |
A D | de2104x.c | 294 unsigned rx_tail; member 375 rx_tail, status, len); in de_rx_err_acct() 396 unsigned rx_tail = de->rx_tail; in de_rx() local 407 skb = de->rx_skb[rx_tail].skb; in de_rx() 451 de->rx_skb[rx_tail].mapping = in de_rx() 454 de->rx_skb[rx_tail].skb = copy_skb; in de_rx() 478 de->rx_ring[rx_tail].opts2 = in de_rx() 485 rx_tail = NEXT_RX(rx_tail); in de_rx() 491 de->rx_tail = rx_tail; in de_rx() 894 de->rx_tail = 0; in de_stop_hw() [all …]
|
/linux/drivers/net/ethernet/realtek/ |
A D | 8139cp.c | 337 unsigned rx_tail; member 438 rx_tail, status, len); in cp_rx_err_acct() 467 unsigned int rx_tail = cp->rx_tail; in cp_rx_poll() local 479 skb = cp->rx_skb[rx_tail]; in cp_rx_poll() 482 desc = &cp->rx_ring[rx_tail]; in cp_rx_poll() 508 rx_tail, status, len); in cp_rx_poll() 535 cp->rx_skb[rx_tail] = new_skb; in cp_rx_poll() 549 rx_tail = NEXT_RX(rx_tail); in cp_rx_poll() 552 cp->rx_tail = rx_tail; in cp_rx_poll() 965 cp->rx_tail = 0; in cp_stop_hw() [all …]
|
/linux/arch/sparc/kernel/ |
A D | ldc.c | 132 unsigned long rx_tail; member 548 &lp->rx_tail, in ldc_abort() 804 &lp->rx_tail, in ldc_rx() 1541 &lp->rx_tail, in read_raw() 1550 if (lp->rx_head == lp->rx_tail) in read_raw() 1685 &lp->rx_tail, in rx_data_wait() 1694 if (cur_head != lp->rx_tail) { in rx_data_wait() 1747 &lp->rx_tail, in read_nonraw() 1756 if (lp->rx_head == lp->rx_tail) in read_nonraw() 1766 BUG_ON(new == lp->rx_tail); in read_nonraw() [all …]
|
/linux/drivers/net/ethernet/apple/ |
A D | macmace.c | 63 int rx_slot, rx_tail; member 109 mp->rx_tail = 0; in mace_load_rxdma_base() 701 while (mp->rx_tail < head) { in mace_dma_intr() 703 + (mp->rx_tail * MACE_BUFF_SIZE))); in mace_dma_intr() 704 mp->rx_tail++; in mace_dma_intr()
|
/linux/drivers/net/ethernet/i825xx/ |
A D | ether1.c | 485 priv(dev)->rx_tail = addr; in ether1_init_for_open() 879 nexttail = ether1_readw(dev, priv(dev)->rx_tail, rfd_t, rfd_link, NORMALIRQS); in ether1_recv_done() 885 ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_command, NORMALIRQS); in ether1_recv_done() 886 ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_status, NORMALIRQS); in ether1_recv_done() 887 ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_rbdoffset, NORMALIRQS); in ether1_recv_done() 889 priv(dev)->rx_tail = nexttail; in ether1_recv_done()
|
A D | ether1.h | 42 volatile unsigned int rx_tail; member
|
/linux/drivers/staging/r8188eu/hal/ |
A D | usb_ops_linux.c | 293 precvframe->rx_tail = pkt_copy->data; in recvbuf2recvframe() 303 precvframe->rx_tail = pbuf + pattrib->drvinfo_sz + RXDESC_SIZE; in recvbuf2recvframe() 304 precvframe->rx_head = precvframe->rx_tail; in recvbuf2recvframe() 305 precvframe->rx_data = precvframe->rx_tail; in recvbuf2recvframe()
|
/linux/drivers/net/ethernet/calxeda/ |
A D | xgmac.c | 357 unsigned int rx_tail; member 683 while (dma_ring_space(priv->rx_head, priv->rx_tail, DMA_RX_RING_SZ) > 1) { in xgmac_rx_refill() 706 priv->rx_head, priv->rx_tail); in xgmac_rx_refill() 763 priv->rx_tail = 0; in xgmac_dma_desc_rings_init() 1177 if (!dma_ring_cnt(priv->rx_head, priv->rx_tail, DMA_RX_RING_SZ)) in xgmac_rx() 1180 entry = priv->rx_tail; in xgmac_rx() 1186 priv->rx_tail = dma_ring_incr(priv->rx_tail, DMA_RX_RING_SZ); in xgmac_rx()
|
/linux/drivers/net/can/spi/mcp251xfd/ |
A D | mcp251xfd-core.c | 274 u8 *rx_tail) in mcp251xfd_rx_tail_get_from_chip() argument 285 *rx_tail = fifo_ua / ring->obj_size; in mcp251xfd_rx_tail_get_from_chip() 1216 u8 rx_tail_chip, rx_tail; in mcp251xfd_check_rx_tail() local 1226 rx_tail = mcp251xfd_get_rx_tail(ring); in mcp251xfd_check_rx_tail() 1227 if (rx_tail_chip != rx_tail) { in mcp251xfd_check_rx_tail() 1230 rx_tail_chip, rx_tail); in mcp251xfd_check_rx_tail() 1556 u8 rx_tail, len; in mcp251xfd_handle_rxif_ring() local 1566 rx_tail = mcp251xfd_get_rx_tail(ring); in mcp251xfd_handle_rxif_ring() 1569 rx_tail, len); in mcp251xfd_handle_rxif_ring()
|
/linux/drivers/net/ethernet/actions/ |
A D | owl-emac.c | 754 unsigned int rx_tail, len; in owl_emac_rx_process() local 761 rx_tail = ring->tail; in owl_emac_rx_process() 762 desc = &ring->descs[rx_tail]; in owl_emac_rx_process() 772 curr_skb = ring->skbs[rx_tail]; in owl_emac_rx_process() 773 curr_dma = ring->skbs_dma[rx_tail]; in owl_emac_rx_process()
|
/linux/drivers/net/ethernet/cadence/ |
A D | macb_main.c | 1345 entry = macb_rx_ring_wrap(bp, queue->rx_tail); in gem_rx() 1362 queue->rx_tail++; in gem_rx() 1518 queue->rx_tail = 0; in macb_init_rx_ring() 1593 queue->rx_tail = first_frag; in macb_rx() 1595 queue->rx_tail = tail; in macb_rx() 2435 queue->rx_tail = 0; in gem_init_rings() 4091 q->rx_tail = 0; in at91ether_start() 4234 desc = macb_rx_desc(q, q->rx_tail); in at91ether_rx() 4259 q->rx_tail = 0; in at91ether_rx() 4261 q->rx_tail++; in at91ether_rx() [all …]
|
A D | macb.h | 1214 unsigned int rx_tail; member
|
/linux/drivers/net/hamradio/ |
A D | dmascc.c | 195 int rx_head, rx_tail, rx_count; member 744 priv->rx_head = priv->rx_tail = priv->rx_count = 0; in scc_open() 1248 int i = priv->rx_tail; in rx_bh() 1275 priv->rx_tail = i = (i + 1) % NUM_RX_BUF; in rx_bh()
|
/linux/drivers/net/ethernet/ti/ |
A D | tlan.c | 1490 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eof() 1528 tail_list = priv->rx_list + priv->rx_tail; in tlan_handle_rx_eof() 1532 CIRC_INC(priv->rx_tail, TLAN_NUM_RX_LISTS); in tlan_handle_rx_eof() 1546 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eof() 1762 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eoc() 1912 priv->rx_tail = TLAN_NUM_RX_LISTS - 1; in tlan_reset_lists()
|
A D | tlan.h | 184 u32 rx_tail; member
|
/linux/drivers/staging/rtl8723bs/hal/ |
A D | rtl8723bs_recv.c | 309 precvframe->u.hdr.rx_data = precvframe->u.hdr.rx_tail = pkt_copy->data; in rtl8723bs_recv_tasklet()
|
/linux/drivers/staging/r8188eu/core/ |
A D | rtw_recv.c | 1308 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag()
|
/linux/drivers/staging/rtl8723bs/core/ |
A D | rtw_recv.c | 1082 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag()
|