Lines Matching refs:patch_ops
780 memset(&codec->patch_ops, 0, sizeof(codec->patch_ops)); in snd_hda_codec_cleanup_for_unbind()
1092 if (codec->patch_ops.stream_pm) in snd_hda_codec_setup_stream()
1093 codec->patch_ops.stream_pm(codec, nid, true); in snd_hda_codec_setup_stream()
1161 if (codec->patch_ops.stream_pm) in really_cleanup_stream()
1162 codec->patch_ops.stream_pm(codec, nid, false); in really_cleanup_stream()
2791 if (codec->patch_ops.set_power_state) in hda_set_power_state()
2792 codec->patch_ops.set_power_state(codec, fg, in hda_set_power_state()
2875 if (codec->patch_ops.suspend) in hda_call_codec_suspend()
2876 codec->patch_ops.suspend(codec); in hda_call_codec_suspend()
2899 if (codec->patch_ops.resume) in hda_call_codec_resume()
2900 codec->patch_ops.resume(codec); in hda_call_codec_resume()
2902 if (codec->patch_ops.init) in hda_call_codec_resume()
2903 codec->patch_ops.init(codec); in hda_call_codec_resume()
2999 if (codec->patch_ops.init) in snd_hda_codec_build_controls()
3000 err = codec->patch_ops.init(codec); in snd_hda_codec_build_controls()
3001 if (!err && codec->patch_ops.build_controls) in snd_hda_codec_build_controls()
3002 err = codec->patch_ops.build_controls(codec); in snd_hda_codec_build_controls()
3194 if (!codec->patch_ops.build_pcms) in snd_hda_codec_parse_pcms()
3197 err = codec->patch_ops.build_pcms(codec); in snd_hda_codec_parse_pcms()