Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.h1256 refcount_t dma_refcnt; member
H A Dmtk_eth_soc.c3365 if (!refcount_read(&eth->dma_refcnt)) { in mtk_open()
3387 refcount_set(&eth->dma_refcnt, 1); in mtk_open()
3390 refcount_inc(&eth->dma_refcnt); in mtk_open()
3464 if (!refcount_dec_and_test(&eth->dma_refcnt)) in mtk_stop()