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.
252 snd_hda_codec_cleanup(hda_pvt->codec, hda_stream, substream);
270 hdev = &hda_pvt->codec->core;
280 ret = snd_hda_codec_prepare(hda_pvt->codec, hda_stream,
283 dev_err(&hdev->dev, "codec prepare failed %d\n", ret);
305 return hda_stream->ops.open(hda_stream, hda_pvt->codec, substream);
323 hda_stream->ops.close(hda_stream, hda_pvt->codec, substream);
331 struct hda_codec *hcodec = hda_pvt->codec;
337 * scheme used by hda-codec snd_hda_gen_build_pcms() and for
400 struct hdac_device *hdev = &hda_pvt->codec->core;
401 struct hda_codec *hcodec = hda_pvt->codec;
415 * Ensure any HDA display is powered at codec probe.
426 dev_err(&hdev->dev, "failed to create hda codec %d\n", ret);
495 * pm_runtime_enable is also called during codec registeration
518 struct hdac_device *hdev = &hda_pvt->codec->core;
519 struct hda_codec *codec = hda_pvt->codec;
531 if (codec->patch_ops.free)
532 codec->patch_ops.free(codec);
534 snd_hda_codec_cleanup_for_unbind(codec);
616 dev_err(&hdev->dev, "failed to register HDA codec %d\n", ret);