Searched refs:swdma_chan (Results 1 – 1 of 1) sorted by relevance
264 static int halt_channel(struct switchtec_dma_chan *swdma_chan) in halt_channel() argument266 struct chan_hw_regs __iomem *chan_hw = swdma_chan->mmio_chan_hw; in halt_channel()271 pdev = rcu_dereference(swdma_chan->swdma_dev->pdev); in halt_channel()277 spin_lock(&swdma_chan->hw_ctrl_lock); in halt_channel()280 spin_unlock(&swdma_chan->hw_ctrl_lock); in halt_channel()287 static int unhalt_channel(struct switchtec_dma_chan *swdma_chan) in unhalt_channel() argument289 struct chan_hw_regs __iomem *chan_hw = swdma_chan->mmio_chan_hw; in unhalt_channel()295 pdev = rcu_dereference(swdma_chan->swdma_dev->pdev); in unhalt_channel()301 spin_lock(&swdma_chan->hw_ctrl_lock); in unhalt_channel()306 spin_unlock(&swdma_chan->hw_ctrl_lock); in unhalt_channel()[all …]