• Home
  • Raw
  • Download

Lines Matching refs:ctl

157 	u32 ctl, clkctl;  in s3c_pcm_snd_txctrl()  local
160 ctl = readl(regs + S3C_PCM_CTL); in s3c_pcm_snd_txctrl()
161 ctl &= ~(S3C_PCM_CTL_TXDIPSTICK_MASK in s3c_pcm_snd_txctrl()
165 ctl |= S3C_PCM_CTL_TXDMA_EN; in s3c_pcm_snd_txctrl()
166 ctl |= S3C_PCM_CTL_TXFIFO_EN; in s3c_pcm_snd_txctrl()
167 ctl |= S3C_PCM_CTL_ENABLE; in s3c_pcm_snd_txctrl()
168 ctl |= (0x4<<S3C_PCM_CTL_TXDIPSTICK_SHIFT); in s3c_pcm_snd_txctrl()
171 ctl &= ~S3C_PCM_CTL_TXDMA_EN; in s3c_pcm_snd_txctrl()
172 ctl &= ~S3C_PCM_CTL_TXFIFO_EN; in s3c_pcm_snd_txctrl()
174 if (!(ctl & S3C_PCM_CTL_RXFIFO_EN)) { in s3c_pcm_snd_txctrl()
175 ctl &= ~S3C_PCM_CTL_ENABLE; in s3c_pcm_snd_txctrl()
182 writel(ctl, regs + S3C_PCM_CTL); in s3c_pcm_snd_txctrl()
188 u32 ctl, clkctl; in s3c_pcm_snd_rxctrl() local
190 ctl = readl(regs + S3C_PCM_CTL); in s3c_pcm_snd_rxctrl()
192 ctl &= ~(S3C_PCM_CTL_RXDIPSTICK_MASK in s3c_pcm_snd_rxctrl()
196 ctl |= S3C_PCM_CTL_RXDMA_EN; in s3c_pcm_snd_rxctrl()
197 ctl |= S3C_PCM_CTL_RXFIFO_EN; in s3c_pcm_snd_rxctrl()
198 ctl |= S3C_PCM_CTL_ENABLE; in s3c_pcm_snd_rxctrl()
199 ctl |= (0x20<<S3C_PCM_CTL_RXDIPSTICK_SHIFT); in s3c_pcm_snd_rxctrl()
202 ctl &= ~S3C_PCM_CTL_RXDMA_EN; in s3c_pcm_snd_rxctrl()
203 ctl &= ~S3C_PCM_CTL_RXFIFO_EN; in s3c_pcm_snd_rxctrl()
205 if (!(ctl & S3C_PCM_CTL_TXFIFO_EN)) { in s3c_pcm_snd_rxctrl()
206 ctl &= ~S3C_PCM_CTL_ENABLE; in s3c_pcm_snd_rxctrl()
213 writel(ctl, regs + S3C_PCM_CTL); in s3c_pcm_snd_rxctrl()
325 u32 ctl; in s3c_pcm_set_fmt() local
331 ctl = readl(regs + S3C_PCM_CTL); in s3c_pcm_set_fmt()
368 ctl |= S3C_PCM_CTL_TXMSB_AFTER_FSYNC; in s3c_pcm_set_fmt()
369 ctl |= S3C_PCM_CTL_RXMSB_AFTER_FSYNC; in s3c_pcm_set_fmt()
372 ctl &= ~S3C_PCM_CTL_TXMSB_AFTER_FSYNC; in s3c_pcm_set_fmt()
373 ctl &= ~S3C_PCM_CTL_RXMSB_AFTER_FSYNC; in s3c_pcm_set_fmt()
381 writel(ctl, regs + S3C_PCM_CTL); in s3c_pcm_set_fmt()