Searched refs:dmamux (Results 1 – 2 of 2) sorted by relevance
46 struct lpc18xx_dmamux_data *dmamux = dev_get_drvdata(dev); in lpc18xx_dmamux_free() local50 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() local69 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 …]
42 obj-$(CONFIG_LPC18XX_DMAMUX) += lpc18xx-dmamux.o