Lines Matching refs:cur_rx
393 struct fealnx_desc *cur_rx; member
1148 iowrite32(np->rx_ring_dma + ((char*)np->cur_rx - (char*)np->rx_ring), in enable_rxtx()
1233 np->cur_rx = &np->rx_ring[0]; in init_ring()
1409 struct fealnx_desc *cur = np->cur_rx; in reset_rx_descriptors()
1420 iowrite32(np->rx_ring_dma + ((char*)np->cur_rx - (char*)np->rx_ring), in reset_rx_descriptors()
1614 while (!(np->cur_rx->status & RXOWN) && np->cur_rx->skbuff) { in netdev_rx()
1615 s32 rx_status = np->cur_rx->status; in netdev_rx()
1646 cur = np->cur_rx; in netdev_rx()
1667 if (!np->cur_rx->skbuff) { in netdev_rx()
1672 np->cur_rx->status = RXOWN; in netdev_rx()
1673 np->cur_rx = np->cur_rx->next_desc_logical; in netdev_rx()
1701 np->cur_rx->buffer, in netdev_rx()
1708 np->cur_rx->skbuff->data, pkt_len); in netdev_rx()
1711 skb_put_data(skb, np->cur_rx->skbuff->data, in netdev_rx()
1715 np->cur_rx->buffer, in netdev_rx()
1720 np->cur_rx->buffer, in netdev_rx()
1723 skb_put(skb = np->cur_rx->skbuff, pkt_len); in netdev_rx()
1724 np->cur_rx->skbuff = NULL; in netdev_rx()
1733 np->cur_rx = np->cur_rx->next_desc_logical; in netdev_rx()