Lines Matching full: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()
63 dev_info(dev, "quirk IN1_MAP enabled"); in log_quirks()
64 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN2_MAP) in log_quirks()
65 dev_info(dev, "quirk IN2_MAP enabled"); in log_quirks()
66 if (quirk & BYT_CHT_ES8316_SSP0) in log_quirks()
67 dev_info(dev, "quirk SSP0 enabled"); in log_quirks()
68 if (quirk & BYT_CHT_ES8316_MONO_SPEAKER) in log_quirks()
69 dev_info(dev, "quirk MONO_SPEAKER enabled\n"); in log_quirks()
70 if (quirk & BYT_CHT_ES8316_JD_INVERTED) in log_quirks()
71 dev_info(dev, "quirk JD_INVERTED enabled\n"); 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()
519 quirk = (unsigned long)dmi_id->driver_data; in snd_byt_cht_es8316_mc_probe()
523 quirk = BYT_CHT_ES8316_SSP0 | BYT_CHT_ES8316_INTMIC_IN2_MAP | in snd_byt_cht_es8316_mc_probe()
527 quirk = BYT_CHT_ES8316_INTMIC_IN1_MAP | in snd_byt_cht_es8316_mc_probe()
531 dev_info(dev, "Overriding quirk 0x%lx => 0x%x\n", in snd_byt_cht_es8316_mc_probe()
532 quirk, quirk_override); in snd_byt_cht_es8316_mc_probe()
533 quirk = quirk_override; in snd_byt_cht_es8316_mc_probe()
537 if (quirk & BYT_CHT_ES8316_SSP0) in snd_byt_cht_es8316_mc_probe()
550 if (quirk & BYT_CHT_ES8316_JD_INVERTED) in snd_byt_cht_es8316_mc_probe()
584 (quirk & BYT_CHT_ES8316_MONO_SPEAKER) ? "1" : "2", in snd_byt_cht_es8316_mc_probe()
585 mic_name[BYT_CHT_ES8316_MAP(quirk)]); in snd_byt_cht_es8316_mc_probe()
589 (quirk & BYT_CHT_ES8316_MONO_SPEAKER) ? "mono" : "stereo", in snd_byt_cht_es8316_mc_probe()
590 mic_name[BYT_CHT_ES8316_MAP(quirk)]); in snd_byt_cht_es8316_mc_probe()