Searched refs:rx_dma_size (Results 1 – 1 of 1) sorted by relevance
2315 int rx_data_len, rx_dma_size; in mtk_rx_alloc() local2328 rx_dma_size = MTK_HW_LRO_DMA_SIZE; in mtk_rx_alloc()2331 rx_dma_size = MTK_DMA_SIZE; in mtk_rx_alloc()2336 ring->data = kcalloc(rx_dma_size, sizeof(*ring->data), in mtk_rx_alloc()2345 rx_dma_size); in mtk_rx_alloc()2353 rx_dma_size * eth->soc->txrx.rxd_size, in mtk_rx_alloc()2358 for (i = 0; i < rx_dma_size; i++) { in mtk_rx_alloc()2405 ring->dma_size = rx_dma_size; in mtk_rx_alloc()2407 ring->calc_idx = rx_dma_size - 1; in mtk_rx_alloc()2422 mtk_w32(eth, rx_dma_size, in mtk_rx_alloc()[all …]