Lines Matching refs:ring_size
191 int ring_size; member
684 for (i = 0; i < priv->ring_size; i++) { in cpmac_clear_rx()
829 ring->rx_pending = priv->ring_size; in cpmac_get_ringparam()
842 priv->ring_size = ring->rx_pending; in cpmac_set_ringparam()
925 size = priv->ring_size + CPMAC_QUEUES; in cpmac_open()
939 for (i = 0, desc = priv->rx_head; i < priv->ring_size; i++, desc++) { in cpmac_open()
952 desc->next = &priv->rx_head[(i + 1) % priv->ring_size]; in cpmac_open()
978 for (i = 0; i < priv->ring_size; i++) { in cpmac_open()
1024 for (i = 0; i < priv->ring_size; i++) { in cpmac_stop()
1035 (CPMAC_QUEUES + priv->ring_size), in cpmac_stop()
1113 priv->ring_size = 64; in cpmac_probe()