Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_recv.h150 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
166 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
167 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
168 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
172 return precvframe->u.hdr.rx_tail; in recvframe_put()
184 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
185 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
186 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
190 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()
1044 precvframe->u.hdr.rx_tail = pkt_copy->data; in recvbuf2recvframe()
Drtl871x_recv.c663 precvpriv->rx_bytes += (uint)(precvframe->u.hdr.rx_tail - in r8712_recv_entry()
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_recv.h238 u8 *rx_tail; member
279 if (precvframe->rx_data > precvframe->rx_tail) { in recvframe_pull()
296 precvframe->rx_tail += sz; in recvframe_put()
298 if (precvframe->rx_tail > precvframe->rx_end) { in recvframe_put()
299 precvframe->rx_tail -= sz; in recvframe_put()
303 return precvframe->rx_tail; in recvframe_put()
316 precvframe->rx_tail -= sz; in recvframe_pull_tail()
317 if (precvframe->rx_tail < precvframe->rx_data) { in recvframe_pull_tail()
318 precvframe->rx_tail += sz; in recvframe_pull_tail()
322 return precvframe->rx_tail; in recvframe_pull_tail()
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-rx.c41 u8 *rx_tail) in mcp251xfd_rx_tail_get_from_chip() argument
52 *rx_tail = fifo_ua / ring->obj_size; in mcp251xfd_rx_tail_get_from_chip()
61 u8 rx_tail_chip, rx_tail; in mcp251xfd_check_rx_tail() local
71 rx_tail = mcp251xfd_get_rx_tail(ring); in mcp251xfd_check_rx_tail()
72 if (rx_tail_chip != rx_tail) { in mcp251xfd_check_rx_tail()
75 rx_tail_chip, rx_tail); in mcp251xfd_check_rx_tail()
205 u8 rx_tail, len; in mcp251xfd_handle_rxif_ring() local
215 rx_tail = mcp251xfd_get_rx_tail(ring); in mcp251xfd_handle_rxif_ring()
218 rx_tail, len); in mcp251xfd_handle_rxif_ring()
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drtw_recv.h329 u8 *rx_tail; member
401 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) in recvframe_pull()
424 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
426 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
428 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) in recvframe_put()
430 precvframe->u.hdr.rx_tail = prev_rx_tail; in recvframe_put()
436 return precvframe->u.hdr.rx_tail; in recvframe_put()
452 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
454 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) in recvframe_pull_tail()
456 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/apple/
Dmacmace.c63 int rx_slot, rx_tail; member
109 mp->rx_tail = 0; in mace_load_rxdma_base()
705 while (mp->rx_tail < head) { in mace_dma_intr()
707 + (mp->rx_tail * MACE_BUFF_SIZE))); in mace_dma_intr()
708 mp->rx_tail++; in mace_dma_intr()
/linux-6.1.9/drivers/staging/r8188eu/hal/
Dusb_ops_linux.c289 precvframe->rx_tail = pkt_copy->data; in recvbuf2recvframe()
298 precvframe->rx_tail = pbuf + pattrib->drvinfo_sz + RXDESC_SIZE; in recvbuf2recvframe()
299 precvframe->rx_head = precvframe->rx_tail; in recvbuf2recvframe()
300 precvframe->rx_data = precvframe->rx_tail; in recvbuf2recvframe()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/actions/
Dowl-emac.c754 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-6.1.9/drivers/net/ethernet/cadence/
Dmacb_main.c1242 while (CIRC_SPACE(queue->rx_prepared_head, queue->rx_tail, in gem_rx_refill()
1294 queue, queue->rx_prepared_head, queue->rx_tail); in gem_rx_refill()
1333 entry = macb_rx_ring_wrap(bp, queue->rx_tail); in gem_rx()
1350 queue->rx_tail++; in gem_rx()
1506 queue->rx_tail = 0; in macb_init_rx_ring()
1518 for (tail = queue->rx_tail; budget > 0; tail++) { in macb_rx()
1581 queue->rx_tail = first_frag; in macb_rx()
1583 queue->rx_tail = tail; in macb_rx()
1594 entry = macb_rx_ring_wrap(bp, queue->rx_tail); in macb_rx_pending()
2519 queue->rx_tail = 0; in gem_init_rings()
[all …]
Dmacb.h1220 unsigned int rx_tail; member
/linux-6.1.9/drivers/net/ethernet/ti/
Dtlan.h184 u32 rx_tail; member
Dtlan.c1490 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()
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c308 precvframe->u.hdr.rx_data = precvframe->u.hdr.rx_tail = pkt_copy->data; in rtl8723bs_recv_tasklet()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_recv.c1296 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_recv.c1079 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag()