Lines Matching full:quirk

57 static unsigned long quirk;  variable
60 module_param_named(quirk, quirk_override, int, 0444);
61 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
65 switch (quirk & BYT_WM5102_IN_MAP) { in log_quirks()
67 dev_info_once(dev, "quirk INTMIC_IN3L_HSMIC_IN1L enabled\n"); in log_quirks()
70 dev_info_once(dev, "quirk INTMIC_IN1L_HSMIC_IN2L enabled\n"); in log_quirks()
73 dev_warn_once(dev, "quirk sets invalid input map: 0x%lx, defaulting to INTMIC_IN3L_HSMIC_IN1L\n", in log_quirks()
74 quirk & BYT_WM5102_IN_MAP); in log_quirks()
75 quirk &= ~BYT_WM5102_IN_MAP; in log_quirks()
76 quirk |= BYT_WM5102_INTMIC_IN3L_HSMIC_IN1L; in log_quirks()
79 switch (quirk & BYT_WM5102_OUT_MAP) { in log_quirks()
81 dev_info_once(dev, "quirk SPK_SPK_MAP enabled\n"); in log_quirks()
84 dev_info_once(dev, "quirk SPK_HPOUT2_MAP enabled\n"); in log_quirks()
87 dev_warn_once(dev, "quirk sets invalid output map: 0x%lx, defaulting to SPK_SPK_MAP\n", in log_quirks()
88 quirk & BYT_WM5102_OUT_MAP); in log_quirks()
89 quirk &= ~BYT_WM5102_OUT_MAP; in log_quirks()
90 quirk |= BYT_WM5102_SPK_SPK_MAP; in log_quirks()
93 if (quirk & BYT_WM5102_SSP2) in log_quirks()
94 dev_info_once(dev, "quirk SSP2 enabled"); in log_quirks()
95 if (quirk & BYT_WM5102_MCLK_19_2MHZ) in log_quirks()
96 dev_info_once(dev, "quirk MCLK 19.2MHz enabled"); in log_quirks()
300 switch (quirk & BYT_WM5102_IN_MAP) { in byt_wm5102_init()
314 switch (quirk & BYT_WM5102_OUT_MAP) { in byt_wm5102_init()
328 if (quirk & BYT_WM5102_SSP2) { in byt_wm5102_init()
339 if (quirk & BYT_WM5102_MCLK_19_2MHZ) in byt_wm5102_init()
392 if (quirk & BYT_WM5102_SSP2) { in byt_wm5102_codec_fixup()
588 quirk = BYT_WM5102_SSP2 | BYT_WM5102_MCLK_19_2MHZ | in snd_byt_wm5102_mc_probe()
593 dev_info_once(dev, "Overriding quirk 0x%lx => 0x%x\n", in snd_byt_wm5102_mc_probe()
594 quirk, quirk_override); in snd_byt_wm5102_mc_probe()
595 quirk = quirk_override; in snd_byt_wm5102_mc_probe()
601 out_map_name[FIELD_GET(BYT_WM5102_OUT_MAP, quirk)], in snd_byt_wm5102_mc_probe()
602 intmic_map_name[FIELD_GET(BYT_WM5102_IN_MAP, quirk)], in snd_byt_wm5102_mc_probe()
603 hsmic_map_name[FIELD_GET(BYT_WM5102_IN_MAP, quirk)]); in snd_byt_wm5102_mc_probe()
624 if (quirk & BYT_WM5102_SSP2) in snd_byt_wm5102_mc_probe()