Searched refs:RTL818X_RX_RING_SIZE (Results 1 – 2 of 2) sorted by relevance
65 unsigned int count = RTL818X_RX_RING_SIZE; in rtl818x_handle_rx()110 if (priv->rx_idx == RTL818X_RX_RING_SIZE - 1) in rtl818x_handle_rx()113 priv->rx_idx = (priv->rx_idx + 1) % RTL818X_RX_RING_SIZE; in rtl818x_handle_rx()331 priv->rx_ring = malloc_dma(sizeof(*priv->rx_ring) * RTL818X_RX_RING_SIZE, in rtl818x_init_rx_ring()339 memset(priv->rx_ring, 0, sizeof(*priv->rx_ring) * RTL818X_RX_RING_SIZE); in rtl818x_init_rx_ring()342 for (i = 0; i < RTL818X_RX_RING_SIZE; i++) { in rtl818x_init_rx_ring()362 for (i = 0; i < RTL818X_RX_RING_SIZE; i++) { in rtl818x_free_rx_ring()367 free_dma(priv->rx_ring, sizeof(*priv->rx_ring) * RTL818X_RX_RING_SIZE); in rtl818x_free_rx_ring()
217 #define RTL818X_RX_RING_SIZE 8 /* doesn't have to be a power of 2 */ macro292 struct io_buffer *rx_buf[RTL818X_RX_RING_SIZE];