Lines Matching defs:action
310 static void alc_fixup_gpio(struct hda_codec *codec, int action,
313 if (action == HDA_FIXUP_ACT_PRE_PROBE)
318 const struct hda_fixup *fix, int action)
320 alc_fixup_gpio(codec, action, 0x01);
324 const struct hda_fixup *fix, int action)
326 alc_fixup_gpio(codec, action, 0x02);
330 const struct hda_fixup *fix, int action)
332 alc_fixup_gpio(codec, action, 0x03);
336 const struct hda_fixup *fix, int action)
338 alc_fixup_gpio(codec, action, 0x04);
342 const struct hda_fixup *fix, int action)
344 if (action == HDA_FIXUP_ACT_PROBE)
661 const struct hda_fixup *fix, int action)
664 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
671 const struct hda_fixup *fix, int action)
675 if (action == HDA_FIXUP_ACT_PROBE) {
890 const struct hda_fixup *fix, int action)
1271 const struct hda_fixup *fix, int action)
1273 if (action == HDA_FIXUP_ACT_PROBE)
1730 const struct hda_fixup *fix, int action)
1733 if (action == HDA_FIXUP_ACT_PROBE) {
1748 const struct hda_fixup *fix, int action)
1767 switch (action) {
1776 const struct hda_fixup *fix, int action)
1779 if (action == HDA_FIXUP_ACT_PRE_PROBE)
1784 const struct hda_fixup *fix, int action)
1787 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
2009 const struct hda_fixup *fix, int action)
2011 if (action != HDA_FIXUP_ACT_INIT)
2018 const struct hda_fixup *fix, int action)
2023 alc_fixup_gpio3(codec, fix, action);
2031 const struct hda_fixup *fix, int action)
2033 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
2041 } else if (action == HDA_FIXUP_ACT_PROBE) {
2053 const struct hda_fixup *fix, int action)
2059 if (action != HDA_FIXUP_ACT_INIT)
2090 const struct hda_fixup *fix, int action)
2094 if (action == HDA_FIXUP_ACT_INIT)
2100 const struct hda_fixup *fix, int action)
2104 if (action == HDA_FIXUP_ACT_INIT)
2110 const struct hda_fixup *fix, int action)
2114 if (action == HDA_FIXUP_ACT_INIT)
2123 const struct hda_fixup *fix, int action)
2126 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
2133 const struct hda_fixup *fix, int action);
2139 const struct hda_fixup *fix, int action)
2143 if (action != HDA_FIXUP_ACT_PRE_PROBE)
2168 int action)
2170 alc_fixup_dual_codecs(codec, fix, action);
2171 switch (action) {
2192 int action)
2203 switch (action) {
2216 int action)
2220 if (action != HDA_FIXUP_ACT_PRE_PROBE)
2232 const struct hda_fixup *fix, int action);
2236 int action)
2238 alc1220_fixup_clevo_p950(codec, fix, action);
2239 alc_fixup_headset_mode_no_hp_mic(codec, fix, action);
2258 const struct hda_fixup *fix, int action)
2261 if (action != HDA_FIXUP_ACT_PROBE)
3316 const struct hda_fixup *fix, int action)
3320 switch (action) {
4030 const struct hda_fixup *fix, int action)
4034 if (action == HDA_FIXUP_ACT_PRE_PROBE)
4040 int action)
4052 const struct hda_fixup *fix, int action)
4054 if (action == HDA_FIXUP_ACT_INIT)
4059 const struct hda_fixup *fix, int action)
4063 if (action == HDA_FIXUP_ACT_PRE_PROBE)
4068 const struct hda_fixup *fix, int action)
4088 int action)
4090 if (action == HDA_FIXUP_ACT_INIT)
4095 const struct hda_fixup *fix, int action)
4099 if (action != HDA_FIXUP_ACT_PROBE)
4110 const struct hda_fixup *fix, int action)
4117 if (action == HDA_FIXUP_ACT_INIT)
4130 const struct hda_fixup *fix, int action)
4133 if (action != HDA_FIXUP_ACT_PROBE)
4186 int action)
4204 if (action != HDA_FIXUP_ACT_INIT)
4222 const struct hda_fixup *fix, int action)
4225 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4280 const struct hda_fixup *fix, int action)
4285 if (action != HDA_FIXUP_ACT_PRE_PROBE)
4307 int action, hda_nid_t pin)
4311 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4320 const struct hda_fixup *fix, int action)
4322 alc269_fixup_hp_mute_led_micx(codec, fix, action, 0x18);
4326 const struct hda_fixup *fix, int action)
4328 alc269_fixup_hp_mute_led_micx(codec, fix, action, 0x19);
4332 const struct hda_fixup *fix, int action)
4334 alc269_fixup_hp_mute_led_micx(codec, fix, action, 0x1b);
4372 int action,
4378 alc_fixup_gpio(codec, action, mute_mask | micmute_mask);
4380 if (action != HDA_FIXUP_ACT_PRE_PROBE)
4393 const struct hda_fixup *fix, int action)
4395 alc_fixup_hp_gpio_led(codec, action, 0x02, 0x01);
4399 const struct hda_fixup *fix, int action)
4401 alc_fixup_hp_gpio_led(codec, action, 0x08, 0x10);
4405 const struct hda_fixup *fix, int action)
4407 alc_fixup_hp_gpio_led(codec, action, 0x04, 0x01);
4411 const struct hda_fixup *fix, int action)
4413 alc_fixup_hp_gpio_led(codec, action, 0x02, 0x20);
4417 const struct hda_fixup *fix, int action)
4419 alc_fixup_hp_gpio_led(codec, action, 0x10, 0);
4423 const struct hda_fixup *fix, int action)
4427 if (action == HDA_FIXUP_ACT_PRE_PROBE)
4429 alc_fixup_hp_gpio_led(codec, action, 0, 0x04);
4445 const struct hda_fixup *fix, int action)
4449 alc_fixup_hp_gpio_led(codec, action, 0x08, 0);
4450 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4463 const struct hda_fixup *fix, int action)
4467 alc_fixup_hp_gpio_led(codec, action, 0x08, 0);
4468 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4479 const struct hda_fixup *fix, int action)
4483 switch (action) {
4501 int action)
4503 switch (action) {
4515 int action)
4519 if (action == HDA_FIXUP_ACT_PROBE) {
4551 int action)
4555 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4567 int action)
4571 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4582 const struct hda_fixup *fix, int action)
4586 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4609 const struct hda_fixup *fix, int action)
4613 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4623 const struct hda_fixup *fix, int action)
4627 if (action == HDA_FIXUP_ACT_PRE_PROBE)
4629 alc_fixup_hp_gpio_led(codec, action, 0, 0x04);
4633 const struct hda_fixup *fix, int action)
4637 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4647 const struct hda_fixup *fix, int action)
4649 alc285_fixup_hp_mute_led_coefbit(codec, fix, action);
4650 alc285_fixup_hp_coef_micmute_led(codec, fix, action);
4654 const struct hda_fixup *fix, int action)
4656 alc285_fixup_hp_mute_led_coefbit(codec, fix, action);
4657 alc285_fixup_hp_gpio_micmute_led(codec, fix, action);
4661 const struct hda_fixup *fix, int action)
4663 alc236_fixup_hp_mute_led_coefbit(codec, fix, action);
4664 alc236_fixup_hp_coef_micmute_led(codec, fix, action);
4668 const struct hda_fixup *fix, int action)
4672 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4680 const struct hda_fixup *fix, int action)
4682 alc236_fixup_hp_mute_led_coefbit(codec, fix, action);
4683 alc236_fixup_hp_micmute_led_vref(codec, fix, action);
4700 const struct hda_fixup *fix, int action)
4714 if (action != HDA_FIXUP_ACT_INIT)
4779 const struct hda_fixup *fix, int action)
4783 alc_fixup_hp_gpio_led(codec, action, 0x08, 0x10);
4784 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4802 switch (action) {
4813 const struct hda_fixup *fix, int action)
4817 alc_fixup_hp_gpio_led(codec, action, 0, 0x04);
4818 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4831 switch (action) {
4843 const struct hda_fixup *fix, int action)
4847 alc269_fixup_hp_mute_led_micx(codec, fix, action, 0x1a);
4848 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
5775 const struct hda_fixup *fix, int action)
5779 switch (action) {
5797 const struct hda_fixup *fix, int action)
5799 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
5804 alc_fixup_headset_mode(codec, fix, action);
5841 const struct hda_fixup *fix, int action)
5843 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
5846 alc_fixup_headset_mode(codec, fix, action);
5850 const struct hda_fixup *fix, int action)
5852 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
5858 alc_fixup_headset_mode(codec, fix, action);
5872 const struct hda_fixup *fix, int action)
5874 alc_fixup_headset_mode(codec, fix, action);
5875 if (action == HDA_FIXUP_ACT_PROBE) {
5885 const struct hda_fixup *fix, int action)
5887 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
5894 const struct hda_fixup *fix, int action)
5896 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
5903 const struct hda_fixup *fix, int action)
5905 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
5914 const struct hda_fixup *fix, int action)
5923 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
5932 const struct hda_fixup *fix, int action)
5941 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
5944 } else if (action == HDA_FIXUP_ACT_INIT) {
5955 const struct hda_fixup *fix, int action)
5967 if (action == HDA_FIXUP_ACT_PRE_PROBE)
5972 const struct hda_fixup *fix, int action)
5979 if (action == HDA_FIXUP_ACT_PRE_PROBE)
5995 const struct hda_fixup *fix, int action)
6001 switch (action) {
6022 const struct hda_fixup *fix, int action)
6026 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
6035 alc_fixup_headset_mode(codec, fix, action);
6039 const struct hda_fixup *fix, int action)
6041 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
6046 alc_fixup_headset_mode(codec, fix, action);
6073 int action)
6077 if (action == HDA_FIXUP_ACT_PROBE) {
6089 int action)
6099 if (action != HDA_FIXUP_ACT_PROBE)
6136 const struct hda_fixup *fix, int action)
6140 switch (action) {
6157 const struct hda_fixup *fix, int action)
6161 switch (action) {
6183 const struct hda_fixup *fix, int action)
6191 switch (action) {
6218 const struct hda_fixup *fix, int action)
6220 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
6231 const struct hda_fixup *fix, int action)
6233 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
6248 const struct hda_fixup *fix, int action)
6250 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
6258 const struct hda_fixup *fix, int action)
6260 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
6286 int action)
6290 alc_fixup_hp_gpio_led(codec, action, 0x08, 0);
6291 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
6301 int action)
6305 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
6319 const struct hda_fixup *fix, int action)
6327 switch (action) {
6347 int action)
6349 alc_fixup_dual_codecs(codec, fix, action);
6350 switch (action) {
6370 const struct hda_fixup *fix, int action)
6372 if (action != HDA_FIXUP_ACT_PRE_PROBE)
6380 const struct hda_fixup *fix, int action)
6388 if (action != HDA_FIXUP_ACT_PRE_PROBE)
6398 const struct hda_fixup *fix, int action)
6405 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
6413 const struct hda_fixup *fix, int action)
6415 if (action != HDA_FIXUP_ACT_PRE_PROBE)
6446 const struct hda_fixup *fix, int action)
6450 switch (action) {
6461 const struct hda_fixup *fix, int action)
6463 if (action == HDA_FIXUP_ACT_PRE_PROBE)
6481 const struct hda_fixup *fix, int action)
6487 switch (action) {
6514 const struct hda_fixup *fix, int action)
6519 switch (action) {
6531 const struct hda_fixup *fix, int action)
6533 if (action != HDA_FIXUP_ACT_INIT)
6541 const struct hda_fixup *fix, int action)
6543 switch (action) {
6551 const struct hda_fixup *fix, int action)
6555 switch (action) {
6571 const struct hda_fixup *fix, int action)
6583 alc_fixup_hp_gpio_led(codec, action, 0x00, 0x04);
6585 switch (action) {
6606 const struct hda_fixup *fix, int action)
6614 switch (action) {
6627 const struct hda_fixup *fix, int action)
6629 alc_fixup_no_shutup(codec, fix, action); /* reduce click noise */
6630 hda_fixup_thinkpad_acpi(codec, fix, action);
6636 int action)
6640 switch (action) {
6662 int action)
6684 int action)
6698 int action)
6714 const struct hda_fixup *fix, int action)
6730 alc_fixup_no_shutup(codec, fix, action);
6732 switch (action) {
6984 int action)
6992 __snd_hda_apply_fixup(codec, id, action, 0);
10244 const struct hda_fixup *fix, int action)
10249 if (action != HDA_FIXUP_ACT_INIT)
10261 const struct hda_fixup *fix, int action)
10263 if (action == HDA_FIXUP_ACT_PRE_PROBE)
10378 const struct hda_fixup *fix, int action)
10380 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
10388 const struct hda_fixup *fix, int action)
10392 if (action == HDA_FIXUP_ACT_PRE_PROBE)
10394 alc_fixup_gpio(codec, action, 0x01);
10490 const struct hda_fixup *fix, int action)
10492 if (action != HDA_FIXUP_ACT_PRE_PROBE)
10513 const struct hda_fixup *fix, int action)
10515 if (action == HDA_FIXUP_ACT_BUILD) {
10533 const struct hda_fixup *fix, int action)
10537 alc_fixup_hp_gpio_led(codec, action, 0x01, 0);
10538 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
10559 const struct hda_fixup *fix, int action)
10562 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
10587 const struct hda_fixup *fix, int action)
10593 switch (action) {
10610 const struct hda_fixup *fix, int action)
10620 switch (action) {
10645 const struct hda_fixup *fix, int action)
10648 if (action == HDA_FIXUP_ACT_PRE_PROBE) {
10654 const struct hda_fixup *fix, int action)
10658 if (action == HDA_FIXUP_ACT_PRE_PROBE) {