Lines Matching refs:hcodec

341 	struct hda_codec *hcodec = hda_pvt->codec;  in snd_soc_find_pcm_from_dai()  local
378 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in snd_soc_find_pcm_from_dai()
392 static bool is_hdmi_codec(struct hda_codec *hcodec) in is_hdmi_codec() argument
396 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in is_hdmi_codec()
411 struct hda_codec *hcodec = hda_pvt->codec; in hdac_hda_codec_probe() local
433 ret = snd_hda_codec_device_new(hcodec->bus, component->card->snd_card, in hdac_hda_codec_probe()
434 hdev->addr, hcodec, true); in hdac_hda_codec_probe()
451 ret = snd_hda_load_patch(hcodec->bus, fw->size, fw->data); in hdac_hda_codec_probe()
473 hcodec->bus->card = dapm->card->snd_card; in hdac_hda_codec_probe()
475 ret = snd_hda_codec_set_name(hcodec, hcodec->preset->name); in hdac_hda_codec_probe()
477 dev_err(&hdev->dev, "%s: name failed %s\n", __func__, hcodec->preset->name); in hdac_hda_codec_probe()
481 ret = snd_hdac_regmap_init(&hcodec->core); in hdac_hda_codec_probe()
487 patch = (hda_codec_patch_t)hcodec->preset->driver_data; in hdac_hda_codec_probe()
489 ret = patch(hcodec); in hdac_hda_codec_probe()
498 ret = snd_hda_codec_parse_pcms(hcodec); in hdac_hda_codec_probe()
505 if (!is_hdmi_codec(hcodec)) { in hdac_hda_codec_probe()
506 ret = snd_hda_codec_build_controls(hcodec); in hdac_hda_codec_probe()
514 hcodec->core.lazy_cache = true; in hdac_hda_codec_probe()
534 if (hcodec->patch_ops.free) in hdac_hda_codec_probe()
535 hcodec->patch_ops.free(hcodec); in hdac_hda_codec_probe()