Lines Matching refs:rx_ring_size
38 static unsigned int rx_ring_size __read_mostly = 16;
41 module_param(rx_ring_size, uint, 0);
357 unsigned int entry = priv->cur_rx % priv->rx_ring_size; in adm8211_interrupt_rci()
361 unsigned int limit = priv->rx_ring_size; in adm8211_interrupt_rci()
428 (entry == priv->rx_ring_size - 1 ? in adm8211_interrupt_rci()
448 entry = (++priv->cur_rx) % priv->rx_ring_size; in adm8211_interrupt_rci()
1430 for (i = 0; i < priv->rx_ring_size; i++) { in adm8211_init_rings()
1440 for (i = 0; i < priv->rx_ring_size; i++) { in adm8211_init_rings()
1478 for (i = 0; i < priv->rx_ring_size; i++) { in adm8211_free_rings()
1717 priv->rx_buffers = kmalloc(sizeof(*priv->rx_buffers) * priv->rx_ring_size + in adm8211_alloc_rings()
1723 sizeof(*priv->rx_buffers) * priv->rx_ring_size; in adm8211_alloc_rings()
1726 ring_size = sizeof(struct adm8211_desc) * priv->rx_ring_size + in adm8211_alloc_rings()
1739 priv->rx_ring_size); in adm8211_alloc_rings()
1741 sizeof(struct adm8211_desc) * priv->rx_ring_size; in adm8211_alloc_rings()
1839 priv->rx_ring_size = rx_ring_size; in adm8211_probe()
1913 sizeof(struct adm8211_desc) * priv->rx_ring_size + in adm8211_probe()
1947 sizeof(struct adm8211_desc) * priv->rx_ring_size + in adm8211_remove()