Lines Matching refs:codec_write

457 	codec->codec_write(codec, mh->offset, val);  in ac97_write_mixer()
513 codec->codec_write(codec, AC97_RECORD_SELECT, val); in ac97_recmask_io()
727 codec->codec_write(codec, AC97_EXTENDED_MODEM_ID, 0L); in ac97_check_modem()
842 codec->codec_write(codec, AC97_RESET, 0L); in ac97_probe_codec()
924 codec->codec_write(codec, AC97_MASTER_VOL_STEREO, 0x2020); in ac97_init_mixer()
980 codec->codec_write(codec, AC97_SIGMATEL_CIC1, 0xabba); in sigmatel_9708_init()
981 codec->codec_write(codec, AC97_SIGMATEL_CIC2, 0x1000); in sigmatel_9708_init()
982 codec->codec_write(codec, AC97_SIGMATEL_BIAS1, 0xabba); in sigmatel_9708_init()
983 codec->codec_write(codec, AC97_SIGMATEL_BIAS2, 0x0007); in sigmatel_9708_init()
985 codec->codec_write(codec, AC97_SIGMATEL_CIC1, 0xabba); in sigmatel_9708_init()
986 codec->codec_write(codec, AC97_SIGMATEL_CIC2, 0x1001); in sigmatel_9708_init()
987 codec->codec_write(codec, AC97_SIGMATEL_DAC2INVERT, 0x0008); in sigmatel_9708_init()
991 codec->codec_write(codec, AC97_SIGMATEL_MULTICHN, 0x0000); in sigmatel_9708_init()
1002 codec->codec_write(codec, AC97_SURROUND_MASTER, 0L); in sigmatel_9721_init()
1006 codec->codec_write(codec, AC97_SIGMATEL_MULTICHN, 0x00); in sigmatel_9721_init()
1011 codec->codec_write(codec, AC97_SIGMATEL_CIC1, 0xabba); in sigmatel_9721_init()
1015 codec->codec_write(codec, AC97_SIGMATEL_CIC2, 0x3802); in sigmatel_9721_init()
1024 codec->codec_write(codec, AC97_SIGMATEL_CIC1, 0xabba); in sigmatel_9744_init()
1025 codec->codec_write(codec, AC97_SIGMATEL_CIC2, 0x0000); // is this correct? --jk in sigmatel_9744_init()
1026 codec->codec_write(codec, AC97_SIGMATEL_BIAS1, 0xabba); in sigmatel_9744_init()
1027 codec->codec_write(codec, AC97_SIGMATEL_BIAS2, 0x0002); in sigmatel_9744_init()
1028 codec->codec_write(codec, AC97_SIGMATEL_MULTICHN, 0x0000); in sigmatel_9744_init()
1046 codec->codec_write(codec, 0x64, 0x3000); in cmedia_init()
1049 codec->codec_write(codec, 0x64, v); in cmedia_init()
1050 codec->codec_write(codec, 0x70, 0x0100); in cmedia_init()
1051 codec->codec_write(codec, 0x72, 0x0020); in cmedia_init()
1064 codec->codec_write(codec, AC97_WM97XX_FMIXER_VOL, 0x0808); in wolfson_init03()
1065 codec->codec_write(codec, AC97_GENERAL_PURPOSE, 0x8000); in wolfson_init03()
1071 codec->codec_write(codec, AC97_WM97XX_FMIXER_VOL, 0x0808); in wolfson_init04()
1072 codec->codec_write(codec, AC97_WM97XX_RMIXER_VOL, 0x0808); in wolfson_init04()
1075 codec->codec_write(codec, AC97_WM97XX_TEST, 0x0200); in wolfson_init04()
1078 codec->codec_write(codec, AC97_WM9704_RPCM_VOL, in wolfson_init04()
1082 codec->codec_write(codec, AC97_SURROUND_MASTER, 0x0000); in wolfson_init04()
1090 codec->codec_write(codec, AC97_WM97XX_FMIXER_VOL, 0x0808); in wolfson_init05()
1098 codec->codec_write(codec, AC97_WM97XX_TEST, codec->codec_read(codec, AC97_WM97XX_TEST) & 0xffbf); in wolfson_init11()
1101 codec->codec_write(codec, AC97_WM9711_OUT3VOL, 0x0808); in wolfson_init11()
1108 codec->codec_write(codec, AC97_RECORD_GAIN, 0x00a0); in wolfson_init13()
1109 codec->codec_write(codec, AC97_POWER_CONTROL, 0x0000); in wolfson_init13()
1110 codec->codec_write(codec, AC97_EXTENDED_MODEM_ID, 0xDA00); in wolfson_init13()
1111 codec->codec_write(codec, AC97_EXTEND_MODEM_STAT, 0x3810); in wolfson_init13()
1112 codec->codec_write(codec, AC97_PHONE_VOL, 0x0808); in wolfson_init13()
1113 codec->codec_write(codec, AC97_PCBEEP_VOL, 0x0808); in wolfson_init13()
1120 codec->codec_write(codec, 0x26, 0x0300); in tritech_init()
1121 codec->codec_write(codec, 0x26, 0x0000); in tritech_init()
1122 codec->codec_write(codec, AC97_SURROUND_MASTER, 0x0000); in tritech_init()
1123 codec->codec_write(codec, AC97_RESERVED_3A, 0x0000); in tritech_init()
1132 codec->codec_write(codec, 0x2A, 0x0001); in tritech_maestro_init()
1133 codec->codec_write(codec, 0x2C, 0x0000); in tritech_maestro_init()
1134 codec->codec_write(codec, 0x2C, 0XFFFF); in tritech_maestro_init()
1152 codec->codec_write(codec, AC97_AD1886_JACK_SENSE, 0x0010); in ad1886_init()
1169 codec->codec_write(codec, AC97_POWER_CONTROL, in eapd_control()
1172 codec->codec_write(codec, AC97_POWER_CONTROL, in eapd_control()
1189 codec->codec_write(codec, AC97_EXTENDED_STATUS, (reg & ~AC97_EA_SPDIF)); in generic_digital_control()
1214 codec->codec_write(codec, AC97_SPDIF_CONTROL, reg); in generic_digital_control()
1219 codec->codec_write(codec, AC97_EXTENDED_STATUS, reg); in generic_digital_control()
1224 codec->codec_write(codec, AC97_EXTENDED_STATUS, reg & ~ AC97_EA_SPDIF); in generic_digital_control()
1250 codec->codec_write(codec, 0x68, cv); in crystal_digital_control()
1273 codec->codec_write(codec, 0x2A, 0x05c4); in cmedia_digital_control()
1274 codec->codec_write(codec, 0x6C, cv); in cmedia_digital_control()
1281 codec->codec_write(codec, 0x64, cv); in cmedia_digital_control()
1293 codec->codec_write(codec, 0x2A, 0x0001);
1294 codec->codec_write(codec, 0x2C, 0x0000);
1295 codec->codec_write(codec, 0x2C, 0xFFFF);
1296 codec->codec_write(codec, 0x10, 0x9F1F);
1297 codec->codec_write(codec, 0x12, 0x0808);
1298 codec->codec_write(codec, 0x14, 0x9F1F);
1299 codec->codec_write(codec, 0x16, 0x9F1F);
1300 codec->codec_write(codec, 0x18, 0x0404);
1301 codec->codec_write(codec, 0x1A, 0x0000);
1302 codec->codec_write(codec, 0x1C, 0x0000);
1303 codec->codec_write(codec, 0x02, 0x0404);
1304 codec->codec_write(codec, 0x04, 0x0808);
1305 codec->codec_write(codec, 0x0C, 0x801F);
1306 codec->codec_write(codec, 0x0E, 0x801F);
1342 codec->codec_write(codec, AC97_MASTER_VOL_STEREO, mute_vol); in ac97_set_dac_rate()
1343 codec->codec_write(codec, AC97_MASTER_VOL_MONO, mute_vol); in ac97_set_dac_rate()
1344 codec->codec_write(codec, AC97_HEADPHONE_VOL, mute_vol); in ac97_set_dac_rate()
1345 codec->codec_write(codec, AC97_PCMOUT_VOL, mute_vol); in ac97_set_dac_rate()
1349 codec->codec_write(codec, AC97_POWER_CONTROL, dacp|0x0200); in ac97_set_dac_rate()
1351 codec->codec_write(codec, AC97_PCM_FRONT_DAC_RATE, rate); in ac97_set_dac_rate()
1354 codec->codec_write(codec, AC97_POWER_CONTROL, dacp); in ac97_set_dac_rate()
1357 codec->codec_write(codec, AC97_MASTER_VOL_STEREO, mast_vol); in ac97_set_dac_rate()
1358 codec->codec_write(codec, AC97_MASTER_VOL_MONO, mono_vol); in ac97_set_dac_rate()
1359 codec->codec_write(codec, AC97_HEADPHONE_VOL, phone_vol); in ac97_set_dac_rate()
1360 codec->codec_write(codec, AC97_PCMOUT_VOL, pcm_vol); in ac97_set_dac_rate()
1385 codec->codec_write(codec, AC97_POWER_CONTROL, dacp|0x0100); in ac97_set_adc_rate()
1387 codec->codec_write(codec, AC97_PCM_LR_ADC_RATE, rate); in ac97_set_adc_rate()
1390 codec->codec_write(codec, AC97_POWER_CONTROL, dacp); in ac97_set_adc_rate()