Home
last modified time | relevance | path

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

/linux/sound/hda/ext/
A Dhdac_ext_controller.c259 unsigned long codec_mask; in snd_hdac_ext_bus_link_get() local
286 codec_mask = snd_hdac_chip_readw(bus, STATESTS); in snd_hdac_ext_bus_link_get()
287 dev_dbg(bus->dev, "codec_mask = 0x%lx\n", codec_mask); in snd_hdac_ext_bus_link_get()
288 snd_hdac_chip_writew(bus, STATESTS, codec_mask); in snd_hdac_ext_bus_link_get()
289 if (!bus->codec_mask) in snd_hdac_ext_bus_link_get()
290 bus->codec_mask = codec_mask; in snd_hdac_ext_bus_link_get()
/linux/sound/soc/intel/boards/
A Dskl_hda_dsp_generic.c126 u32 codec_count, codec_mask; in skl_hda_fill_card_info() local
129 codec_mask = mach_params->codec_mask; in skl_hda_fill_card_info()
130 codec_count = hweight_long(codec_mask); in skl_hda_fill_card_info()
131 ctx->idisp_codec = !!(codec_mask & IDISP_CODEC_MASK); in skl_hda_fill_card_info()
137 if (codec_mask == IDISP_CODEC_MASK) { in skl_hda_fill_card_info()
A Dehl_rt5660.c261 (mach->mach_params.codec_mask & IDISP_CODEC_MASK)) { in hdmi_link_init()
A Dsof_pcm512x.c376 (mach->mach_params.codec_mask & IDISP_CODEC_MASK)) in sof_audio_probe()
A Dsof_sdw.c1141 if (mach_params->codec_mask & IDISP_CODEC_MASK) in sof_card_dai_links_create()
/linux/sound/soc/sof/intel/
A Dhda-ctrl.c27 module_param_named(codec_mask, hda_codec_mask, int, 0444);
28 MODULE_PARM_DESC(codec_mask, "SOF HDA codec mask for probing");
234 if (!bus->codec_mask) { in hda_dsp_ctrl_init_chip()
235 bus->codec_mask = snd_hdac_chip_readw(bus, STATESTS); in hda_dsp_ctrl_init_chip()
236 dev_dbg(bus->dev, "codec_mask = 0x%lx\n", bus->codec_mask); in hda_dsp_ctrl_init_chip()
240 bus->codec_mask &= hda_codec_mask; in hda_dsp_ctrl_init_chip()
242 bus->codec_mask); in hda_dsp_ctrl_init_chip()
A Dhda.c808 if (!HDA_IDISP_CODEC(bus->codec_mask)) in hda_init_caps()
824 unsigned int codec_mask; in hda_check_for_state_change() local
826 codec_mask = snd_hdac_chip_readw(bus, STATESTS); in hda_check_for_state_change()
827 if (codec_mask) { in hda_check_for_state_change()
829 snd_hdac_chip_writew(bus, STATESTS, codec_mask); in hda_check_for_state_change()
1121 if (!bus->codec_mask) { in hda_generic_machine_select()
1125 bus->codec_mask); in hda_generic_machine_select()
1128 if (bus->codec_mask & (1 << i)) in hda_generic_machine_select()
1145 if (codec_num == 1 && HDA_IDISP_CODEC(bus->codec_mask)) in hda_generic_machine_select()
1174 mach_params->codec_mask = bus->codec_mask; in hda_generic_machine_select()
A Dhda-codec.c207 if (!(bus->codec_mask & (1 << i))) in hda_codec_probe_bus()
214 bus->codec_mask &= ~BIT(i); in hda_codec_probe_bus()
227 if (HDA_IDISP_CODEC(bus->codec_mask)) { in hda_codec_i915_display_power()
/linux/sound/soc/meson/
A Daxg-card.c225 struct axg_dai_link_tdm_mask *codec_mask; in axg_card_parse_codecs_masks() local
228 codec_mask = devm_kcalloc(card->dev, link->num_codecs, in axg_card_parse_codecs_masks()
229 sizeof(*codec_mask), GFP_KERNEL); in axg_card_parse_codecs_masks()
230 if (!codec_mask) in axg_card_parse_codecs_masks()
233 be->codec_masks = codec_mask; in axg_card_parse_codecs_masks()
237 &codec_mask->rx); in axg_card_parse_codecs_masks()
239 &codec_mask->tx); in axg_card_parse_codecs_masks()
241 codec_mask++; in axg_card_parse_codecs_masks()
/linux/sound/soc/intel/skylake/
A Dskl.c541 mach->mach_params.codec_mask = bus->codec_mask; in skl_machine_device_register()
752 if ((bus->codec_mask & (1 << c))) { in skl_codec_create()
760 bus->codec_mask &= ~(1 << c); in skl_codec_create()
816 if (!bus->codec_mask) in skl_probe_work()
/linux/sound/hda/
A Dhdac_controller.c450 if (!bus->codec_mask) { in snd_hdac_bus_reset_link()
451 bus->codec_mask = snd_hdac_chip_readw(bus, STATESTS); in snd_hdac_bus_reset_link()
452 dev_dbg(bus->dev, "codec_mask = 0x%lx\n", bus->codec_mask); in snd_hdac_bus_reset_link()
/linux/include/sound/
A Dsoc-acpi.h72 u32 codec_mask; member
A Dhdaudio.h315 unsigned long codec_mask; member
/linux/arch/mips/include/asm/ip32/
A Dmace.h137 volatile unsigned long codec_mask; /* codec status input mask */ member
/linux/sound/pci/hda/
A Dhda_controller.c1207 if ((bus->codec_mask & (1 << c)) & chip->codec_probe_mask) { in azx_probe_codecs()
1214 bus->codec_mask &= ~(1 << c); in azx_probe_codecs()
1230 if ((bus->codec_mask & (1 << c)) & chip->codec_probe_mask) { in azx_probe_codecs()
A Dhda_intel.c1639 azx_bus(chip)->codec_mask = chip->codec_probe_mask & 0xff; in check_probe_mask()
1641 (int)azx_bus(chip)->codec_mask); in check_probe_mask()
1994 if (!azx_bus(chip)->codec_mask) { in azx_first_init()
2280 if (bus->codec_mask) { in azx_probe_continue()
2300 if (bus->codec_mask && !(probe_only[dev] & 1)) { in azx_probe_continue()
A Dhda_tegra.c356 if (!bus->codec_mask) { in hda_tegra_first_init()

Completed in 39 milliseconds