Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/dma/mediatek/
Dmtk-hsdma.c264 static struct device *hsdma2dev(struct mtk_hsdma_device *hsdma) in hsdma2dev() function
328 ring->txd = dma_zalloc_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()