Home
last modified time | relevance | path

Searched refs:rx_head (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/net/ethernet/ti/
A Dcpmac.c190 struct cpmac_desc *rx_head; member
409 if (unlikely(!priv->rx_head)) { in cpmac_poll()
418 desc = priv->rx_head; in cpmac_poll()
448 if (desc != priv->rx_head) { in cpmac_poll()
453 priv->rx_head->prev->hw_next = priv->rx_head->mapping; in cpmac_poll()
472 restart = priv->rx_head; in cpmac_poll()
492 priv->rx_head = desc; in cpmac_poll()
681 if (unlikely(!priv->rx_head)) in cpmac_clear_rx()
683 desc = priv->rx_head; in cpmac_clear_rx()
979 if (priv->rx_head[i].skb) { in cpmac_open()
[all …]
A Dtlan.c1490 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eof()
1491 head_list = priv->rx_list + priv->rx_head; in tlan_handle_rx_eof()
1531 CIRC_INC(priv->rx_head, TLAN_NUM_RX_LISTS); in tlan_handle_rx_eof()
1533 head_list = priv->rx_list + priv->rx_head; in tlan_handle_rx_eof()
1535 + sizeof(struct tlan_list)*priv->rx_head; in tlan_handle_rx_eof()
1546 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eof()
1547 head_list = priv->rx_list + priv->rx_head; in tlan_handle_rx_eof()
1549 + sizeof(struct tlan_list)*priv->rx_head; in tlan_handle_rx_eof()
1762 priv->rx_head, priv->rx_tail); in tlan_handle_rx_eoc()
1764 + sizeof(struct tlan_list)*priv->rx_head; in tlan_handle_rx_eoc()
[all …]
/linux/drivers/net/ethernet/amd/
A Dsun3lance.c143 struct lance_rx_head rx_head[RX_RING_SIZE]; member
390 MEM->init.rdra = dvma_vtob(MEM->rx_head); in lance_probe()
392 (dvma_vtob(MEM->rx_head) >> 16); in lance_probe()
470 MEM->rx_head[i].flag = RMD1_OWN_CHIP; in lance_init_ring()
471 MEM->rx_head[i].base_hi = in lance_init_ring()
474 MEM->rx_head[i].msg_length = 0; in lance_init_ring()
488 MEM->init.rdra = dvma_vtob(MEM->rx_head); in lance_init_ring()
490 (dvma_vtob(MEM->rx_head) >> 16); in lance_init_ring()
544 i, MEM->rx_head[i].base, in lance_start_xmit()
545 -MEM->rx_head[i].buf_length, in lance_start_xmit()
[all …]
A Datarilance.c158 struct lance_rx_head rx_head[RX_RING_SIZE]; member
713 MEM->rx_head[i].base = offset; in lance_init_ring()
714 MEM->rx_head[i].flag = TMD1_OWN_CHIP; in lance_init_ring()
715 MEM->rx_head[i].base_hi = 0; in lance_init_ring()
716 MEM->rx_head[i].buf_length = -PKT_BUF_SZ; in lance_init_ring()
717 MEM->rx_head[i].msg_length = 0; in lance_init_ring()
749 i, MEM->rx_head[i].base, in lance_tx_timeout()
750 -MEM->rx_head[i].buf_length, in lance_tx_timeout()
751 MEM->rx_head[i].msg_length )); in lance_tx_timeout()
965 MEM->rx_head[entry].flag )); in lance_rx()
[all …]
A Dau1000_eth.c705 aup->rx_head = (aup->rx_dma_ring[0]->buff_stat & 0xC) >> 2; in au1000_init()
775 netif_dbg(aup, rx_status, dev, "au1000_rx head %d\n", aup->rx_head); in au1000_rx()
777 prxd = aup->rx_dma_ring[aup->rx_head]; in au1000_rx()
781 pDB = aup->rx_db_inuse[aup->rx_head]; in au1000_rx()
824 aup->rx_head = (aup->rx_head + 1) & (NUM_RX_DMA - 1); in au1000_rx()
828 prxd = aup->rx_dma_ring[aup->rx_head]; in au1000_rx()
A Dau1000_eth.h77 u32 rx_head; member
/linux/drivers/net/ethernet/realtek/
A Datp.c760 struct rx_header rx_head; in net_rx() local
764 read_block(ioaddr, 8, (unsigned char*)&rx_head, dev->if_port); in net_rx()
766 printk(KERN_DEBUG " rx_count %04x %04x %04x %04x..", rx_head.pad, in net_rx()
767 rx_head.rx_count, rx_head.rx_status, rx_head.cur_addr); in net_rx()
768 if ((rx_head.rx_status & 0x77) != 0x01) { in net_rx()
770 if (rx_head.rx_status & 0x0004) dev->stats.rx_frame_errors++; in net_rx()
771 else if (rx_head.rx_status & 0x0002) dev->stats.rx_crc_errors++; in net_rx()
774 dev->name, rx_head.rx_status); in net_rx()
775 if (rx_head.rx_status & 0x0020) { in net_rx()
779 } else if (rx_head.rx_status & 0x0050) in net_rx()
[all …]
/linux/drivers/net/ethernet/moxa/
A Dmoxart_ether.c164 priv->rx_head = 0; in moxart_mac_setup_desc_ring()
219 int rx_head = priv->rx_head; in moxart_rx_poll() local
223 desc = priv->rx_desc_base + (RX_REG_DESC_SIZE * rx_head); in moxart_rx_poll()
244 priv->rx_mapping[rx_head], in moxart_rx_poll()
255 memcpy(skb->data, priv->rx_buf[rx_head], len); in moxart_rx_poll()
270 rx_head = RX_NEXT(rx_head); in moxart_rx_poll()
271 priv->rx_head = rx_head; in moxart_rx_poll()
/linux/drivers/net/wireless/mediatek/mt76/
A Ddma.c518 if (!q->rx_head) in mt76_dma_rx_reset()
521 dev_kfree_skb(q->rx_head); in mt76_dma_rx_reset()
522 q->rx_head = NULL; in mt76_dma_rx_reset()
529 struct sk_buff *skb = q->rx_head; in mt76_add_fragment()
545 q->rx_head = NULL; in mt76_add_fragment()
567 if (q->rx_head) in mt76_dma_rx_process()
573 dev_kfree_skb(q->rx_head); in mt76_dma_rx_process()
574 q->rx_head = NULL; in mt76_dma_rx_process()
580 if (q->rx_head) { in mt76_dma_rx_process()
601 q->rx_head = skb; in mt76_dma_rx_process()
/linux/drivers/net/ethernet/seeq/
A Dether3.c298 ether3_outw(priv(dev)->rx_head, REG_RECVPTR); in ether3_init_2()
300 ether3_outw(priv(dev)->rx_head >> 8, REG_RECVEND); in ether3_init_2()
338 priv(dev)->rx_head = RX_START; in ether3_init_for_open()
342 ether3_outw(priv(dev)->rx_head, REG_RECVPTR); in ether3_init_for_open()
343 ether3_outw(priv(dev)->rx_head >> 8, REG_RECVEND); in ether3_init_for_open()
583 unsigned int next_ptr = priv(dev)->rx_head, received = 0; in ether3_rx()
613 printk("%s: bad next pointer @%04X: ", dev->name, priv(dev)->rx_head); in ether3_rx()
616 next_ptr = priv(dev)->rx_head; in ether3_rx()
668 priv(dev)->rx_head = next_ptr; in ether3_rx()
A Dether3.h163 unsigned int rx_head; /* address to fetch next packet from */ member
/linux/arch/sparc/kernel/
A Dldc.c131 unsigned long rx_head; member
547 &lp->rx_head, in ldc_abort()
803 &lp->rx_head, in ldc_rx()
889 new = lp->rx_head; in ldc_rx()
893 lp->rx_head = new; in ldc_rx()
1540 &lp->rx_head, in read_raw()
1550 if (lp->rx_head == lp->rx_tail) in read_raw()
1557 lp->rx_head = new; in read_raw()
1713 lp->rx_head = head; in rx_set_head()
1746 &lp->rx_head, in read_nonraw()
[all …]
/linux/drivers/net/wireless/intersil/p54/
A Dp54spi.c330 u16 rx_head[2]; in p54spi_rx() local
331 #define READAHEAD_SZ (sizeof(rx_head)-sizeof(u16)) in p54spi_rx()
340 p54spi_spi_read(priv, SPI_ADRS_DMA_DATA, rx_head, sizeof(rx_head)); in p54spi_rx()
341 len = rx_head[0]; in p54spi_rx()
362 skb_put_data(skb, rx_head + 1, len); in p54spi_rx()
364 skb_put_data(skb, rx_head + 1, READAHEAD_SZ); in p54spi_rx()
/linux/drivers/net/ethernet/hisilicon/
A Dhip04_eth.c238 unsigned int rx_head; member
593 buf = priv->rx_buf[priv->rx_head]; in hip04_rx_poll()
600 dma_unmap_single(priv->dev, priv->rx_phys[priv->rx_head], in hip04_rx_poll()
602 priv->rx_phys[priv->rx_head] = 0; in hip04_rx_poll()
633 priv->rx_buf[priv->rx_head] = buf; in hip04_rx_poll()
634 priv->rx_phys[priv->rx_head] = phys; in hip04_rx_poll()
637 priv->rx_head = RX_NEXT(priv->rx_head); in hip04_rx_poll()
728 priv->rx_head = 0; in hip04_mac_open()
/linux/drivers/net/ethernet/i825xx/
A Dether1.c504 priv(dev)->rx_head = RX_AREA_START; in ether1_init_for_open()
849 status = ether1_readw(dev, priv(dev)->rx_head, rfd_t, rfd_status, NORMALIRQS); in ether1_recv_done()
853 rbdaddr = ether1_readw(dev, priv(dev)->rx_head, rfd_t, rfd_rbdoffset, NORMALIRQS); in ether1_recv_done()
881 if (nexttail != priv(dev)->rx_head) in ether1_recv_done()
883 dev->name, nexttail, priv(dev)->rx_head); in ether1_recv_done()
890 priv(dev)->rx_head = ether1_readw(dev, priv(dev)->rx_head, rfd_t, rfd_link, NORMALIRQS); in ether1_recv_done()
A Dether1.h41 volatile unsigned int rx_head; member
/linux/drivers/staging/r8188eu/include/
A Drtw_recv.h264 u8 *rx_head; member
292 return precvframe->rx_head; in get_rxmem()
321 if (precvframe->rx_data < precvframe->rx_head) { in recvframe_push()
/linux/drivers/net/hamradio/
A Ddmascc.c195 int rx_head, rx_tail, rx_count; member
744 priv->rx_head = priv->rx_tail = priv->rx_count = 0; in scc_open()
1022 virt_to_bus(priv->rx_buf[priv->rx_head])); in rx_on()
1166 priv->rx_buf[priv->rx_head][priv-> in rx_isr()
1219 priv->rx_len[priv->rx_head] = cb; in special_condition()
1220 priv->rx_head = in special_condition()
1221 (priv->rx_head + in special_condition()
1235 virt_to_bus(priv->rx_buf[priv->rx_head])); in special_condition()
/linux/drivers/net/ethernet/calxeda/
A Dxgmac.c358 unsigned int rx_head; member
683 while (dma_ring_space(priv->rx_head, priv->rx_tail, DMA_RX_RING_SZ) > 1) { in xgmac_rx_refill()
684 int entry = priv->rx_head; in xgmac_rx_refill()
706 priv->rx_head, priv->rx_tail); in xgmac_rx_refill()
708 priv->rx_head = dma_ring_incr(priv->rx_head, DMA_RX_RING_SZ); in xgmac_rx_refill()
764 priv->rx_head = 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()
/linux/drivers/staging/rtl8723bs/include/
A Drtw_recv.h327 u8 *rx_head; member
385 return precvframe->u.hdr.rx_head; in get_rxmem()
/linux/drivers/usb/musb/
A Dcppi_dma.h31 u32 rx_head; member
/linux/drivers/staging/rtl8712/
A Drtl8712_recv.h122 u8 *rx_head; member
A Drtl871x_recv.h139 return precvframe->u.hdr.rx_head; in get_rxmem()
/linux/drivers/net/wireless/ath/ath10k/
A Dsdio.h197 struct sk_buff_head rx_head; member
/linux/drivers/staging/r8188eu/hal/
A Dusb_ops_linux.c288 precvframe->rx_head = pkt_copy->data; in recvbuf2recvframe()
304 precvframe->rx_head = precvframe->rx_tail; in recvbuf2recvframe()

Completed in 73 milliseconds

12