Lines Matching refs:patch_ops
767 memset(&codec->patch_ops, 0, sizeof(codec->patch_ops)); in snd_hda_codec_cleanup_for_unbind()
1096 if (codec->patch_ops.stream_pm) in snd_hda_codec_setup_stream()
1097 codec->patch_ops.stream_pm(codec, nid, true); in snd_hda_codec_setup_stream()
1165 if (codec->patch_ops.stream_pm) in really_cleanup_stream()
1166 codec->patch_ops.stream_pm(codec, nid, false); in really_cleanup_stream()
2795 if (codec->patch_ops.set_power_state) in hda_set_power_state()
2796 codec->patch_ops.set_power_state(codec, fg, in hda_set_power_state()
2879 if (codec->patch_ops.suspend) in hda_call_codec_suspend()
2880 codec->patch_ops.suspend(codec); in hda_call_codec_suspend()
2903 if (codec->patch_ops.resume) in hda_call_codec_resume()
2904 codec->patch_ops.resume(codec); in hda_call_codec_resume()
2906 if (codec->patch_ops.init) in hda_call_codec_resume()
2907 codec->patch_ops.init(codec); in hda_call_codec_resume()
3057 if (codec->patch_ops.init) in snd_hda_codec_build_controls()
3058 err = codec->patch_ops.init(codec); in snd_hda_codec_build_controls()
3059 if (!err && codec->patch_ops.build_controls) in snd_hda_codec_build_controls()
3060 err = codec->patch_ops.build_controls(codec); in snd_hda_codec_build_controls()
3252 if (!codec->patch_ops.build_pcms) in snd_hda_codec_parse_pcms()
3255 err = codec->patch_ops.build_pcms(codec); in snd_hda_codec_parse_pcms()