/linux-6.6.21/sound/soc/sof/intel/ |
D | hda-codec.c | 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() [all …]
|
D | hda.c | 1053 if (!HDA_IDISP_CODEC(bus->codec_mask)) in hda_init_caps() 1394 if (!bus->codec_mask) { in hda_generic_machine_select() 1398 bus->codec_mask); in hda_generic_machine_select() 1401 if (bus->codec_mask & (1 << i)) in hda_generic_machine_select() 1420 if (codec_num == 1 && HDA_IDISP_CODEC(bus->codec_mask)) in hda_generic_machine_select() 1442 (codec_num == 1 && !HDA_IDISP_CODEC(bus->codec_mask))) { in hda_generic_machine_select() 1466 mach_params->codec_mask = bus->codec_mask; in hda_generic_machine_select()
|
/linux-6.6.21/sound/soc/intel/boards/ |
D | skl_hda_dsp_generic.c | 123 u32 codec_count, codec_mask; in skl_hda_fill_card_info() local 126 codec_mask = mach_params->codec_mask; in skl_hda_fill_card_info() 127 codec_count = hweight_long(codec_mask); in skl_hda_fill_card_info() 128 ctx->idisp_codec = !!(codec_mask & IDISP_CODEC_MASK); in skl_hda_fill_card_info() 134 if (codec_mask == IDISP_CODEC_MASK) { in skl_hda_fill_card_info()
|
D | ehl_rt5660.c | 260 (mach->mach_params.codec_mask & IDISP_CODEC_MASK)) { in hdmi_link_init()
|
D | sof_pcm512x.c | 375 (mach->mach_params.codec_mask & IDISP_CODEC_MASK)) in sof_audio_probe()
|
D | sof_ssp_amp.c | 407 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_ssp_amp_probe()
|
D | sof_rt5682.c | 984 if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) in sof_audio_probe()
|
D | sof_sdw.c | 1571 if (mach_params->codec_mask & IDISP_CODEC_MASK) { in sof_card_dai_links_create()
|
/linux-6.6.21/sound/hda/ext/ |
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-6.6.21/sound/soc/meson/ |
D | axg-card.c | 223 struct axg_dai_link_tdm_mask *codec_mask; in axg_card_parse_codecs_masks() local 226 codec_mask = devm_kcalloc(card->dev, link->num_codecs, in axg_card_parse_codecs_masks() 227 sizeof(*codec_mask), GFP_KERNEL); in axg_card_parse_codecs_masks() 228 if (!codec_mask) in axg_card_parse_codecs_masks() 231 be->codec_masks = codec_mask; in axg_card_parse_codecs_masks() 235 &codec_mask->rx); in axg_card_parse_codecs_masks() 237 &codec_mask->tx); in axg_card_parse_codecs_masks() 239 codec_mask++; in axg_card_parse_codecs_masks()
|
/linux-6.6.21/sound/soc/intel/skylake/ |
D | skl.c | 532 mach->mach_params.codec_mask = bus->codec_mask; in skl_machine_device_register() 762 if ((bus->codec_mask & (1 << c))) { in skl_codec_create() 770 bus->codec_mask &= ~(1 << c); in skl_codec_create() 826 if (!bus->codec_mask) in skl_probe_work()
|
/linux-6.6.21/include/sound/ |
D | soc-acpi.h | 79 u32 codec_mask; member
|
D | hdaudio.h | 319 unsigned long codec_mask; member
|
/linux-6.6.21/sound/hda/ |
D | hdac_controller.c | 453 if (!bus->codec_mask) { in snd_hdac_bus_reset_link() 454 bus->codec_mask = snd_hdac_chip_readw(bus, STATESTS); in snd_hdac_bus_reset_link() 455 dev_dbg(bus->dev, "codec_mask = 0x%lx\n", bus->codec_mask); in snd_hdac_bus_reset_link()
|
/linux-6.6.21/arch/mips/include/asm/ip32/ |
D | mace.h | 137 volatile unsigned long codec_mask; /* codec status input mask */ member
|
/linux-6.6.21/sound/soc/intel/avs/ |
D | core.c | 159 if (!(bus->codec_mask & BIT(c))) in avs_hdac_bus_probe_codecs() 171 bus->codec_mask &= ~BIT(c); in avs_hdac_bus_probe_codecs()
|
/linux-6.6.21/sound/pci/hda/ |
D | hda_controller.c | 1204 if ((bus->codec_mask & (1 << c)) & chip->codec_probe_mask) { in azx_probe_codecs() 1211 bus->codec_mask &= ~(1 << c); in azx_probe_codecs() 1227 if ((bus->codec_mask & (1 << c)) & chip->codec_probe_mask) { in azx_probe_codecs()
|
D | hda_intel.c | 1641 azx_bus(chip)->codec_mask = chip->codec_probe_mask & 0xff; in check_probe_mask() 1643 (int)azx_bus(chip)->codec_mask); in check_probe_mask() 2018 if (!azx_bus(chip)->codec_mask) { in azx_first_init() 2312 if (bus->codec_mask) { in azx_probe_continue() 2332 if (bus->codec_mask && !(probe_only[dev] & 1)) { in azx_probe_continue()
|
D | hda_tegra.c | 376 if (!bus->codec_mask) { in hda_tegra_first_init()
|