Lines Matching refs:hdcp_message
43 struct intel_hdcp_gsc_message *hdcp_message) in intel_hdcp_gsc_initialize_message() argument
80 hdcp_message->hdcp_cmd_in = cmd_in; in intel_hdcp_gsc_initialize_message()
81 hdcp_message->hdcp_cmd_out = cmd_out; in intel_hdcp_gsc_initialize_message()
82 hdcp_message->vma = vma; in intel_hdcp_gsc_initialize_message()
111 struct intel_hdcp_gsc_message *hdcp_message; in intel_hdcp_gsc_hdcp2_init() local
114 hdcp_message = kzalloc(sizeof(*hdcp_message), GFP_KERNEL); in intel_hdcp_gsc_hdcp2_init()
116 if (!hdcp_message) in intel_hdcp_gsc_hdcp2_init()
123 i915->display.hdcp.hdcp_message = hdcp_message; in intel_hdcp_gsc_hdcp2_init()
124 ret = intel_hdcp_gsc_initialize_message(i915, hdcp_message); in intel_hdcp_gsc_hdcp2_init()
134 struct intel_hdcp_gsc_message *hdcp_message = in intel_hdcp_gsc_free_message() local
135 i915->display.hdcp.hdcp_message; in intel_hdcp_gsc_free_message()
137 hdcp_message->hdcp_cmd_in = NULL; in intel_hdcp_gsc_free_message()
138 hdcp_message->hdcp_cmd_out = NULL; in intel_hdcp_gsc_free_message()
139 i915_vma_unpin_and_release(&hdcp_message->vma, I915_VMA_RELEASE_MAP); in intel_hdcp_gsc_free_message()
140 kfree(hdcp_message); in intel_hdcp_gsc_free_message()
223 struct intel_hdcp_gsc_message *hdcp_message; in intel_hdcp_gsc_msg_send() local
236 hdcp_message = i915->display.hdcp.hdcp_message; in intel_hdcp_gsc_msg_send()
237 header_in = hdcp_message->hdcp_cmd_in; in intel_hdcp_gsc_msg_send()
238 header_out = hdcp_message->hdcp_cmd_out; in intel_hdcp_gsc_msg_send()
239 addr_in = i915_ggtt_offset(hdcp_message->vma); in intel_hdcp_gsc_msg_send()
247 memcpy(hdcp_message->hdcp_cmd_in + sizeof(*header_in), msg_in, msg_in_len); in intel_hdcp_gsc_msg_send()
281 memcpy(msg_out, hdcp_message->hdcp_cmd_out + sizeof(*header_out), msg_out_len); in intel_hdcp_gsc_msg_send()