Searched refs:rx_ring_head (Results 1 – 4 of 4) sorted by relevance
725 dma_addr_t rx_ring_head; in _sc92031_rx_tasklet() local730 rx_ring_head = ioread32(port_base + RxBufWPtr); in _sc92031_rx_tasklet()736 rx_ring_head &= (dma_addr_t)(RX_BUF_LEN - 1); in _sc92031_rx_tasklet()737 rx_ring_head |= priv->rx_ring_dma_addr & ~(dma_addr_t)(RX_BUF_LEN - 1); in _sc92031_rx_tasklet()738 if (rx_ring_head < priv->rx_ring_dma_addr) in _sc92031_rx_tasklet()739 rx_ring_head += RX_BUF_LEN; in _sc92031_rx_tasklet()741 if (rx_ring_head >= priv->rx_ring_tail) in _sc92031_rx_tasklet()742 rx_len = rx_ring_head - priv->rx_ring_tail; in _sc92031_rx_tasklet()744 rx_len = RX_BUF_LEN - (priv->rx_ring_tail - rx_ring_head); in _sc92031_rx_tasklet()819 priv->rx_ring_tail = rx_ring_head; in _sc92031_rx_tasklet()
57 int rx_ring_head, rx_ring_tail; member551 pd->rx_ring_head = 0; in smsc9420_free_rx_ring()809 while (pd->rx_ring_tail != pd->rx_ring_head) { in smsc9420_alloc_new_rx_buffers()827 status = pd->rx_ring[pd->rx_ring_head].status; in smsc9420_rx_poll()834 smsc9420_rx_handoff(pd, pd->rx_ring_head, status); in smsc9420_rx_poll()835 pd->rx_ring_head = (pd->rx_ring_head + 1) % RX_RING_SIZE; in smsc9420_rx_poll()1240 pd->rx_ring_head = 0; in smsc9420_alloc_rx_ring()
621 int rx_ring_head; member
1393 skbuf_dma = axienet_get_rx_desc(lp, lp->rx_ring_head); in axienet_rx_submit_desc()1397 lp->rx_ring_head++; in axienet_rx_submit_desc()1463 lp->rx_ring_head = 0; in axienet_init_dmaengine()