Lines Matching refs:WRITEREG
28 #define WRITEREG(value, addr) writel((value), chip->base_addr + (addr)) macro
42 WRITEREG(0, IER); in snd_aw2_saa7146_free()
45 WRITEREG((MRST_N << 16), MC1); in snd_aw2_saa7146_free()
84 WRITEREG(0, IER); in snd_aw2_saa7146_setup()
87 WRITEREG((MRST_N << 16), MC1); in snd_aw2_saa7146_setup()
109 WRITEREG(acon1, ACON1); in snd_aw2_saa7146_setup()
114 WRITEREG(3 * (BurstA1_in) + 3 * (ThreshA1_in) + in snd_aw2_saa7146_setup()
119 WRITEREG((EAP << 16) | EAP, MC1); in snd_aw2_saa7146_setup()
122 WRITEREG((EI2C << 16) | EI2C, MC1); in snd_aw2_saa7146_setup()
124 WRITEREG(A1_out | A2_out | A1_in | IIC_S | IIC_E, IER); in snd_aw2_saa7146_setup()
128 WRITEREG(acon2, ACON2); in snd_aw2_saa7146_setup()
135 WRITEREG(tsl1[i], TSL1 + (i * 4)); in snd_aw2_saa7146_setup()
136 WRITEREG(tsl2[i], TSL2 + (i * 4)); in snd_aw2_saa7146_setup()
173 WRITEREG(dw_page, PageA2_out); in snd_aw2_saa7146_pcm_init_playback()
178 WRITEREG(dma_addr, BaseA2_out); in snd_aw2_saa7146_pcm_init_playback()
181 WRITEREG(dma_addr + buffer_size, ProtA2_out); in snd_aw2_saa7146_pcm_init_playback()
184 WRITEREG(dw_page, PageA1_out); in snd_aw2_saa7146_pcm_init_playback()
189 WRITEREG(dma_addr, BaseA1_out); in snd_aw2_saa7146_pcm_init_playback()
192 WRITEREG(dma_addr + buffer_size, ProtA1_out); in snd_aw2_saa7146_pcm_init_playback()
230 WRITEREG(dw_page, PageA1_in); in snd_aw2_saa7146_pcm_init_capture()
235 WRITEREG(dma_addr, BaseA1_in); in snd_aw2_saa7146_pcm_init_capture()
238 WRITEREG(dma_addr + buffer_size, ProtA1_in); in snd_aw2_saa7146_pcm_init_capture()
279 WRITEREG((TR_E_A2_OUT << 16) | TR_E_A2_OUT, MC1); in snd_aw2_saa7146_pcm_trigger_start_playback()
283 WRITEREG(acon1, ACON1); in snd_aw2_saa7146_pcm_trigger_start_playback()
286 WRITEREG((TR_E_A1_OUT << 16) | TR_E_A1_OUT, MC1); in snd_aw2_saa7146_pcm_trigger_start_playback()
290 WRITEREG(acon1, ACON1); in snd_aw2_saa7146_pcm_trigger_start_playback()
302 WRITEREG(acon1, ACON1); in snd_aw2_saa7146_pcm_trigger_stop_playback()
304 WRITEREG((TR_E_A2_OUT << 16), MC1); in snd_aw2_saa7146_pcm_trigger_stop_playback()
308 WRITEREG(acon1, ACON1); in snd_aw2_saa7146_pcm_trigger_stop_playback()
310 WRITEREG((TR_E_A1_OUT << 16), MC1); in snd_aw2_saa7146_pcm_trigger_stop_playback()
320 WRITEREG((TR_E_A1_IN << 16) | TR_E_A1_IN, MC1); in snd_aw2_saa7146_pcm_trigger_start_capture()
327 WRITEREG((TR_E_A1_IN << 16), MC1); in snd_aw2_saa7146_pcm_trigger_stop_capture()
340 WRITEREG(isr, ISR); in snd_aw2_saa7146_interrupt()
344 WRITEREG(0x100, IICSTA); in snd_aw2_saa7146_interrupt()
424 WRITEREG(0x40, GPIO_CTRL); in snd_aw2_saa7146_use_digital_input()
426 WRITEREG(0x50, GPIO_CTRL); in snd_aw2_saa7146_use_digital_input()