Home
last modified time | relevance | path

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

/drivers/dma/
Dlpc18xx-dmamux.c46 struct lpc18xx_dmamux_data *dmamux = dev_get_drvdata(dev); in lpc18xx_dmamux_free() local
50 spin_lock_irqsave(&dmamux->lock, flags); in lpc18xx_dmamux_free()
52 spin_unlock_irqrestore(&dmamux->lock, flags); in lpc18xx_dmamux_free()
59 struct lpc18xx_dmamux_data *dmamux = platform_get_drvdata(pdev); in lpc18xx_dmamux_reserve() local
69 if (mux >= dmamux->dma_master_requests) { in lpc18xx_dmamux_reserve()
88 spin_lock_irqsave(&dmamux->lock, flags); in lpc18xx_dmamux_reserve()
89 if (dmamux->muxes[mux].busy) { in lpc18xx_dmamux_reserve()
90 spin_unlock_irqrestore(&dmamux->lock, flags); in lpc18xx_dmamux_reserve()
92 mux, mux, dmamux->muxes[mux].value); in lpc18xx_dmamux_reserve()
97 dmamux->muxes[mux].busy = true; in lpc18xx_dmamux_reserve()
[all …]
DMakefile42 obj-$(CONFIG_LPC18XX_DMAMUX) += lpc18xx-dmamux.o