Lines Matching refs:word
190 unsigned long word = ac97c_readl(chip, OCA); in atmel_ac97c_playback_prepare() local
194 word &= ~(AC97C_CH_MASK(PCM_LEFT) | AC97C_CH_MASK(PCM_RIGHT)); in atmel_ac97c_playback_prepare()
199 word |= AC97C_CH_ASSIGN(PCM_LEFT, A); in atmel_ac97c_playback_prepare()
202 word |= AC97C_CH_ASSIGN(PCM_LEFT, A) in atmel_ac97c_playback_prepare()
209 ac97c_writel(chip, OCA, word); in atmel_ac97c_playback_prepare()
212 word = ac97c_readl(chip, CAMR); in atmel_ac97c_playback_prepare()
214 word = AC97C_CMR_DMAEN | AC97C_CMR_SIZE_16; in atmel_ac97c_playback_prepare()
216 word |= AC97C_CMR_DMAEN | AC97C_CMR_SIZE_16; in atmel_ac97c_playback_prepare()
222 word &= ~(AC97C_CMR_CEM_LITTLE); in atmel_ac97c_playback_prepare()
225 word = ac97c_readl(chip, OCA); in atmel_ac97c_playback_prepare()
226 word &= ~(AC97C_CH_MASK(PCM_LEFT) | AC97C_CH_MASK(PCM_RIGHT)); in atmel_ac97c_playback_prepare()
227 ac97c_writel(chip, OCA, word); in atmel_ac97c_playback_prepare()
232 word |= AC97C_CSR_UNRUN; in atmel_ac97c_playback_prepare()
234 ac97c_writel(chip, CAMR, word); in atmel_ac97c_playback_prepare()
237 word = ac97c_readl(chip, IMR); in atmel_ac97c_playback_prepare()
238 word |= AC97C_SR_CAEVT; in atmel_ac97c_playback_prepare()
239 ac97c_writel(chip, IER, word); in atmel_ac97c_playback_prepare()
243 word = ac97c_readl(chip, MR); in atmel_ac97c_playback_prepare()
244 word |= AC97C_MR_VRA; in atmel_ac97c_playback_prepare()
245 ac97c_writel(chip, MR, word); in atmel_ac97c_playback_prepare()
247 word = ac97c_readl(chip, MR); in atmel_ac97c_playback_prepare()
248 word &= ~(AC97C_MR_VRA); in atmel_ac97c_playback_prepare()
249 ac97c_writel(chip, MR, word); in atmel_ac97c_playback_prepare()
272 unsigned long word = ac97c_readl(chip, ICA); in atmel_ac97c_capture_prepare() local
276 word &= ~(AC97C_CH_MASK(PCM_LEFT) | AC97C_CH_MASK(PCM_RIGHT)); in atmel_ac97c_capture_prepare()
281 word |= AC97C_CH_ASSIGN(PCM_LEFT, A); in atmel_ac97c_capture_prepare()
284 word |= AC97C_CH_ASSIGN(PCM_LEFT, A) in atmel_ac97c_capture_prepare()
291 ac97c_writel(chip, ICA, word); in atmel_ac97c_capture_prepare()
294 word = ac97c_readl(chip, CAMR); in atmel_ac97c_capture_prepare()
296 word = AC97C_CMR_DMAEN | AC97C_CMR_SIZE_16; in atmel_ac97c_capture_prepare()
298 word |= AC97C_CMR_DMAEN | AC97C_CMR_SIZE_16; in atmel_ac97c_capture_prepare()
304 word &= ~(AC97C_CMR_CEM_LITTLE); in atmel_ac97c_capture_prepare()
307 word = ac97c_readl(chip, ICA); in atmel_ac97c_capture_prepare()
308 word &= ~(AC97C_CH_MASK(PCM_LEFT) | AC97C_CH_MASK(PCM_RIGHT)); in atmel_ac97c_capture_prepare()
309 ac97c_writel(chip, ICA, word); in atmel_ac97c_capture_prepare()
314 word |= AC97C_CSR_OVRUN; in atmel_ac97c_capture_prepare()
316 ac97c_writel(chip, CAMR, word); in atmel_ac97c_capture_prepare()
319 word = ac97c_readl(chip, IMR); in atmel_ac97c_capture_prepare()
320 word |= AC97C_SR_CAEVT; in atmel_ac97c_capture_prepare()
321 ac97c_writel(chip, IER, word); in atmel_ac97c_capture_prepare()
325 word = ac97c_readl(chip, MR); in atmel_ac97c_capture_prepare()
326 word |= AC97C_MR_VRA; in atmel_ac97c_capture_prepare()
327 ac97c_writel(chip, MR, word); in atmel_ac97c_capture_prepare()
329 word = ac97c_readl(chip, MR); in atmel_ac97c_capture_prepare()
330 word &= ~(AC97C_MR_VRA); in atmel_ac97c_capture_prepare()
331 ac97c_writel(chip, MR, word); in atmel_ac97c_capture_prepare()
610 unsigned long word; in atmel_ac97c_write() local
613 word = (reg & 0x7f) << 16 | val; in atmel_ac97c_write()
617 ac97c_writel(chip, COTHR, word); in atmel_ac97c_write()
630 unsigned long word; in atmel_ac97c_read() local
634 word = (0x80 | (reg & 0x7f)) << 16; in atmel_ac97c_read()
644 ac97c_writel(chip, COTHR, word); in atmel_ac97c_read()