Searched refs:shared_buf (Results 1 – 7 of 7) sorted by relevance
45 uint8_t *shared_buf, in prep_ta_mem_context() argument50 memset(mem_context->shared_buf, 0, mem_context->shared_mem_size); in prep_ta_mem_context()51 memcpy((void *)mem_context->shared_buf, shared_buf, shared_buf_len); in prep_ta_mem_context()195 if (!context->mem_context.shared_buf) { in ta_if_load_debugfs_write()239 if (ret && context->mem_context.shared_buf) in ta_if_load_debugfs_write()287 if (context->mem_context.shared_buf) in ta_if_unload_debugfs_write()299 uint8_t *shared_buf = NULL; in ta_if_invoke_debugfs_write() local330 shared_buf = kzalloc(shared_buf_len, GFP_KERNEL); in ta_if_invoke_debugfs_write()331 if (!shared_buf) in ta_if_invoke_debugfs_write()333 if (copy_from_user((void *)shared_buf, &buf[copy_pos], shared_buf_len)) { in ta_if_invoke_debugfs_write()[all …]
81 adev->psp.rap_context.context.mem_context.shared_buf; in amdgpu_rap_debugfs_write()
267 &mem_ctx->shared_buf); in psp_ta_free_shared_buf()1191 &mem_ctx->shared_buf); in psp_ta_init_shared_buf()1289 if (!psp->xgmi_context.context.mem_context.shared_buf) { in psp_xgmi_initialize()1304 xgmi_cmd = (struct ta_xgmi_shared_memory *)(psp->xgmi_context.context.mem_context.shared_buf); in psp_xgmi_initialize()1321 xgmi_cmd = (struct ta_xgmi_shared_memory *)psp->xgmi_context.context.mem_context.shared_buf; in psp_xgmi_get_hive_id()1341 xgmi_cmd = (struct ta_xgmi_shared_memory *)psp->xgmi_context.context.mem_context.shared_buf; in psp_xgmi_get_node_id()1430 xgmi_cmd = (struct ta_xgmi_shared_memory *)psp->xgmi_context.context.mem_context.shared_buf; in psp_xgmi_get_topology_info()1547 xgmi_cmd = (struct ta_xgmi_shared_memory *)psp->xgmi_context.context.mem_context.shared_buf; in psp_xgmi_set_topology_info()1569 (struct ta_ras_shared_memory *)psp->ras_context.context.mem_context.shared_buf; in psp_ras_ta_check_status()1605 ras_cmd = (struct ta_ras_shared_memory *)psp->ras_context.context.mem_context.shared_buf; in psp_ras_send_cmd()[all …]
83 *cmd = (struct ta_securedisplay_cmd *)psp->securedisplay_context.context.mem_context.shared_buf; in psp_prep_securedisplay_cmd_buf()
175 void *shared_buf; member
57 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in remove_display_from_topology_v2()93 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in remove_display_from_topology_v3()136 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in add_display_to_topology_v2()183 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in add_display_to_topology_v3()263 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_create_session()298 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_destroy_session()330 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_validate_rx()372 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_enable_encryption()398 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_validate_ksvlist_vp()441 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_enable_dp_stream_encryption()[all …]
88 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in psp_get_srm()113 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in psp_set_srm()479 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in enable_assr()