Lines Matching defs:res
816 static void hdmi_intrinsic_event(struct hda_codec *codec, unsigned int res,
823 codec->addr, jack->nid, jack->dev_id, !!(res & AC_UNSOL_RES_IA),
824 !!(res & AC_UNSOL_RES_PD), !!(res & AC_UNSOL_RES_ELDV));
829 static void hdmi_non_intrinsic_event(struct hda_codec *codec, unsigned int res)
831 int tag = res >> AC_UNSOL_RES_TAG_SHIFT;
832 int subtag = (res & AC_UNSOL_RES_SUBTAG) >> AC_UNSOL_RES_SUBTAG_SHIFT;
833 int cp_state = !!(res & AC_UNSOL_RES_CP_STATE);
834 int cp_ready = !!(res & AC_UNSOL_RES_CP_READY);
854 static void hdmi_unsol_event(struct hda_codec *codec, unsigned int res)
856 int tag = res >> AC_UNSOL_RES_TAG_SHIFT;
857 int subtag = (res & AC_UNSOL_RES_SUBTAG) >> AC_UNSOL_RES_SUBTAG_SHIFT;
865 (res & AC_UNSOL_RES_DE) >> AC_UNSOL_RES_DE_SHIFT;
878 hdmi_intrinsic_event(codec, res, jack);
880 hdmi_non_intrinsic_event(codec, res);
2912 int res;
2927 res = hdmi_setup_stream(codec, cvt_nid, pin_nid, dev_id,
2935 return res;
2960 int pin_idx, res;
2962 res = generic_hdmi_suspend(codec);
2992 return res;
2998 int pin_idx, res;
3000 res = generic_hdmi_resume(codec);
3004 return res;
3033 return res;
3161 int res;
3163 res = patch_i915_tgl_hdmi(codec);
3164 if (!res) {
3177 return res;
3247 unsigned int res)