Lines Matching refs:ctlval
469 LI_CCTL_RPTR, /* sw ptr bitmask in ctlval */
482 LI_CCTL_WPTR, /* sw ptr bitmask in ctlval */
501 unsigned long ctlval;
634 chan->ctlval = ((chan->ctlval & ~LI_CCTL_RESET) |
636 (chan->ctlval & ~LI_CCTL_DMA_ENABLE) |
642 DBGPV("ctlreg 0x%x = 0x%lx\n", desc->ctlreg, chan->ctlval);
646 li_writel(lith, desc->ctlreg, chan->ctlval);
658 chan->ctlval &= ~LI_CCTL_DMA_ENABLE;
659 DBGPV("ctlreg 0x%x = 0x%lx\n", chan->desc->ctlreg, chan->ctlval);
660 li_writel(lith, chan->desc->ctlreg, chan->ctlval);
685 chan->ctlval |= LI_CCTL_DMA_ENABLE;
686 DBGPV("ctlval = 0x%lx\n", chan->ctlval);
687 li_writel(chan->lith, chan->desc->ctlreg, chan->ctlval);
695 chan->ctlval &= ~(LI_CCTL_DMA_ENABLE | LI_CCTL_RPTR | LI_CCTL_WPTR);
696 DBGPV("ctlval = 0x%lx\n", chan->ctlval);
697 DBGPV("ctlreg 0x%x = 0x%lx\n", chan->desc->ctlreg, chan->ctlval);
698 li_writel(lith, chan->desc->ctlreg, chan->ctlval);
725 return CHUNKS_TO_BYTES(UNSHIFT_FIELD(chan->ctlval, mask));
739 chan->ctlval = (chan->ctlval & ~mask) | SHIFT_FIELD(val, mask);