Searched refs:rx_dma_size (Results 1 – 1 of 1) sorted by relevance
2589 int rx_data_len, rx_dma_size, tx_ring_size; in mtk_rx_alloc() local2607 rx_dma_size = MTK_HW_LRO_DMA_SIZE; in mtk_rx_alloc()2610 rx_dma_size = MTK_DMA_SIZE; in mtk_rx_alloc()2615 ring->data = kcalloc(rx_dma_size, sizeof(*ring->data), in mtk_rx_alloc()2624 rx_dma_size); in mtk_rx_alloc()2634 rx_dma_size * eth->soc->txrx.rxd_size, in mtk_rx_alloc()2648 for (i = 0; i < rx_dma_size; i++) { in mtk_rx_alloc()2698 ring->dma_size = rx_dma_size; in mtk_rx_alloc()2700 ring->calc_idx = rx_dma_size - 1; in mtk_rx_alloc()2715 mtk_w32(eth, rx_dma_size, in mtk_rx_alloc()[all …]