Lines Matching refs:patch_ops
786 memset(&codec->patch_ops, 0, sizeof(codec->patch_ops)); in snd_hda_codec_cleanup_for_unbind()
1149 if (codec->patch_ops.stream_pm) in snd_hda_codec_setup_stream()
1150 codec->patch_ops.stream_pm(codec, nid, true); in snd_hda_codec_setup_stream()
1218 if (codec->patch_ops.stream_pm) in really_cleanup_stream()
1219 codec->patch_ops.stream_pm(codec, nid, false); in really_cleanup_stream()
2813 if (codec->patch_ops.set_power_state) in hda_set_power_state()
2814 codec->patch_ops.set_power_state(codec, fg, in hda_set_power_state()
2896 if (codec->patch_ops.suspend) in hda_call_codec_suspend()
2897 codec->patch_ops.suspend(codec); in hda_call_codec_suspend()
2921 if (codec->patch_ops.resume) in hda_call_codec_resume()
2922 codec->patch_ops.resume(codec); in hda_call_codec_resume()
2924 if (codec->patch_ops.init) in hda_call_codec_resume()
2925 codec->patch_ops.init(codec); in hda_call_codec_resume()
3109 if (codec->patch_ops.init) in snd_hda_codec_build_controls()
3110 err = codec->patch_ops.init(codec); in snd_hda_codec_build_controls()
3111 if (!err && codec->patch_ops.build_controls) in snd_hda_codec_build_controls()
3112 err = codec->patch_ops.build_controls(codec); in snd_hda_codec_build_controls()
3305 if (!codec->patch_ops.build_pcms) in snd_hda_codec_parse_pcms()
3308 err = codec->patch_ops.build_pcms(codec); in snd_hda_codec_parse_pcms()