Searched refs:scratch_head (Results 1 – 2 of 2) sorted by relevance
1162 eth->scratch_head[j] = kcalloc(len, MTK_QDMA_PAGE_SIZE, GFP_KERNEL); in mtk_init_fq_dma()1164 if (unlikely(!eth->scratch_head[j])) in mtk_init_fq_dma()1168 eth->scratch_head[j], len * MTK_QDMA_PAGE_SIZE, in mtk_init_fq_dma()3161 kfree(eth->scratch_head[i]); in mtk_dma_free()3162 eth->scratch_head[i] = NULL; in mtk_dma_free()
1259 void *scratch_head[MTK_FQ_DMA_HEAD]; member