Lines Matching full:quirk

50 #define BYT_CHT_ES8316_MAP(quirk)		((quirk) & GENMASK(3, 0))  argument
55 static unsigned long quirk; variable
58 module_param_named(quirk, quirk_override, int, 0444);
59 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
63 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN1_MAP) in log_quirks()
64 dev_info(dev, "quirk IN1_MAP enabled"); in log_quirks()
65 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN2_MAP) in log_quirks()
66 dev_info(dev, "quirk IN2_MAP enabled"); in log_quirks()
67 if (quirk & BYT_CHT_ES8316_SSP0) in log_quirks()
68 dev_info(dev, "quirk SSP0 enabled"); in log_quirks()
69 if (quirk & BYT_CHT_ES8316_MONO_SPEAKER) in log_quirks()
70 dev_info(dev, "quirk MONO_SPEAKER enabled\n"); in log_quirks()
71 if (quirk & BYT_CHT_ES8316_JD_INVERTED) in log_quirks()
72 dev_info(dev, "quirk JD_INVERTED enabled\n"); in log_quirks()
170 switch (BYT_CHT_ES8316_MAP(quirk)) { in byt_cht_es8316_init()
185 if (quirk & BYT_CHT_ES8316_SSP0) { in byt_cht_es8316_init()
251 if (quirk & BYT_CHT_ES8316_SSP0) { in byt_cht_es8316_codec_fixup()
521 quirk = dsm_quirk; in byt_cht_es8316_get_quirks_from_dsm()
591 quirk = (unsigned long)dmi_id->driver_data; in snd_byt_cht_es8316_mc_probe()
596 quirk = BYT_CHT_ES8316_SSP0 | BYT_CHT_ES8316_INTMIC_IN2_MAP | in snd_byt_cht_es8316_mc_probe()
600 quirk = BYT_CHT_ES8316_INTMIC_IN1_MAP | in snd_byt_cht_es8316_mc_probe()
604 dev_info(dev, "Overriding quirk 0x%lx => 0x%x\n", in snd_byt_cht_es8316_mc_probe()
605 quirk, quirk_override); in snd_byt_cht_es8316_mc_probe()
606 quirk = quirk_override; in snd_byt_cht_es8316_mc_probe()
610 if (quirk & BYT_CHT_ES8316_SSP0) in snd_byt_cht_es8316_mc_probe()
620 if (quirk & BYT_CHT_ES8316_JD_INVERTED) in snd_byt_cht_es8316_mc_probe()
654 (quirk & BYT_CHT_ES8316_MONO_SPEAKER) ? "1" : "2", in snd_byt_cht_es8316_mc_probe()
655 mic_name[BYT_CHT_ES8316_MAP(quirk)]); in snd_byt_cht_es8316_mc_probe()
659 (quirk & BYT_CHT_ES8316_MONO_SPEAKER) ? "mono" : "stereo", in snd_byt_cht_es8316_mc_probe()
660 mic_name[BYT_CHT_ES8316_MAP(quirk)]); in snd_byt_cht_es8316_mc_probe()