Lines Matching refs:quirk
49 #define BYT_CHT_ES8316_MAP(quirk) ((quirk) & GENMASK(3, 0)) argument
54 static unsigned long quirk; variable
57 module_param_named(quirk, quirk_override, int, 0444);
58 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
62 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN1_MAP) in log_quirks()
64 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN2_MAP) in log_quirks()
66 if (quirk & BYT_CHT_ES8316_SSP0) in log_quirks()
68 if (quirk & BYT_CHT_ES8316_MONO_SPEAKER) in log_quirks()
70 if (quirk & BYT_CHT_ES8316_JD_INVERTED) in log_quirks()
169 switch (BYT_CHT_ES8316_MAP(quirk)) { in byt_cht_es8316_init()
184 if (quirk & BYT_CHT_ES8316_SSP0) { in byt_cht_es8316_init()
250 if (quirk & BYT_CHT_ES8316_SSP0) { in byt_cht_es8316_codec_fixup()
512 quirk = (unsigned long)dmi_id->driver_data; in snd_byt_cht_es8316_mc_probe()
516 quirk = BYT_CHT_ES8316_SSP0 | BYT_CHT_ES8316_INTMIC_IN2_MAP | in snd_byt_cht_es8316_mc_probe()
520 quirk = BYT_CHT_ES8316_INTMIC_IN1_MAP | in snd_byt_cht_es8316_mc_probe()
525 quirk, quirk_override); in snd_byt_cht_es8316_mc_probe()
526 quirk = quirk_override; in snd_byt_cht_es8316_mc_probe()
530 if (quirk & BYT_CHT_ES8316_SSP0) in snd_byt_cht_es8316_mc_probe()
544 if (quirk & BYT_CHT_ES8316_JD_INVERTED) in snd_byt_cht_es8316_mc_probe()
577 (quirk & BYT_CHT_ES8316_MONO_SPEAKER) ? "1" : "2", in snd_byt_cht_es8316_mc_probe()
578 mic_name[BYT_CHT_ES8316_MAP(quirk)]); in snd_byt_cht_es8316_mc_probe()
582 (quirk & BYT_CHT_ES8316_MONO_SPEAKER) ? "mono" : "stereo", in snd_byt_cht_es8316_mc_probe()
583 mic_name[BYT_CHT_ES8316_MAP(quirk)]); in snd_byt_cht_es8316_mc_probe()