Lines Matching refs:dcsr
216 #define PXA_DCSR_STR(flag) (dcsr & PXA_DCSR_##flag ? #flag" " : "")
265 u32 dcsr, dcmd; in chan_state_show() local
271 dcsr = _phy_readl_relaxed(phy, DCSR); in chan_state_show()
283 dcsr, PXA_DCSR_STR(RUN), PXA_DCSR_STR(NODESC), in chan_state_show()
432 u32 dcsr; in is_chan_running() local
437 dcsr = phy_readl_relaxed(phy, DCSR); in is_chan_running()
438 return dcsr & PXA_DCSR_RUN; in is_chan_running()
481 u32 dcsr; in phy_disable() local
486 dcsr = phy_readl_relaxed(phy, DCSR); in phy_disable()
489 phy_writel(phy, dcsr & ~PXA_DCSR_RUN & ~PXA_DCSR_STOPIRQEN, DCSR); in phy_disable()
586 u32 dcsr; in clear_chan_irq() local
593 dcsr = phy_readl_relaxed(phy, DCSR); in clear_chan_irq()
594 phy_writel(phy, dcsr, DCSR); in clear_chan_irq()
595 if ((dcsr & PXA_DCSR_BUSERR) && (phy->vchan)) in clear_chan_irq()
600 return dcsr & ~PXA_DCSR_RUN; in clear_chan_irq()
608 unsigned int dcsr; in pxad_chan_handler() local
614 dcsr = clear_chan_irq(phy); in pxad_chan_handler()
615 if (dcsr & PXA_DCSR_RUN) in pxad_chan_handler()
624 dcsr); in pxad_chan_handler()
638 if (dcsr & PXA_DCSR_BUSERR) { in pxad_chan_handler()
643 if (!chan->bus_error && dcsr & PXA_DCSR_STOPSTATE) { in pxad_chan_handler()
649 phy_writel_relaxed(phy, dcsr & ~PXA_DCSR_STOPIRQEN, DCSR); in pxad_chan_handler()