/linux-4.4.14/drivers/media/i2c/ |
H A D | wm8775.c | 53 #define ALC_HOLD 0x85 /* R17: use zero cross detection, ALC hold time 42.6 ms */ 54 #define ALC_EN 0x100 /* R17: ALC enable */ 274 /* ALC Stereo, ALC target level -1dB FS max gain +8dB */ wm8775_probe() 277 ALC hold time 42.6 ms */ wm8775_probe() 280 /* ALC stereo, ALC target level -5dB FS, ALC max gain +8dB */ wm8775_probe() 282 /* Set ALC mode and hold time */ wm8775_probe() 285 /* ALC gain ramp up delay 34 s, ALC gain ramp down delay 33 ms */ wm8775_probe() 295 /* Transient window 4ms, ALC min gain -5dB */ wm8775_probe()
|
/linux-4.4.14/sound/soc/codecs/ |
H A D | wm9712.c | 112 SOC_SINGLE("ALC Target Volume", AC97_CODEC_CLASS_REV, 12, 15, 0), 113 SOC_SINGLE("ALC Hold Time", AC97_CODEC_CLASS_REV, 8, 15, 0), 114 SOC_SINGLE("ALC Decay Time", AC97_CODEC_CLASS_REV, 4, 15, 0), 115 SOC_SINGLE("ALC Attack Time", AC97_CODEC_CLASS_REV, 0, 15, 0), 116 SOC_ENUM("ALC Function", wm9712_enum[0]), 117 SOC_SINGLE("ALC Max Volume", AC97_PCI_SVID, 11, 7, 0), 118 SOC_SINGLE("ALC ZC Timeout", AC97_PCI_SVID, 9, 3, 1), 119 SOC_SINGLE("ALC ZC Switch", AC97_PCI_SVID, 8, 1, 0), 120 SOC_SINGLE("ALC NG Switch", AC97_PCI_SVID, 7, 1, 0), 121 SOC_ENUM("ALC NG Type", wm9712_enum[10]), 122 SOC_SINGLE("ALC NG Threshold", AC97_PCI_SVID, 0, 31, 1), 125 SOC_SINGLE("ALC Headphone Volume", AC97_VIDEO, 7, 7, 1), 290 /* ALC headphone mux */ 323 SND_SOC_DAPM_MUX("ALC Sidetone Mux", SND_SOC_NOPM, 0, 0, 391 {"Left HP Mixer", NULL, "ALC Sidetone Mux"}, 400 {"Right HP Mixer", NULL, "ALC Sidetone Mux"}, 452 /* ALC Sidetone */ 453 {"ALC Sidetone Mux", "Stereo", "Left Capture Select"}, 454 {"ALC Sidetone Mux", "Stereo", "Right Capture Select"}, 455 {"ALC Sidetone Mux", "Left", "Left Capture Select"}, 456 {"ALC Sidetone Mux", "Right", "Right Capture Select"},
|
H A D | wm8974.c | 63 static const char *wm8974_alc[] = {"ALC", "Limiter" }; 140 SOC_SINGLE("ALC Enable Switch", WM8974_ALC1, 8, 1, 0), 141 SOC_SINGLE("ALC Capture Max Gain", WM8974_ALC1, 3, 7, 0), 142 SOC_SINGLE("ALC Capture Min Gain", WM8974_ALC1, 0, 7, 0), 144 SOC_SINGLE("ALC Capture ZC Switch", WM8974_ALC2, 8, 1, 0), 145 SOC_SINGLE("ALC Capture Hold", WM8974_ALC2, 4, 7, 0), 146 SOC_SINGLE("ALC Capture Target", WM8974_ALC2, 0, 15, 0), 148 SOC_ENUM("ALC Capture Mode", wm8974_enum[13]), 149 SOC_SINGLE("ALC Capture Decay", WM8974_ALC3, 4, 15, 0), 150 SOC_SINGLE("ALC Capture Attack", WM8974_ALC3, 0, 15, 0), 152 SOC_SINGLE("ALC Capture Noise Gate Switch", WM8974_NGATE, 3, 1, 0), 153 SOC_SINGLE("ALC Capture Noise Gate Threshold", WM8974_NGATE, 0, 7, 0),
|
H A D | wm8510.c | 118 static const char *wm8510_alc[] = { "ALC", "Limiter" }; 152 SOC_SINGLE("ALC Enable Switch", WM8510_ALC1, 8, 1, 0), 153 SOC_SINGLE("ALC Capture Max Gain", WM8510_ALC1, 3, 7, 0), 154 SOC_SINGLE("ALC Capture Min Gain", WM8510_ALC1, 0, 7, 0), 156 SOC_SINGLE("ALC Capture ZC Switch", WM8510_ALC2, 8, 1, 0), 157 SOC_SINGLE("ALC Capture Hold", WM8510_ALC2, 4, 7, 0), 158 SOC_SINGLE("ALC Capture Target", WM8510_ALC2, 0, 15, 0), 160 SOC_ENUM("ALC Capture Mode", wm8510_enum[3]), 161 SOC_SINGLE("ALC Capture Decay", WM8510_ALC3, 4, 15, 0), 162 SOC_SINGLE("ALC Capture Attack", WM8510_ALC3, 0, 15, 0), 164 SOC_SINGLE("ALC Capture Noise Gate Switch", WM8510_NGATE, 3, 1, 0), 165 SOC_SINGLE("ALC Capture Noise Gate Threshold", WM8510_NGATE, 0, 7, 0),
|
H A D | wm8940.c | 132 { 0x20, 0x0038 }, /* ALC Control 1 */ 133 { 0x21, 0x000B }, /* ALC Control 2 */ 134 { 0x22, 0x0032 }, /* ALC Control 3 */ 141 { 0x2a, 0x0030 }, /* ALC Control 4 */ 162 static const char *wm8940_alc_mode_text[] = {"ALC", "Limiter"}; 191 SOC_ENUM("ALC Mode", wm8940_alc_mode_enum), 192 SOC_SINGLE("ALC Switch", WM8940_ALC1, 8, 1, 0), 193 SOC_SINGLE_TLV("ALC Capture Max Gain", WM8940_ALC1, 195 SOC_SINGLE_TLV("ALC Capture Min Gain", WM8940_ALC1, 197 SOC_SINGLE_TLV("ALC Capture Target", WM8940_ALC2, 199 SOC_SINGLE("ALC Capture Hold", WM8940_ALC2, 4, 10, 0), 200 SOC_SINGLE("ALC Capture Decay", WM8940_ALC3, 4, 10, 0), 201 SOC_SINGLE("ALC Capture Attach", WM8940_ALC3, 0, 10, 0), 202 SOC_SINGLE("ALC ZC Switch", WM8940_ALC4, 1, 1, 0), 203 SOC_SINGLE("ALC Capture Noise Gate Switch", WM8940_NOISEGATE, 205 SOC_SINGLE("ALC Capture Noise Gate Threshold", WM8940_NOISEGATE,
|
H A D | ml26124.c | 99 SOC_SINGLE_TLV("ALC Target Level", ML26124_ALC_TARGET_LEV, 0, 101 SOC_SINGLE_TLV("ALC Min Input Volume", ML26124_ALC_MAXMIN_GAIN, 0, 103 SOC_SINGLE_TLV("ALC Max Input Volume", ML26124_ALC_MAXMIN_GAIN, 4, 281 /* ALC Control Register */ 282 {0xb0, 0x00}, /* ALC Mode */ 283 {0xb2, 0x02}, /* ALC Attack Time */ 284 {0xb4, 0x03}, /* ALC Decay Time */ 285 {0xb6, 0x00}, /* ALC Hold Time */ 286 {0xb8, 0x0b}, /* ALC Target Level */ 287 {0xba, 0x70}, /* ALC Max/Min Gain */ 289 {0xbe, 0x00}, /* ALC ZeroCross TimeOut */
|
H A D | ak4642.c | 109 #define ZTM(param) ((param & 0x3) << 4) /* ALC Zero Crossing TimeOut */ 113 #define ALC (1 << 5) /* ALC Enable */ macro 114 #define LMTH0 (1 << 0) /* ALC Limiter / Recovery Level */ 166 SOC_SINGLE("ALC Capture Switch", ALC_CTL1, 5, 1, 0), 167 SOC_SINGLE("ALC Capture ZC Switch", ALC_CTL1, 4, 1, 1), 308 * ALC setting:Refer to Table 35 ak4642_dai_startup() 309 * ALC bit=“1” ak4642_dai_startup() 316 snd_soc_write(codec, ALC_CTL1, ALC | LMTH0); ak4642_dai_startup() 335 snd_soc_update_bits(codec, ALC_CTL1, ALC, 0); ak4642_dai_shutdown()
|
H A D | da7213.c | 140 /* ALC Attack Rate select */ 151 /* ALC Release Rate select */ 162 /* ALC Hold Time select */ 174 /* ALC Input Signal Tracking rate select */ 268 "ALC auto calibration failed with overflow\n"); da7213_alc_calib_auto() 352 /* If ALC in operation, make sure calibrated offsets are updated */ da7213_put_mixin_gain() 365 /* Force ALC offset calibration if enabling ALC */ da7213_put_alc_sw() 527 /* ALC Controls */ 528 SOC_DOUBLE_EXT("ALC Switch", DA7213_ALC_CTRL1, DA7213_ALC_L_EN_SHIFT, 531 SOC_ENUM("ALC Attack Rate", da7213_alc_attack_rate), 532 SOC_ENUM("ALC Release Rate", da7213_alc_release_rate), 533 SOC_ENUM("ALC Hold Time", da7213_alc_hold_time), 538 SOC_ENUM("ALC Integ Attack Rate", da7213_alc_integ_attack_rate), 543 SOC_ENUM("ALC Integ Release Rate", da7213_alc_integ_release_rate), 544 SOC_SINGLE_TLV("ALC Noise Threshold Volume", DA7213_ALC_NOISE, 547 SOC_SINGLE_TLV("ALC Min Threshold Volume", DA7213_ALC_TARGET_MIN, 550 SOC_SINGLE_TLV("ALC Max Threshold Volume", DA7213_ALC_TARGET_MAX, 553 SOC_SINGLE_TLV("ALC Max Attenuation Volume", DA7213_ALC_GAIN_LIMITS, 557 SOC_SINGLE_TLV("ALC Max Gain Volume", DA7213_ALC_GAIN_LIMITS, 560 SOC_SINGLE_TLV("ALC Min Analog Gain Volume", DA7213_ALC_ANA_GAIN_LIMITS, 563 SOC_SINGLE_TLV("ALC Max Analog Gain Volume", DA7213_ALC_ANA_GAIN_LIMITS, 566 SOC_SINGLE("ALC Anticlip Mode Switch", DA7213_ALC_ANTICLIP_CTRL, 569 SOC_SINGLE("ALC Anticlip Level", DA7213_ALC_ANTICLIP_LEVEL, 1542 /* Default to using ALC auto offset calibration mode. */ da7213_probe()
|
H A D | wm8971.c | 167 SOC_SINGLE("ALC Target Volume", WM8971_ALC1, 0, 7, 0), 168 SOC_SINGLE("ALC Max Volume", WM8971_ALC1, 4, 7, 0), 170 SOC_SINGLE("ALC Capture Target Volume", WM8971_ALC1, 0, 7, 0), 171 SOC_SINGLE("ALC Capture Max Volume", WM8971_ALC1, 4, 7, 0), 172 SOC_ENUM("ALC Capture Function", wm8971_enum[3]), 173 SOC_SINGLE("ALC Capture ZC Switch", WM8971_ALC2, 7, 1, 0), 174 SOC_SINGLE("ALC Capture Hold Time", WM8971_ALC2, 0, 15, 0), 175 SOC_SINGLE("ALC Capture Decay Time", WM8971_ALC3, 4, 15, 0), 176 SOC_SINGLE("ALC Capture Attack Time", WM8971_ALC3, 0, 15, 0), 177 SOC_SINGLE("ALC Capture NG Threshold", WM8971_NGATE, 3, 31, 0), 178 SOC_ENUM("ALC Capture NG Type", wm8971_enum[4]), 179 SOC_SINGLE("ALC Capture NG Switch", WM8971_NGATE, 0, 1, 0),
|
H A D | ak4535.c | 91 SOC_SINGLE("ALC Operation Time", AK4535_TIMER, 0, 3, 0), 92 SOC_SINGLE("ALC Recovery Time", AK4535_TIMER, 2, 3, 0), 93 SOC_SINGLE("ALC ZC Time", AK4535_TIMER, 4, 3, 0), 94 SOC_SINGLE("ALC 1 Switch", AK4535_ALC1, 5, 1, 0), 95 SOC_SINGLE("ALC 2 Switch", AK4535_ALC1, 6, 1, 0), 96 SOC_SINGLE("ALC Volume", AK4535_ALC2, 0, 127, 0),
|
H A D | da9055.c | 413 /* ALC Input Signal Tracking rate select */ 426 /* ALC Attack Rate select */ 435 /* ALC Release Rate select */ 444 /* ALC Hold Time select */ 490 * While enabling ALC (or ALC sync mode), calibration of the DC da9055_put_alc_sw() 653 /* ALC Controls */ 654 SOC_DOUBLE_EXT("ALC Switch", DA9055_ALC_CTRL1, 3, 7, 1, 0, 656 SOC_SINGLE_EXT("ALC Sync Mode Switch", DA9055_ALC_CTRL1, 1, 1, 0, 658 SOC_SINGLE("ALC Offset Switch", DA9055_ALC_CTRL1, 0, 1, 0), 659 SOC_SINGLE("ALC Anticlip Mode Switch", DA9055_ALC_ANTICLIP_CTRL, 661 SOC_SINGLE("ALC Anticlip Level", DA9055_ALC_ANTICLIP_LEVEL, 663 SOC_SINGLE_TLV("ALC Min Threshold Volume", DA9055_ALC_TARGET_MIN, 665 SOC_SINGLE_TLV("ALC Max Threshold Volume", DA9055_ALC_TARGET_MAX, 667 SOC_SINGLE_TLV("ALC Noise Threshold Volume", DA9055_ALC_NOISE, 669 SOC_SINGLE_TLV("ALC Max Gain Volume", DA9055_ALC_GAIN_LIMITS, 671 SOC_SINGLE_TLV("ALC Max Attenuation Volume", DA9055_ALC_GAIN_LIMITS, 673 SOC_SINGLE_TLV("ALC Min Analog Gain Volume", 676 SOC_SINGLE_TLV("ALC Max Analog Gain Volume", 679 SOC_ENUM("ALC Attack Rate", da9055_attack_rate), 680 SOC_ENUM("ALC Release Rate", da9055_release_rate), 681 SOC_ENUM("ALC Hold Time", da9055_hold_time), 686 SOC_ENUM("ALC Integ Attack Rate", da9055_integ_attack_rate), 691 SOC_ENUM("ALC Integ Release Rate", da9055_integ_release_rate),
|
H A D | da7219.c | 310 /* ALC */ da7219_alc_calib() 350 /* If auto calibration fails, disable DC offset, hybrid ALC */ da7219_alc_calib() 353 "ALC auto calibration failed with overflow\n"); da7219_alc_calib() 386 * If ALC in operation and value of control has been updated, da7219_mixin_gain_put() 402 /* Force ALC offset calibration if enabling ALC */ da7219_alc_sw_put() 508 /* ALC */ 509 SOC_ENUM("ALC Attack Rate", da7219_alc_attack_rate), 510 SOC_ENUM("ALC Release Rate", da7219_alc_release_rate), 511 SOC_ENUM("ALC Hold Time", da7219_alc_hold_time), 512 SOC_ENUM("ALC Envelope Attack Rate", da7219_alc_env_attack_rate), 513 SOC_ENUM("ALC Envelope Release Rate", da7219_alc_env_release_rate), 514 SOC_SINGLE_TLV("ALC Noise Threshold", DA7219_ALC_NOISE, 517 SOC_SINGLE_TLV("ALC Min Threshold", DA7219_ALC_TARGET_MIN, 520 SOC_SINGLE_TLV("ALC Max Threshold", DA7219_ALC_TARGET_MAX, 523 SOC_SINGLE_TLV("ALC Max Attenuation", DA7219_ALC_GAIN_LIMITS, 526 SOC_SINGLE_TLV("ALC Max Volume", DA7219_ALC_GAIN_LIMITS, 529 SOC_SINGLE_RANGE_TLV("ALC Min Analog Volume", DA7219_ALC_ANA_GAIN_LIMITS, 533 SOC_SINGLE_RANGE_TLV("ALC Max Analog Volume", DA7219_ALC_ANA_GAIN_LIMITS, 537 SOC_ENUM("ALC Anticlip Step", da7219_alc_anticlip_step), 538 SOC_SINGLE("ALC Anticlip Switch", DA7219_ALC_ANTICLIP_CTRL, 541 SOC_SINGLE_EXT("ALC Switch", DA7219_ALC_CTRL1, DA7219_ALC_EN_SHIFT,
|
H A D | cs42l73.h | 76 #define CS42L73_ALCARATE 0x2F /* ALC Enable, Attack Rate AB. */ 77 #define CS42L73_ALCRRATE 0x30 /* ALC Release Rate AB. */ 78 #define CS42L73_ALCMINMAX 0x31 /* ALC Thresholds AB. */ 80 #define CS42L73_ALCNGMC 0x33 /* ALC & Noise Gate Misc Ctl. */
|
H A D | max98925.c | 76 { 0x31, 0x00 }, /* ALC Attack */ 77 { 0x32, 0x80 }, /* ALC Atten and Release */ 78 { 0x33, 0x00 }, /* ALC Infinite Hold Release */ 79 { 0x34, 0x92 }, /* ALC Configuration */ 199 SOC_SINGLE("ALC Switch", MAX98925_THRESHOLD, 201 SOC_SINGLE("ALC Threshold", MAX98925_THRESHOLD, M98925_ALC_TH_SHIFT, 536 /* Disable ALC muting */ max98925_probe()
|
H A D | wm8737.c | 180 SOC_ENUM("ALC", alc_fn), 181 SOC_SINGLE_TLV("ALC Max Gain Volume", WM8737_ALC1, 4, 7, 0, alc_max_tlv), 182 SOC_SINGLE_TLV("ALC Target Volume", WM8737_ALC1, 0, 15, 0, alc_target_tlv), 183 SOC_ENUM("ALC Hold Time", alc_hold), 184 SOC_SINGLE("ALC ZC Switch", WM8737_ALC2, 4, 1, 0), 185 SOC_ENUM("ALC Attack Time", alc_atk), 186 SOC_ENUM("ALC Decay Time", alc_dcy),
|
H A D | wm8988.c | 191 SOC_SINGLE("ALC Capture Target Volume", WM8988_ALC1, 0, 7, 0), 192 SOC_SINGLE("ALC Capture Max Volume", WM8988_ALC1, 4, 7, 0), 193 SOC_ENUM("ALC Capture Function", alc_func), 194 SOC_SINGLE("ALC Capture ZC Switch", WM8988_ALC2, 7, 1, 0), 195 SOC_SINGLE("ALC Capture Hold Time", WM8988_ALC2, 0, 15, 0), 196 SOC_SINGLE("ALC Capture Decay Time", WM8988_ALC3, 4, 15, 0), 197 SOC_SINGLE("ALC Capture Attack Time", WM8988_ALC3, 0, 15, 0), 198 SOC_SINGLE("ALC Capture NG Threshold", WM8988_NGATE, 3, 31, 0), 199 SOC_ENUM("ALC Capture NG Type", ng_type), 200 SOC_SINGLE("ALC Capture NG Switch", WM8988_NGATE, 0, 1, 0),
|
H A D | wm8750.c | 169 SOC_SINGLE("ALC Capture Target Volume", WM8750_ALC1, 0, 7, 0), 170 SOC_SINGLE("ALC Capture Max Volume", WM8750_ALC1, 4, 7, 0), 171 SOC_ENUM("ALC Capture Function", wm8750_enum[6]), 172 SOC_SINGLE("ALC Capture ZC Switch", WM8750_ALC2, 7, 1, 0), 173 SOC_SINGLE("ALC Capture Hold Time", WM8750_ALC2, 0, 15, 0), 174 SOC_SINGLE("ALC Capture Decay Time", WM8750_ALC3, 4, 15, 0), 175 SOC_SINGLE("ALC Capture Attack Time", WM8750_ALC3, 0, 15, 0), 176 SOC_SINGLE("ALC Capture NG Threshold", WM8750_NGATE, 3, 31, 0), 177 SOC_ENUM("ALC Capture NG Type", wm8750_enum[4]), 178 SOC_SINGLE("ALC Capture NG Switch", WM8750_NGATE, 0, 1, 0),
|
H A D | wm8983.c | 59 { 0x20, 0x0038 }, /* R32 - ALC control 1 */ 60 { 0x21, 0x000B }, /* R33 - ALC control 2 */ 61 { 0x22, 0x0032 }, /* R34 - ALC control 3 */ 150 static const char *alc_mode_text[] = { "ALC", "Limiter" }; 212 SOC_ENUM("ALC Capture Function", alc_sel), 213 SOC_SINGLE_TLV("ALC Capture Max Volume", WM8983_ALC_CONTROL_1, 215 SOC_SINGLE_TLV("ALC Capture Min Volume", WM8983_ALC_CONTROL_1, 217 SOC_SINGLE_TLV("ALC Capture Target Volume", WM8983_ALC_CONTROL_2, 219 SOC_SINGLE("ALC Capture Attack", WM8983_ALC_CONTROL_3, 0, 10, 0), 220 SOC_SINGLE("ALC Capture Hold", WM8983_ALC_CONTROL_2, 4, 10, 0), 221 SOC_SINGLE("ALC Capture Decay", WM8983_ALC_CONTROL_3, 4, 10, 0), 222 SOC_ENUM("ALC Mode", alc_mode), 223 SOC_SINGLE("ALC Capture NG Switch", WM8983_NOISE_GATE, 225 SOC_SINGLE("ALC Capture NG Threshold", WM8983_NOISE_GATE,
|
H A D | wm8985.c | 71 { 32, 0x0038 }, /* R32 - ALC control 1 */ 72 { 33, 0x000B }, /* R33 - ALC control 2 */ 73 { 34, 0x0032 }, /* R34 - ALC control 3 */ 231 static const char *alc_mode_text[] = { "ALC", "Limiter" }; 296 SOC_ENUM("ALC Capture Function", alc_sel), 297 SOC_SINGLE_TLV("ALC Capture Max Volume", WM8985_ALC_CONTROL_1, 299 SOC_SINGLE_TLV("ALC Capture Min Volume", WM8985_ALC_CONTROL_1, 301 SOC_SINGLE_TLV("ALC Capture Target Volume", WM8985_ALC_CONTROL_2, 303 SOC_SINGLE("ALC Capture Attack", WM8985_ALC_CONTROL_3, 0, 10, 0), 304 SOC_SINGLE("ALC Capture Hold", WM8985_ALC_CONTROL_2, 4, 10, 0), 305 SOC_SINGLE("ALC Capture Decay", WM8985_ALC_CONTROL_3, 4, 10, 0), 306 SOC_ENUM("ALC Mode", alc_mode), 307 SOC_SINGLE("ALC Capture NG Switch", WM8985_NOISE_GATE, 309 SOC_SINGLE("ALC Capture NG Threshold", WM8985_NOISE_GATE,
|
H A D | wm8753.c | 336 SOC_SINGLE("ALC Capture Target Volume", WM8753_ALC1, 0, 7, 0), 337 SOC_SINGLE("ALC Capture Max Volume", WM8753_ALC1, 4, 7, 0), 338 SOC_ENUM("ALC Capture Function", wm8753_enum[3]), 339 SOC_SINGLE("ALC Capture ZC Switch", WM8753_ALC2, 8, 1, 0), 340 SOC_SINGLE("ALC Capture Hold Time", WM8753_ALC2, 0, 15, 1), 341 SOC_SINGLE("ALC Capture Decay Time", WM8753_ALC3, 4, 15, 1), 342 SOC_SINGLE("ALC Capture Attack Time", WM8753_ALC3, 0, 15, 0), 343 SOC_SINGLE("ALC Capture NG Threshold", WM8753_NGATE, 3, 31, 0), 344 SOC_ENUM("ALC Capture NG Type", wm8753_enum[4]), 345 SOC_SINGLE("ALC Capture NG Switch", WM8753_NGATE, 0, 1, 0), 433 /* ALC mixer */ 513 SND_SOC_DAPM_MIXER("ALC Mixer", WM8753_PWR2, 6, 0, 645 /* ALC Mixer */ 646 {"ALC Mixer", "Line Capture Switch", "Line Mixer"}, 647 {"ALC Mixer", "Mic2 Capture Switch", "Mic 2 Volume"}, 648 {"ALC Mixer", "Mic1 Capture Switch", "Mic 1 Volume"}, 649 {"ALC Mixer", "Rx Capture Switch", "Rx Mixer"}, 693 {"ACOP", NULL, "ALC Mixer"},
|
H A D | da7210.c | 330 /* ALC can be enabled only if noise suppression is disabled */ da7210_put_alc_sw() 340 "Disable noise suppression to enable ALC\n"); da7210_put_alc_sw() 344 /* If all conditions are met or we are actually disabling ALC */ da7210_put_alc_sw() 349 * ALC disabled 361 /* Check if ALC is enabled */ da7210_put_noise_sup_sw() 471 /* ALC controls */ 472 SOC_SINGLE_EXT("ALC Enable Switch", DA7210_ADC, 0, 1, 0, 474 SOC_SINGLE("ALC Capture Max Volume", DA7210_ALC_MAX, 0, 0x3F, 0), 475 SOC_SINGLE("ALC Capture Min Volume", DA7210_ALC_MIN, 0, 0x3F, 0), 476 SOC_SINGLE("ALC Capture Noise Volume", DA7210_ALC_NOIS, 0, 0x3F, 0), 477 SOC_SINGLE("ALC Capture Attack Rate", DA7210_ALC_ATT, 0, 0xFF, 0), 478 SOC_SINGLE("ALC Capture Release Rate", DA7210_ALC_REL, 0, 0xFF, 0), 479 SOC_SINGLE("ALC Capture Release Delay", DA7210_ALC_DEL, 0, 0xFF, 0),
|
H A D | ak4641.c | 135 SOC_SINGLE("ALC Operation Time", AK4641_TIMER, 0, 3, 0), 136 SOC_SINGLE("ALC Recovery Time", AK4641_TIMER, 2, 3, 0), 137 SOC_SINGLE("ALC ZC Time", AK4641_TIMER, 4, 3, 0), 139 SOC_SINGLE("ALC 1 Switch", AK4641_ALC1, 5, 1, 0), 141 SOC_SINGLE_TLV("ALC Volume", AK4641_ALC2, 0, 71, 0, alc_tlv),
|
H A D | wm8978.c | 117 static const char *wm8978_alc3[] = {"ALC", "Limiter"}; 196 SOC_ENUM("ALC Enable Switch", alc1), 197 SOC_SINGLE("ALC Capture Min Gain", WM8978_ALC_CONTROL_1, 0, 7, 0), 198 SOC_SINGLE("ALC Capture Max Gain", WM8978_ALC_CONTROL_1, 3, 7, 0), 200 SOC_SINGLE("ALC Capture Hold", WM8978_ALC_CONTROL_2, 4, 10, 0), 201 SOC_SINGLE("ALC Capture Target", WM8978_ALC_CONTROL_2, 0, 15, 0), 203 SOC_ENUM("ALC Capture Mode", alc3), 204 SOC_SINGLE("ALC Capture Decay", WM8978_ALC_CONTROL_3, 4, 10, 0), 205 SOC_SINGLE("ALC Capture Attack", WM8978_ALC_CONTROL_3, 0, 10, 0), 207 SOC_SINGLE("ALC Capture Noise Gate Switch", WM8978_NOISE_GATE, 3, 1, 0), 208 SOC_SINGLE("ALC Capture Noise Gate Threshold",
|
H A D | wm9713.c | 152 SOC_SINGLE("ALC Target Volume", AC97_CODEC_CLASS_REV, 12, 15, 0), 153 SOC_SINGLE("ALC Hold Time", AC97_CODEC_CLASS_REV, 8, 15, 0), 154 SOC_SINGLE("ALC Decay Time", AC97_CODEC_CLASS_REV, 4, 15, 0), 155 SOC_SINGLE("ALC Attack Time", AC97_CODEC_CLASS_REV, 0, 15, 0), 156 SOC_ENUM("ALC Function", wm9713_enum[6]), 157 SOC_SINGLE("ALC Max Volume", AC97_PCI_SVID, 11, 7, 0), 158 SOC_SINGLE("ALC ZC Timeout", AC97_PCI_SVID, 9, 3, 0), 159 SOC_SINGLE("ALC ZC Switch", AC97_PCI_SVID, 8, 1, 0), 160 SOC_SINGLE("ALC NG Switch", AC97_PCI_SVID, 7, 1, 0), 161 SOC_ENUM("ALC NG Type", wm9713_enum[17]), 162 SOC_SINGLE("ALC NG Threshold", AC97_PCI_SVID, 0, 31, 0),
|
H A D | cs42l52.c | 98 { CS42L52_ALC_CTL, 0x00 }, /* r2A ALC Ctl 1 Attack Rate */ 99 { CS42L52_ALC_RATE, 0x3F }, /* r2B ALC Release Rate */ 100 { CS42L52_ALC_THRESHOLD, 0x3f }, /* r2C ALC Thresholds */ 417 /* ALC */ 418 SOC_SINGLE_TLV("ALC Attack Rate Volume", CS42L52_ALC_CTL, 420 SOC_SINGLE_TLV("ALC Release Rate Volume", CS42L52_ALC_RATE, 422 SOC_SINGLE_TLV("ALC Max Threshold Volume", CS42L52_ALC_THRESHOLD, 424 SOC_SINGLE_TLV("ALC Min Threshold Volume", CS42L52_ALC_THRESHOLD, 427 SOC_DOUBLE_R("ALC SR Capture Switch", CS42L52_PGAA_CTL, 429 SOC_DOUBLE_R("ALC ZC Capture Switch", CS42L52_PGAA_CTL, 431 SOC_DOUBLE("ALC Capture Switch", CS42L52_ALC_CTL, 6, 7, 1, 0),
|
H A D | cs42l56.c | 100 { 34, 0x00 }, /* r22 - ALC Enable & Attack Rate */ 101 { 35, 0xbf }, /* r23 - ALC Release Rate */ 102 { 36, 0x00 }, /* r24 - ALC Threshold */ 104 { 38, 0x00 }, /* r26 - ALC, Limiter, SFT, ZeroCross */ 447 SOC_SINGLE("ALC Switch", CS42L56_ALC_EN_ATTACK_RATE, 6, 1, 1), 448 SOC_SINGLE("ALC Limit All Switch", CS42L56_ALC_RELEASE_RATE, 7, 1, 1), 449 SOC_SINGLE_RANGE("ALC Attack", CS42L56_ALC_EN_ATTACK_RATE, 451 SOC_SINGLE_RANGE("ALC Release", CS42L56_ALC_RELEASE_RATE, 453 SOC_SINGLE_TLV("ALC MAX", CS42L56_ALC_THRESHOLD, 455 SOC_SINGLE_TLV("ALC MIN", CS42L56_ALC_THRESHOLD,
|
H A D | wm8960.c | 149 static const char *wm8960_alcmode[] = {"ALC", "Limiter"}; 275 SOC_ENUM("ALC Function", wm8960_enum[4]), 276 SOC_SINGLE("ALC Max Gain", WM8960_ALC1, 4, 7, 0), 277 SOC_SINGLE("ALC Target", WM8960_ALC1, 0, 15, 1), 278 SOC_SINGLE("ALC Min Gain", WM8960_ALC2, 4, 7, 0), 279 SOC_SINGLE("ALC Hold Time", WM8960_ALC2, 0, 15, 0), 280 SOC_ENUM("ALC Mode", wm8960_enum[5]), 281 SOC_SINGLE("ALC Decay", WM8960_ALC3, 4, 15, 0), 282 SOC_SINGLE("ALC Attack", WM8960_ALC3, 0, 15, 0),
|
H A D | cs42l73.c | 91 { 47, 0x00 }, /* r2F - ALC Enable, Attack Rate Left/Right */ 92 { 48, 0x3F }, /* r30 - ALC Release Rate Left/Right */ 93 { 49, 0x00 }, /* r31 - ALC Threshold Left/Right */ 95 { 51, 0x00 }, /* r33 - ALC/NG Misc Ctl */ 396 SOC_SINGLE("ALC Attack Rate Volume", CS42L73_ALCARATE, 0, 0x3F, 0), 397 SOC_SINGLE("ALC Release Rate Volume", CS42L73_ALCRRATE, 0, 0x3F, 0), 398 SOC_DOUBLE("ALC Switch", CS42L73_ALCARATE, 6, 7, 1, 0), 399 SOC_SINGLE_TLV("ALC Max Threshold Volume", CS42L73_ALCMINMAX, 5, 7, 0, 401 SOC_SINGLE_TLV("ALC Min Threshold Volume", CS42L73_ALCMINMAX, 2, 7, 0,
|
H A D | lm49453.h | 132 /* EFFECTS ADC ALC */ 190 /* ADC ALC EFFECT MONITORS (Read Only) */
|
H A D | max98090.c | 83 { 0x33, 0x00 }, /* 33 ALC Timing */ 84 { 0x34, 0x00 }, /* 34 ALC Compressor */ 85 { 0x35, 0x00 }, /* 35 ALC Expander */ 86 { 0x36, 0x00 }, /* 36 ALC Gain */ 617 SOC_SINGLE("ALC Enable", M98090_REG_DRC_TIMING, 619 SOC_ENUM("ALC Attack Time", max98090_drcatk_enum), 620 SOC_ENUM("ALC Release Time", max98090_drcrls_enum), 621 SOC_SINGLE_TLV("ALC Make Up Volume", M98090_REG_DRC_GAIN, 624 SOC_ENUM("ALC Compression Ratio", max98090_alccmp_enum), 625 SOC_ENUM("ALC Expansion Ratio", max98090_drcexp_enum), 626 SOC_SINGLE_TLV("ALC Compression Threshold Volume", 629 SOC_SINGLE_TLV("ALC Expansion Threshold Volume",
|
H A D | ml26124.h | 99 /* ALC Control Register */
|
H A D | rt5631.h | 642 /* ALC CONTROL 1(0x64) */ 646 /* ALC CONTROL 2(0x65) */ 650 /* ALC CONTROL 3(0x66) */ 660 /* ALC noise gate hold data function */
|
H A D | adau1761.c | 409 SND_SOC_DAPM_SUPPLY("ALC Clock", ADAU1761_CLK_ENABLE0, 5, 0, NULL, 0), 441 { "Left Input Mixer", NULL, "ALC Clock" }, 442 { "Right Input Mixer", NULL, "ALC Clock" },
|
H A D | max98088.c | 116 { 0x43, 0x00 }, /* 43 ALC */ 498 SOC_SINGLE("ALC Switch", M98088_REG_43_SPKALC_COMP, 7, 1, 0), 499 SOC_SINGLE("ALC Threshold", M98088_REG_43_SPKALC_COMP, 0, 7, 0), 500 SOC_SINGLE("ALC Multiband", M98088_REG_43_SPKALC_COMP, 3, 1, 0), 501 SOC_SINGLE("ALC Release Time", M98088_REG_43_SPKALC_COMP, 4, 7, 0),
|
H A D | wm8776.c | 12 * TODO: Input ALC/limiter support
|
H A D | da7213.h | 492 /* ALC related */
|
H A D | wm8983.h | 553 * R32 (0x20) - ALC control 1 566 * R33 (0x21) - ALC control 2 576 * R34 (0x22) - ALC control 3
|
H A D | wm8985.h | 556 * R32 (0x20) - ALC control 1 569 * R33 (0x21) - ALC control 2 579 * R34 (0x22) - ALC control 3
|
H A D | rt5651.h | 1440 /* ALC Control 1 (0xb4) */ 1464 /* ALC Control 2 (0xb5) */ 1480 /* ALC Control 3 (0xb6) */
|
H A D | wm8961.c | 13 * - ALC
|
H A D | wm8962.c | 1783 SOC_DOUBLE("ALC Switch", WM8962_ALC1, WM8962_ALCL_ENA_SHIFT, 1785 SND_SOC_BYTES_MASK("ALC Coefficients", WM8962_ALC1, 4,
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | tsunami.h | 15 * | implvers |SW|AV|DV|MV| RSV |PC|ITD|ALC| RSV |PE| RC |IE|DE|RSV|NF|ME| 25 * ALC: Alternate Cacheable
|
/linux-4.4.14/sound/pci/ice1712/ |
H A D | wm8776.c | 109 case 2: /* ALC Right */ snd_wm8776_set_agc() 114 case 3: /* ALC Left */ snd_wm8776_set_agc() 119 case 4: /* ALC Stereo */ snd_wm8776_set_agc() 287 .enum_names = { "Off", "Limiter", "ALC Right", "ALC Left", 288 "ALC Stereo" }, 344 .name = "ALC Target Level Capture Volume", 353 .name = "ALC Attack Time Capture Enum", 364 .name = "ALC Decay Time Capture Enum", 375 .name = "ALC Maximum Gain Capture Volume", 385 .name = "ALC Maximum Attenuation Capture Volume", 395 .name = "ALC Hold Time Capture Enum",
|
H A D | maya44.c | 568 /* R16: ALC...*/ wm8776_init() 569 0x11, 0x000, /* R17: disable ALC */ wm8776_init() 570 /* R18: ALC...*/ wm8776_init()
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
H A D | eeprom.h | 112 /* TSSI stuff - only with internal TX ALC */
|
/linux-4.4.14/sound/pci/emu10k1/ |
H A D | p17v.h | 70 #define ADC_ALC_CTRL1 0x00000010 /*ADC ALC Control 1 */ 71 #define ADC_ALC_CTRL2 0x00000011 /*ADC ALC Control 2 */ 72 #define ADC_ALC_CTRL3 0x00000012 /*ADC ALC Control 3 */
|
H A D | emu10k1_main.c | 150 { 0x10, 0x7b }, /* ALC Control 1 */ 151 { 0x11, 0x00 }, /* ALC Control 2 */ 152 { 0x12, 0x32 }, /* ALC Control 3 */
|
/linux-4.4.14/sound/pci/ac97/ |
H A D | ac97_patch.c | 565 AC97_SINGLE("ALC Target Volume", AC97_CODEC_CLASS_REV, 12, 15, 0), 566 AC97_SINGLE("ALC Hold Time", AC97_CODEC_CLASS_REV, 8, 15, 0), 567 AC97_SINGLE("ALC Decay Time", AC97_CODEC_CLASS_REV, 4, 15, 0), 568 AC97_SINGLE("ALC Attack Time", AC97_CODEC_CLASS_REV, 0, 15, 0), 569 AC97_ENUM("ALC Function", wm9711_enum[0]), 570 AC97_SINGLE("ALC Max Volume", AC97_PCI_SVID, 11, 7, 1), 571 AC97_SINGLE("ALC ZC Timeout", AC97_PCI_SVID, 9, 3, 1), 572 AC97_SINGLE("ALC ZC Switch", AC97_PCI_SVID, 8, 1, 0), 573 AC97_SINGLE("ALC NG Switch", AC97_PCI_SVID, 7, 1, 0), 574 AC97_ENUM("ALC NG Type", wm9711_enum[9]), 575 AC97_SINGLE("ALC NG Threshold", AC97_PCI_SVID, 0, 31, 1), 579 AC97_ENUM("ALC Headphone Mux", wm9711_enum[1]), 580 AC97_SINGLE("ALC Headphone Volume", AC97_VIDEO, 7, 7, 1), 743 AC97_SINGLE("ALC Target Volume", AC97_CODEC_CLASS_REV, 12, 15, 0), 744 AC97_SINGLE("ALC Hold Time", AC97_CODEC_CLASS_REV, 8, 15, 0), 745 AC97_SINGLE("ALC Decay Time ", AC97_CODEC_CLASS_REV, 4, 15, 0), 746 AC97_SINGLE("ALC Attack Time", AC97_CODEC_CLASS_REV, 0, 15, 0), 747 AC97_ENUM("ALC Function", wm9713_enum[5]), 748 AC97_SINGLE("ALC Max Volume", AC97_PCI_SVID, 11, 7, 0), 749 AC97_SINGLE("ALC ZC Timeout", AC97_PCI_SVID, 9, 3, 0), 750 AC97_SINGLE("ALC ZC Switch", AC97_PCI_SVID, 8, 1, 0), 751 AC97_SINGLE("ALC NG Switch", AC97_PCI_SVID, 7, 1, 0), 752 AC97_ENUM("ALC NG Type", wm9713_enum[13]), 753 AC97_SINGLE("ALC NG Threshold", AC97_PCI_SVID, 0, 31, 0),
|
H A D | ac97_codec.c | 2748 /* ac97 tune: set up ALC jack-select */ tune_alc_jack()
|
/linux-4.4.14/sound/pci/oxygen/ |
H A D | xonar_wm87x6.c | 1140 WM8776_FIELD_CTL_VOLUME("ALC Target Level", 1143 WM8776_FIELD_CTL_ENUM("ALC Attack Time", 1146 WM8776_FIELD_CTL_ENUM("ALC Decay Time", 1149 WM8776_FIELD_CTL_VOLUME("ALC Maximum Gain", 1152 WM8776_FIELD_CTL_VOLUME("ALC Maximum Attenuation", 1155 WM8776_FIELD_CTL_ENUM("ALC Hold Time",
|
/linux-4.4.14/drivers/iio/light/ |
H A D | acpi-als.c | 82 * All types of properties the ACPI0008 block can report. The ALI, ALC, ALT
|
/linux-4.4.14/sound/soc/samsung/ |
H A D | neo1973_wm8753.c | 226 /* Connect the ALC pins */
|
/linux-4.4.14/drivers/media/pci/cx88/ |
H A D | cx88-alsa.c | 814 .name = "Line-In ALC Switch", 976 /* If there's a wm8775 then add a Line-In ALC switch */ cx88_audio_initdev()
|
/linux-4.4.14/sound/pci/ca0106/ |
H A D | ca0106.h | 521 #define ADC_ALC_CTRL1 0x00000010 //ADC ALC Control 1 522 #define ADC_ALC_CTRL2 0x00000011 //ADC ALC Control 2 523 #define ADC_ALC_CTRL3 0x00000012 //ADC ALC Control 3
|
H A D | ca0106_main.c | 1461 { 0x10, 0x7b }, /* ALC Control 1 */ 1462 { 0x11, 0x00 }, /* ALC Control 2 */ 1463 { 0x12, 0x32 }, /* ALC Control 3 */
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
H A D | hostap_ioctl.c | 1544 printk(KERN_DEBUG "Setting ALC on\n"); prism2_ioctl_siwtxpow() 1553 printk(KERN_DEBUG "Setting ALC off\n"); prism2_ioctl_siwtxpow() 2371 printk(KERN_DEBUG "%s: %s ALC\n", dev->name, prism2_ioctl_priv_prism2_param()
|
/linux-4.4.14/include/sound/ |
H A D | ac97_codec.h | 316 /* specific - ALC */
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | ftdi_sio_ids.h | 274 #define FTDI_ELV_ALC8500_PID 0xF06E /* ALC 8500 Expert */
|
/linux-4.4.14/sound/pci/hda/ |
H A D | patch_realtek.c | 4 * HD audio interface patch for Realtek ALC codecs 691 /* Check the validity of ALC subsystem-id
|