Home
last modified time | relevance | path

Searched refs:rx_ringsz (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/atheros/alx/
Dmain.c82 if (++next == alx->rx_ringsz) in alx_refill_rx_ring()
114 if (++next == alx->rx_ringsz) in alx_refill_rx_ring()
250 if (++rxq->read_idx == alx->rx_ringsz) in alx_clean_rx_irq()
252 if (++rxq->rrd_read_idx == alx->rx_ringsz) in alx_clean_rx_irq()
371 alx_write_mem32(hw, ALX_RRD_RING_SZ, alx->rx_ringsz); in alx_init_ring_ptrs()
373 alx_write_mem32(hw, ALX_RFD_RING_SZ, alx->rx_ringsz); in alx_init_ring_ptrs()
414 for (i = 0; i < alx->rx_ringsz; i++) { in alx_free_rxring_buf()
518 alx->rxq.bufs = kcalloc(alx->rx_ringsz, in alx_alloc_descriptors()
531 sizeof(struct alx_rrd) * alx->rx_ringsz + in alx_alloc_descriptors()
532 sizeof(struct alx_rfd) * alx->rx_ringsz; in alx_alloc_descriptors()
[all …]
Dalx.h96 unsigned int rx_ringsz; member