Searched refs:rx_dma_size (Results 1 – 1 of 1) sorted by relevance
2610 int rx_data_len, rx_dma_size, tx_ring_size; in mtk_rx_alloc() local2628 rx_dma_size = MTK_HW_LRO_DMA_SIZE; in mtk_rx_alloc()2631 rx_dma_size = soc->rx.dma_size; in mtk_rx_alloc()2636 ring->data = kcalloc(rx_dma_size, sizeof(*ring->data), in mtk_rx_alloc()2645 rx_dma_size); in mtk_rx_alloc()2655 rx_dma_size * eth->soc->rx.desc_size, in mtk_rx_alloc()2669 for (i = 0; i < rx_dma_size; i++) { in mtk_rx_alloc()2719 ring->dma_size = rx_dma_size; in mtk_rx_alloc()2721 ring->calc_idx = rx_dma_size - 1; in mtk_rx_alloc()2736 mtk_w32(eth, rx_dma_size, in mtk_rx_alloc()[all …]