Home
last modified time | relevance | path

Searched refs:hsdma2dev (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/dma/mediatek/
H A Dmtk-hsdma.c263 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()