Lines Matching refs:ctlval
513 unsigned long ctlval; member
646 chan->ctlval = (!LI_CCTL_RESET | in li_setup_dma()
654 DBGPV("ctlreg 0x%x = 0x%lx\n", desc->ctlreg, chan->ctlval); in li_setup_dma()
658 li_writel(lith, desc->ctlreg, chan->ctlval); in li_setup_dma()
670 chan->ctlval &= ~LI_CCTL_DMA_ENABLE; in li_shutdown_dma()
671 DBGPV("ctlreg 0x%x = 0x%lx\n", chan->desc->ctlreg, chan->ctlval); in li_shutdown_dma()
672 li_writel(lith, chan->desc->ctlreg, chan->ctlval); in li_shutdown_dma()
697 chan->ctlval |= LI_CCTL_DMA_ENABLE; in li_activate_dma()
698 DBGPV("ctlval = 0x%lx\n", chan->ctlval); in li_activate_dma()
699 li_writel(chan->lith, chan->desc->ctlreg, chan->ctlval); in li_activate_dma()
707 chan->ctlval &= ~(LI_CCTL_DMA_ENABLE | LI_CCTL_RPTR | LI_CCTL_WPTR); in li_deactivate_dma()
708 DBGPV("ctlval = 0x%lx\n", chan->ctlval); in li_deactivate_dma()
709 DBGPV("ctlreg 0x%x = 0x%lx\n", chan->desc->ctlreg, chan->ctlval); in li_deactivate_dma()
710 li_writel(lith, chan->desc->ctlreg, chan->ctlval); in li_deactivate_dma()
737 return CHUNKS_TO_BYTES(UNSHIFT_FIELD(chan->ctlval, mask)); in li_read_swptr()
751 chan->ctlval = (chan->ctlval & ~mask) | SHIFT_FIELD(val, mask); in li_write_swptr()