Searched refs:dma_refcnt (Results 1 – 4 of 4) sorted by relevance
640 refcount_t dma_refcnt; member
1816 if (!refcount_read(ð->dma_refcnt)) { in mtk_open()1826 refcount_set(ð->dma_refcnt, 1); in mtk_open()1829 refcount_inc(ð->dma_refcnt); in mtk_open()1869 if (!refcount_dec_and_test(ð->dma_refcnt)) in mtk_stop()
661 atomic_t dma_refcnt; member
1692 if (!atomic_read(ð->dma_refcnt)) { in mtk_open()1701 atomic_inc(ð->dma_refcnt); in mtk_open()1748 if (!atomic_dec_and_test(ð->dma_refcnt)) in mtk_stop()