Home
last modified time | relevance | path

Searched refs:codec_mask (Results 1 – 22 of 22) sorted by relevance

/linux/sound/soc/sof/intel/
H A Dhda-codec.c25 module_param_named(codec_mask, hda_codec_mask, int, 0444);
229 if (!(bus->codec_mask & (1 << i))) in hda_codec_probe_bus()
236 bus->codec_mask &= ~BIT(i); in hda_codec_probe_bus()
245 unsigned int codec_mask; in hda_codec_check_for_state_change() local
247 codec_mask = snd_hdac_chip_readw(bus, STATESTS); in hda_codec_check_for_state_change()
248 if (codec_mask) { in hda_codec_check_for_state_change()
250 snd_hdac_chip_writew(bus, STATESTS, codec_mask); in hda_codec_check_for_state_change()
267 if (!bus->codec_mask) { in hda_codec_detect_mask()
273 bus->codec_mask &= hda_codec_mask; in hda_codec_detect_mask()
275 bus->codec_mask); in hda_codec_detect_mask()
[all …]
H A Dhda.c627 if (!HDA_IDISP_CODEC(bus->codec_mask)) in hda_init_caps()
984 if (!bus->codec_mask) { in hda_generic_machine_select()
988 bus->codec_mask); in hda_generic_machine_select()
991 if (bus->codec_mask & (1 << i)) in hda_generic_machine_select()
1018 codec_num == 1 && HDA_IDISP_CODEC(bus->codec_mask)) { in hda_generic_machine_select()
1029 (codec_num == 1 && !HDA_IDISP_CODEC(bus->codec_mask))) { in hda_generic_machine_select()
1053 mach_params->codec_mask = bus->codec_mask; in hda_generic_machine_select()
1231 if (!mach && !HDA_EXT_CODEC(bus->codec_mask) && in hda_machine_select()
H A Dhda-ctrl.c235 bus->codec_mask); in hda_dsp_ctrl_init_chip()
/linux/sound/hda/ext/
H A Dhdac_ext_controller.c281 unsigned long codec_mask; in snd_hdac_ext_bus_link_get() local
308 codec_mask = snd_hdac_chip_readw(bus, STATESTS); in snd_hdac_ext_bus_link_get()
309 dev_dbg(bus->dev, "codec_mask = 0x%lx\n", codec_mask); in snd_hdac_ext_bus_link_get()
310 snd_hdac_chip_writew(bus, STATESTS, codec_mask); in snd_hdac_ext_bus_link_get()
311 if (!bus->codec_mask) in snd_hdac_ext_bus_link_get()
312 bus->codec_mask = codec_mask; in snd_hdac_ext_bus_link_get()
/linux/sound/soc/meson/
H A Daxg-card.c224 struct axg_dai_link_tdm_mask *codec_mask; in axg_card_parse_codecs_masks() local
227 codec_mask = devm_kcalloc(card->dev, link->num_codecs, in axg_card_parse_codecs_masks()
228 sizeof(*codec_mask), GFP_KERNEL); in axg_card_parse_codecs_masks()
229 if (!codec_mask) in axg_card_parse_codecs_masks()
232 be->codec_masks = codec_mask; in axg_card_parse_codecs_masks()
236 &codec_mask->rx); in axg_card_parse_codecs_masks()
238 &codec_mask->tx); in axg_card_parse_codecs_masks()
240 codec_mask++; in axg_card_parse_codecs_masks()
/linux/sound/soc/intel/boards/
H A Dskl_hda_dsp_generic.c112 if (HDA_EXT_CODEC(mach->mach_params.codec_mask)) in skl_hda_audio_probe()
115 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in skl_hda_audio_probe()
H A Dsof_ssp_amp.c132 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_ssp_amp_probe()
H A Dsof_cs42l42.c232 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_audio_probe()
H A Dehl_rt5660.c259 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) { in hdmi_link_init()
H A Dsof_nau8825.c251 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_audio_probe()
H A Dsof_da7219.c312 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in audio_probe()
H A Dsof_pcm512x.c374 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_audio_probe()
H A Dsof_rt5682.c665 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_audio_probe()
H A Dsof_sdw.c987 if (mach_params->codec_mask & IDISP_CODEC_MASK) in sof_card_dai_links_create()
/linux/include/sound/
H A Dsoc-acpi.h80 u32 codec_mask; member
H A Dhdaudio.h320 unsigned long codec_mask; member
/linux/sound/hda/
H A Dhdac_controller.c566 if (!bus->codec_mask) { in snd_hdac_bus_reset_link()
567 bus->codec_mask = snd_hdac_chip_readw(bus, STATESTS); in snd_hdac_bus_reset_link()
568 dev_dbg(bus->dev, "codec_mask = 0x%lx\n", bus->codec_mask); in snd_hdac_bus_reset_link()
/linux/sound/pci/hda/
H A Dhda_controller.c1211 if ((bus->codec_mask & (1 << c)) & chip->codec_probe_mask) { in azx_probe_codecs()
1218 bus->codec_mask &= ~(1 << c); in azx_probe_codecs()
1220 if (bus->codec_mask == 0) in azx_probe_codecs()
1237 if ((bus->codec_mask & (1 << c)) & chip->codec_probe_mask) { in azx_probe_codecs()
H A Dhda_intel.c1632 azx_bus(chip)->codec_mask = chip->codec_probe_mask & 0xff; in check_probe_mask()
1634 (int)azx_bus(chip)->codec_mask); in check_probe_mask()
2009 if (!azx_bus(chip)->codec_mask) { in azx_first_init()
2310 if (bus->codec_mask) { in azx_probe_continue()
2326 if (bus->codec_mask && !(probe_only[dev] & 1)) { in azx_probe_continue()
H A Dhda_tegra.c376 if (!bus->codec_mask) { in hda_tegra_first_init()
/linux/arch/mips/include/asm/ip32/
H A Dmace.h137 volatile unsigned long codec_mask; /* codec status input mask */ member
/linux/sound/soc/intel/avs/
H A Dcore.c167 if (!(bus->codec_mask & BIT(c))) in avs_hdac_bus_probe_codecs()
180 bus->codec_mask &= ~BIT(c); in avs_hdac_bus_probe_codecs()