Home
last modified time | relevance | path

Searched refs:shared_buf (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_psp_ta.c45 uint8_t *shared_buf, in prep_ta_mem_context() argument
50 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()
192 if (!context->mem_context.shared_buf) { in ta_if_load_debugfs_write()
236 if (ret && context->mem_context.shared_buf) in ta_if_load_debugfs_write()
284 if (context->mem_context.shared_buf) in ta_if_unload_debugfs_write()
296 uint8_t *shared_buf = NULL; in ta_if_invoke_debugfs_write() local
327 shared_buf = kzalloc(shared_buf_len, GFP_KERNEL); in ta_if_invoke_debugfs_write()
328 if (!shared_buf) in ta_if_invoke_debugfs_write()
330 if (copy_from_user((void *)shared_buf, &buf[copy_pos], shared_buf_len)) { in ta_if_invoke_debugfs_write()
[all …]
A Damdgpu_psp.c237 &mem_ctx->shared_buf); in psp_ta_free_shared_buf()
1081 &mem_ctx->shared_buf); in psp_ta_init_shared_buf()
1180 if (!psp->xgmi_context.context.mem_context.shared_buf) { in psp_xgmi_initialize()
1415 (struct ta_ras_shared_memory *)psp->ras_context.context.mem_context.shared_buf; in psp_ras_ta_check_status()
1445 ras_cmd = (struct ta_ras_shared_memory *)psp->ras_context.context.mem_context.shared_buf; in psp_ras_invoke()
1489 ras_cmd = (struct ta_ras_shared_memory *)psp->ras_context.context.mem_context.shared_buf; in psp_ras_enable_features()
1589 if (!psp->ras_context.context.mem_context.shared_buf) { in psp_ras_initialize()
1671 if (!psp->hdcp_context.context.mem_context.shared_buf) { in psp_hdcp_initialize()
1738 if (!psp->dtm_context.context.mem_context.shared_buf) { in psp_dtm_initialize()
1806 if (!psp->rap_context.context.mem_context.shared_buf) { in psp_rap_initialize()
[all …]
A Damdgpu_rap.c79 adev->psp.rap_context.context.mem_context.shared_buf; in amdgpu_rap_debugfs_write()
A Damdgpu_securedisplay.c83 *cmd = (struct ta_securedisplay_cmd *)psp->securedisplay_context.context.mem_context.shared_buf; in psp_prep_securedisplay_cmd_buf()
A Damdgpu_psp.h168 void *shared_buf; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/modules/hdcp/
A Dhdcp_psp.c57 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-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_shared_buf.c31 .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()
A Dnfp_abi.h84 __le32 shared_buf; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_hdcp.c87 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()
496 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in enable_assr()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_cmd.h88 __le16 shared_buf; member
A Dhclge_main.c2047 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()
A Dhclge_debugfs.c1260 le16_to_cpu(rx_buf_cmd->shared_buf)); in hclge_dbg_dump_rx_priv_buf_cfg()

Completed in 57 milliseconds