Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_recv.h160 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
176 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
177 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
178 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
182 return precvframe->u.hdr.rx_tail; in recvframe_put()
194 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
195 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
196 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
200 return precvframe->u.hdr.rx_tail; in recvframe_pull_tail()
Drtl8712_recv.h124 u8 *rx_tail; member
Drtl8712_recv.c221 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag()
1043 precvframe->u.hdr.rx_tail = pkt_copy->data; in recvbuf2recvframe()
Drtl871x_recv.c662 precvpriv->rx_bytes += (uint)(precvframe->u.hdr.rx_tail - in r8712_recv_entry()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_recv.h352 u8 *rx_tail; member
435 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) in recvframe_pull()
458 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
460 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
462 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) in recvframe_put()
464 precvframe->u.hdr.rx_tail = prev_rx_tail; in recvframe_put()
470 return precvframe->u.hdr.rx_tail; in recvframe_put()
486 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
488 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) in recvframe_pull_tail()
490 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/Linux-v5.10/drivers/net/ethernet/dec/tulip/
Dde2104x.c294 unsigned rx_tail; member
370 static void de_rx_err_acct (struct de_private *de, unsigned rx_tail, in de_rx_err_acct() argument
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()
410 status = le32_to_cpu(de->rx_ring[rx_tail].opts1); in de_rx()
418 mapping = de->rx_skb[rx_tail].mapping; in de_rx()
426 de_rx_err_acct(de, rx_tail, status, len); in de_rx()
434 rx_tail, status, len, copying_skb); in de_rx()
451 de->rx_skb[rx_tail].mapping = in de_rx()
[all …]
/Linux-v5.10/drivers/net/ethernet/realtek/
D8139cp.c337 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
479 skb = cp->rx_skb[rx_tail]; in cp_rx_poll()
482 desc = &cp->rx_ring[rx_tail]; in cp_rx_poll()
496 cp_rx_err_acct(cp, rx_tail, status, len); in cp_rx_poll()
503 cp_rx_err_acct(cp, rx_tail, status, len); 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()
[all …]
/Linux-v5.10/arch/sparc/kernel/
Dldc.c132 unsigned long rx_tail; member
548 &lp->rx_tail, in ldc_abort()
804 &lp->rx_tail, in ldc_rx()
808 orig_state, lp->chan_state, lp->rx_head, lp->rx_tail); in ldc_rx()
849 if (lp->rx_head != lp->rx_tail) in ldc_rx()
858 while (lp->rx_head != lp->rx_tail) { in ldc_rx()
1482 return __set_rx_head(lp, lp->rx_tail); in ldc_rx_reset()
1494 lp->rx_head, lp->rx_tail, lp->rx_num_entries, in __ldc_print()
1541 &lp->rx_tail, in read_raw()
1550 if (lp->rx_head == lp->rx_tail) in read_raw()
[all …]
/Linux-v5.10/drivers/net/ethernet/apple/
Dmacmace.c63 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-v5.10/drivers/net/ethernet/i825xx/
Dether1.c485 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()
Dether1.h42 volatile unsigned int rx_tail; member
/Linux-v5.10/drivers/net/ethernet/calxeda/
Dxgmac.c357 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-v5.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c275 u8 *rx_tail) in mcp251xfd_rx_tail_get_from_chip() argument
286 *rx_tail = fifo_ua / ring->obj_size; in mcp251xfd_rx_tail_get_from_chip()
1164 u8 rx_tail_chip, rx_tail; in mcp251xfd_check_rx_tail() local
1174 rx_tail = mcp251xfd_get_rx_tail(ring); in mcp251xfd_check_rx_tail()
1175 if (rx_tail_chip != rx_tail) { in mcp251xfd_check_rx_tail()
1178 rx_tail_chip, rx_tail); in mcp251xfd_check_rx_tail()
1475 u8 rx_tail, len; in mcp251xfd_handle_rxif_ring() local
1483 rx_tail = mcp251xfd_get_rx_tail(ring); in mcp251xfd_handle_rxif_ring()
1486 rx_tail, len); in mcp251xfd_handle_rxif_ring()
/Linux-v5.10/drivers/net/ethernet/cadence/
Dmacb_main.c1088 while (CIRC_SPACE(queue->rx_prepared_head, queue->rx_tail, in gem_rx_refill()
1140 queue, queue->rx_prepared_head, queue->rx_tail); in gem_rx_refill()
1179 entry = macb_rx_ring_wrap(bp, queue->rx_tail); in gem_rx()
1196 queue->rx_tail++; in gem_rx()
1352 queue->rx_tail = 0; in macb_init_rx_ring()
1364 for (tail = queue->rx_tail; budget > 0; tail++) { in macb_rx()
1427 queue->rx_tail = first_frag; in macb_rx()
1429 queue->rx_tail = tail; in macb_rx()
2269 queue->rx_tail = 0; in gem_init_rings()
3897 q->rx_tail = 0; in at91ether_start()
[all …]
Dmacb.h1144 unsigned int rx_tail; member
/Linux-v5.10/drivers/net/hamradio/
Ddmascc.c195 int rx_head, rx_tail, rx_count; member
743 priv->rx_head = priv->rx_tail = priv->rx_count = 0; in scc_open()
1251 int i = priv->rx_tail; in rx_bh()
1278 priv->rx_tail = i = (i + 1) % NUM_RX_BUF; in rx_bh()
/Linux-v5.10/drivers/net/ethernet/ti/
Dtlan.h184 u32 rx_tail; member
Dtlan.c1489 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eof()
1527 tail_list = priv->rx_list + priv->rx_tail; in tlan_handle_rx_eof()
1531 CIRC_INC(priv->rx_tail, TLAN_NUM_RX_LISTS); in tlan_handle_rx_eof()
1545 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eof()
1761 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eoc()
1911 priv->rx_tail = TLAN_NUM_RX_LISTS - 1; in tlan_reset_lists()
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c262 …_frame->u.hdr.rx_end =%p precv_frame->hdr.len =%d\n", precv_frame->u.hdr.rx_tail, precv_frame->u.h… in rtw_recv_indicatepkt()
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c326 precvframe->u.hdr.rx_data = precvframe->u.hdr.rx_tail = pkt_copy->data; in rtl8723bs_recv_tasklet()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_recv.c1765 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag()