Searched refs:shared_buf (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_psp_ta.c | 46 uint8_t *shared_buf, in prep_ta_mem_context() argument 52 memcpy((void *)context->mem_context.shared_buf, shared_buf, shared_buf_len); in prep_ta_mem_context() 223 uint8_t *shared_buf = NULL; in ta_if_invoke_debugfs_write() local 249 shared_buf = kzalloc(shared_buf_len, GFP_KERNEL); in ta_if_invoke_debugfs_write() 250 if (!shared_buf) in ta_if_invoke_debugfs_write() 252 if (copy_from_user((void *)shared_buf, &buf[copy_pos], shared_buf_len)) { in ta_if_invoke_debugfs_write() 259 prep_ta_mem_context(psp, &context, shared_buf, shared_buf_len); in ta_if_invoke_debugfs_write() 271 if (copy_to_user((char *)buf, context.mem_context.shared_buf, shared_buf_len)) in ta_if_invoke_debugfs_write() 278 kfree(shared_buf); in ta_if_invoke_debugfs_write()
|
D | amdgpu_rap.c | 79 adev->psp.rap_context.context.mem_context.shared_buf; in amdgpu_rap_debugfs_write()
|
D | amdgpu_securedisplay.c | 83 *cmd = (struct securedisplay_cmd *)psp->securedisplay_context.context.mem_context.shared_buf; in psp_prep_securedisplay_cmd_buf()
|
D | amdgpu_psp.c | 174 &mem_ctx->shared_buf); in psp_ta_free_shared_buf() 1073 &mem_ctx->shared_buf); in psp_ta_init_shared_buf() 1208 if (!psp->xgmi_context.context.mem_context.shared_buf) { in psp_xgmi_initialize() 1223 xgmi_cmd = (struct ta_xgmi_shared_memory *)(psp->xgmi_context.context.mem_context.shared_buf); in psp_xgmi_initialize() 1238 xgmi_cmd = (struct ta_xgmi_shared_memory *)psp->xgmi_context.context.mem_context.shared_buf; in psp_xgmi_get_hive_id() 1258 xgmi_cmd = (struct ta_xgmi_shared_memory *)psp->xgmi_context.context.mem_context.shared_buf; in psp_xgmi_get_node_id() 1341 xgmi_cmd = (struct ta_xgmi_shared_memory *)psp->xgmi_context.context.mem_context.shared_buf; in psp_xgmi_get_topology_info() 1421 xgmi_cmd = (struct ta_xgmi_shared_memory *)psp->xgmi_context.context.mem_context.shared_buf; in psp_xgmi_set_topology_info() 1443 (struct ta_ras_shared_memory *)psp->ras_context.context.mem_context.shared_buf; in psp_ras_ta_check_status() 1473 ras_cmd = (struct ta_ras_shared_memory *)psp->ras_context.context.mem_context.shared_buf; in psp_ras_invoke() [all …]
|
D | amdgpu_psp.h | 163 void *shared_buf; member
|
/Linux-v6.1/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp_psp.c | 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 …]
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_shared_buf.c | 31 .shared_buf = cpu_to_le32(sb), in nfp_shared_buf_pool_get() 62 .shared_buf = cpu_to_le32(sb), in nfp_shared_buf_pool_set()
|
D | nfp_abi.h | 84 __le32 shared_buf; member
|
/Linux-v6.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_hdcp.c | 87 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() 430 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in enable_assr()
|
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_cmd.h | 88 __le16 shared_buf; member
|
D | hclge_main.c | 2047 u32 shared_buf, aligned_mps; in hclge_is_rx_buf_ok() local 2068 shared_buf = rounddown(rx_all - rx_priv, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 2069 buf_alloc->s_buf.buf_size = shared_buf; in hclge_is_rx_buf_ok() 2071 buf_alloc->s_buf.self.high = shared_buf - hdev->dv_buf_size; in hclge_is_rx_buf_ok() 2082 hi_thrd = shared_buf - hdev->dv_buf_size; in hclge_is_rx_buf_ok() 2336 req->shared_buf = in hclge_rx_priv_buf_alloc()
|
D | hclge_debugfs.c | 1259 le16_to_cpu(rx_buf_cmd->shared_buf)); in hclge_dbg_dump_rx_priv_buf_cfg()
|