Lines Matching refs:mace
124 CODEC_CONTROL_READ, &mace->perif.audio.codec_control); in read_ad1843_reg()
126 val = readq(&mace->perif.audio.codec_control); /* flush bus */ in read_ad1843_reg()
129 val = readq(&mace->perif.audio.codec_read); in read_ad1843_reg()
148 &mace->perif.audio.codec_control); in write_ad1843_reg()
150 val = readq(&mace->perif.audio.codec_control); /* flush bus */ in write_ad1843_reg()
380 src_pos = readq(&mace->perif.audio.chan[ch].read_ptr); in snd_sgio2audio_dma_pull_frag()
403 writeq(src_pos, &mace->perif.audio.chan[ch].read_ptr); /* in bytes */ in snd_sgio2audio_dma_pull_frag()
428 dst_pos = readq(&mace->perif.audio.chan[ch].write_ptr); in snd_sgio2audio_dma_push_frag()
453 writeq(dst_pos, &mace->perif.audio.chan[ch].write_ptr); /* in bytes */ in snd_sgio2audio_dma_push_frag()
467 writeq(CHANNEL_CONTROL_RESET, &mace->perif.audio.chan[ch].control); in snd_sgio2audio_dma_start()
469 writeq(0, &mace->perif.audio.chan[ch].control); in snd_sgio2audio_dma_start()
477 &mace->perif.audio.chan[ch].control); in snd_sgio2audio_dma_start()
485 writeq(0, &mace->perif.audio.chan[chan->idx].control); in snd_sgio2audio_dma_stop()
502 readq(&mace->perif.audio.chan[ch].depth) - 32; in snd_sgio2audio_dma_in_isr()
521 readq(&mace->perif.audio.chan[ch].depth) - 32; in snd_sgio2audio_dma_out_isr()
808 writeq(AUDIO_CONTROL_RESET, &mace->perif.audio.control); in snd_sgio2audio_free()
810 writeq(0, &mace->perif.audio.control); in snd_sgio2audio_free()
846 if (!(readq(&mace->perif.audio.control) & AUDIO_CONTROL_CODEC_PRESENT)) in snd_sgio2audio_create()
887 writeq(AUDIO_CONTROL_RESET, &mace->perif.audio.control); in snd_sgio2audio_create()
889 writeq(0, &mace->perif.audio.control); in snd_sgio2audio_create()
893 writeq(chip->ring_base_dma, &mace->perif.ctrl.ringbase); in snd_sgio2audio_create()