Lines Matching refs:patch_ops
788 memset(&codec->patch_ops, 0, sizeof(codec->patch_ops)); in snd_hda_codec_cleanup_for_unbind()
1153 if (codec->patch_ops.stream_pm) in snd_hda_codec_setup_stream()
1154 codec->patch_ops.stream_pm(codec, nid, true); in snd_hda_codec_setup_stream()
1222 if (codec->patch_ops.stream_pm) in really_cleanup_stream()
1223 codec->patch_ops.stream_pm(codec, nid, false); in really_cleanup_stream()
2804 if (codec->patch_ops.set_power_state) in hda_set_power_state()
2805 codec->patch_ops.set_power_state(codec, fg, in hda_set_power_state()
2888 if (codec->patch_ops.suspend) in hda_call_codec_suspend()
2889 codec->patch_ops.suspend(codec); in hda_call_codec_suspend()
2913 if (codec->patch_ops.resume) in hda_call_codec_resume()
2914 codec->patch_ops.resume(codec); in hda_call_codec_resume()
2916 if (codec->patch_ops.init) in hda_call_codec_resume()
2917 codec->patch_ops.init(codec); in hda_call_codec_resume()
3107 if (codec->patch_ops.init) in snd_hda_codec_build_controls()
3108 err = codec->patch_ops.init(codec); in snd_hda_codec_build_controls()
3109 if (!err && codec->patch_ops.build_controls) in snd_hda_codec_build_controls()
3110 err = codec->patch_ops.build_controls(codec); in snd_hda_codec_build_controls()
3302 if (!codec->patch_ops.build_pcms) in snd_hda_codec_parse_pcms()
3305 err = codec->patch_ops.build_pcms(codec); in snd_hda_codec_parse_pcms()