Lines Matching defs:codec
5 * hdac_hda.c - ASoC extensions to reuse the legacy HDA codec drivers
7 * codec drivers using hdac_ext_bus_ops ops.
249 snd_hda_codec_cleanup(&hda_pvt->codec, hda_stream, substream);
267 hdev = &hda_pvt->codec.core;
277 ret = snd_hda_codec_prepare(&hda_pvt->codec, hda_stream,
280 dev_err(&hdev->dev, "codec prepare failed %d\n", ret);
302 return hda_stream->ops.open(hda_stream, &hda_pvt->codec, substream);
320 hda_stream->ops.close(hda_stream, &hda_pvt->codec, substream);
328 struct hda_codec *hcodec = &hda_pvt->codec;
334 * scheme used by hda-codec snd_hda_gen_build_pcms() and for
392 struct hdac_device *hdev = &hda_pvt->codec.core;
393 struct hda_codec *hcodec = &hda_pvt->codec;
407 * Ensure any HDA display is powered at codec probe.
418 dev_err(&hdev->dev, "failed to create hda codec %d\n", ret);
459 /* configure codec for 1:1 PCM:DAI mapping */
490 * pm_runtime_enable is also called during codec registeration
513 struct hdac_device *hdev = &hda_pvt->codec.core;
514 struct hda_codec *codec = &hda_pvt->codec;
526 if (codec->patch_ops.free)
527 codec->patch_ops.free(codec);
529 snd_hda_codec_cleanup_for_unbind(codec);
601 dev_err(&hdev->dev, "failed to register HDA codec %d\n", ret);