/linux/sound/soc/sof/intel/ |
H A D | hda-codec.c | 25 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 D | hda.c | 627 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 D | hda-ctrl.c | 235 bus->codec_mask); in hda_dsp_ctrl_init_chip()
|
/linux/sound/hda/ext/ |
H A D | hdac_ext_controller.c | 281 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 D | axg-card.c | 224 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 D | skl_hda_dsp_generic.c | 112 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 D | sof_ssp_amp.c | 132 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_ssp_amp_probe()
|
H A D | sof_cs42l42.c | 232 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_audio_probe()
|
H A D | ehl_rt5660.c | 259 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) { in hdmi_link_init()
|
H A D | sof_nau8825.c | 251 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_audio_probe()
|
H A D | sof_da7219.c | 312 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in audio_probe()
|
H A D | sof_pcm512x.c | 374 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_audio_probe()
|
H A D | sof_rt5682.c | 665 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_audio_probe()
|
H A D | sof_sdw.c | 987 if (mach_params->codec_mask & IDISP_CODEC_MASK) in sof_card_dai_links_create()
|
/linux/include/sound/ |
H A D | soc-acpi.h | 80 u32 codec_mask; member
|
H A D | hdaudio.h | 320 unsigned long codec_mask; member
|
/linux/sound/hda/ |
H A D | hdac_controller.c | 566 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 D | hda_controller.c | 1211 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 D | hda_intel.c | 1632 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 D | hda_tegra.c | 376 if (!bus->codec_mask) { in hda_tegra_first_init()
|
/linux/arch/mips/include/asm/ip32/ |
H A D | mace.h | 137 volatile unsigned long codec_mask; /* codec status input mask */ member
|
/linux/sound/soc/intel/avs/ |
H A D | core.c | 167 if (!(bus->codec_mask & BIT(c))) in avs_hdac_bus_probe_codecs() 180 bus->codec_mask &= ~BIT(c); in avs_hdac_bus_probe_codecs()
|