Searched refs:hdcp_cmd (Results 1 – 2 of 2) sorted by relevance
134 struct ta_hdcp_shared_memory *hdcp_cmd; in mod_hdcp_hdcp1_create_session() local142 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.hdcp_shared_buf; in mod_hdcp_hdcp1_create_session()145 memset(hdcp_cmd, 0, sizeof(struct ta_hdcp_shared_memory)); in mod_hdcp_hdcp1_create_session()147 hdcp_cmd->in_msg.hdcp1_create_session.display_handle = display->index; in mod_hdcp_hdcp1_create_session()148 hdcp_cmd->cmd_id = TA_HDCP_COMMAND__HDCP1_CREATE_SESSION; in mod_hdcp_hdcp1_create_session()150 psp_hdcp_invoke(psp, hdcp_cmd->cmd_id); in mod_hdcp_hdcp1_create_session()152 hdcp->auth.id = hdcp_cmd->out_msg.hdcp1_create_session.session_handle; in mod_hdcp_hdcp1_create_session()154 if (hdcp_cmd->hdcp_status != TA_HDCP_STATUS__SUCCESS) { in mod_hdcp_hdcp1_create_session()157 hdcp->auth.msg.hdcp1.ainfo = hdcp_cmd->out_msg.hdcp1_create_session.ainfo_primary; in mod_hdcp_hdcp1_create_session()158 memcpy(hdcp->auth.msg.hdcp1.aksv, hdcp_cmd->out_msg.hdcp1_create_session.aksv_primary, in mod_hdcp_hdcp1_create_session()[all …]
80 struct ta_hdcp_shared_memory *hdcp_cmd; in psp_get_srm() local87 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.hdcp_shared_buf; in psp_get_srm()88 memset(hdcp_cmd, 0, sizeof(struct ta_hdcp_shared_memory)); in psp_get_srm()90 hdcp_cmd->cmd_id = TA_HDCP_COMMAND__HDCP_GET_SRM; in psp_get_srm()91 psp_hdcp_invoke(psp, hdcp_cmd->cmd_id); in psp_get_srm()93 if (hdcp_cmd->hdcp_status != TA_HDCP_STATUS__SUCCESS) in psp_get_srm()96 *srm_version = hdcp_cmd->out_msg.hdcp_get_srm.srm_version; in psp_get_srm()97 *srm_size = hdcp_cmd->out_msg.hdcp_get_srm.srm_buf_size; in psp_get_srm()100 return hdcp_cmd->out_msg.hdcp_get_srm.srm_buf; in psp_get_srm()106 struct ta_hdcp_shared_memory *hdcp_cmd; in psp_set_srm() local[all …]