Searched refs:hsdma2dev (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/dma/mediatek/ |
H A D | mtk-hsdma.c | 264 static struct device *hsdma2dev(struct mtk_hsdma_device *hsdma) in hsdma2dev() function 328 ring->txd = dma_alloc_coherent(hsdma2dev(hsdma), pc->sz_ring, in mtk_hsdma_alloc_pchan() 383 dma_free_coherent(hsdma2dev(hsdma), in mtk_hsdma_alloc_pchan() 408 dma_free_coherent(hsdma2dev(hsdma), in mtk_hsdma_free_pchan() 574 dev_err(hsdma2dev(hsdma), "cb->vd cannot be null\n"); in mtk_hsdma_free_rooms_in_ring() 852 pm_runtime_enable(hsdma2dev(hsdma)); in mtk_hsdma_hw_init() 853 pm_runtime_get_sync(hsdma2dev(hsdma)); in mtk_hsdma_hw_init() 871 pm_runtime_put_sync(hsdma2dev(hsdma)); in mtk_hsdma_hw_deinit() 872 pm_runtime_disable(hsdma2dev(hsdma)); in mtk_hsdma_hw_deinit()
|
/kernel/linux/linux-6.6/drivers/dma/mediatek/ |
H A D | mtk-hsdma.c | 263 static struct device *hsdma2dev(struct mtk_hsdma_device *hsdma) in hsdma2dev() function 327 ring->txd = dma_alloc_coherent(hsdma2dev(hsdma), pc->sz_ring, in mtk_hsdma_alloc_pchan() 382 dma_free_coherent(hsdma2dev(hsdma), in mtk_hsdma_alloc_pchan() 407 dma_free_coherent(hsdma2dev(hsdma), in mtk_hsdma_free_pchan() 573 dev_err(hsdma2dev(hsdma), "cb->vd cannot be null\n"); in mtk_hsdma_free_rooms_in_ring() 851 pm_runtime_enable(hsdma2dev(hsdma)); in mtk_hsdma_hw_init() 852 pm_runtime_get_sync(hsdma2dev(hsdma)); in mtk_hsdma_hw_init() 870 pm_runtime_put_sync(hsdma2dev(hsdma)); in mtk_hsdma_hw_deinit() 871 pm_runtime_disable(hsdma2dev(hsdma)); in mtk_hsdma_hw_deinit()
|
Completed in 4 milliseconds