Lines Matching refs:codec_mask
25 module_param_named(codec_mask, hda_codec_mask, int, 0444);
26 MODULE_PARM_DESC(codec_mask, "SOF HDA codec mask for probing");
219 if (!(bus->codec_mask & (1 << i))) in hda_codec_probe_bus()
226 bus->codec_mask &= ~BIT(i); in hda_codec_probe_bus()
235 unsigned int codec_mask; in hda_codec_check_for_state_change() local
237 codec_mask = snd_hdac_chip_readw(bus, STATESTS); in hda_codec_check_for_state_change()
238 if (codec_mask) { in hda_codec_check_for_state_change()
240 snd_hdac_chip_writew(bus, STATESTS, codec_mask); in hda_codec_check_for_state_change()
257 if (!bus->codec_mask) { in hda_codec_detect_mask()
258 bus->codec_mask = snd_hdac_chip_readw(bus, STATESTS); in hda_codec_detect_mask()
259 dev_dbg(bus->dev, "codec_mask = 0x%lx\n", bus->codec_mask); in hda_codec_detect_mask()
263 bus->codec_mask &= hda_codec_mask; in hda_codec_detect_mask()
265 bus->codec_mask); in hda_codec_detect_mask()
401 if (HDA_IDISP_CODEC(bus->codec_mask)) { in hda_codec_i915_display_power()