Lines Matching refs:hdcp_context
288 psp_ta_free_shared_buf(&psp->hdcp_context.context.mem_context); in psp_free_shared_bufs()
1910 if (!psp->hdcp_context.context.bin_desc.size_bytes || in psp_hdcp_initialize()
1911 !psp->hdcp_context.context.bin_desc.start_addr) { in psp_hdcp_initialize()
1916 psp->hdcp_context.context.mem_context.shared_mem_size = PSP_HDCP_SHARED_MEM_SIZE; in psp_hdcp_initialize()
1917 psp->hdcp_context.context.ta_load_type = GFX_CMD_ID_LOAD_TA; in psp_hdcp_initialize()
1919 if (!psp->hdcp_context.context.mem_context.shared_buf) { in psp_hdcp_initialize()
1920 ret = psp_ta_init_shared_buf(psp, &psp->hdcp_context.context.mem_context); in psp_hdcp_initialize()
1925 ret = psp_ta_load(psp, &psp->hdcp_context.context); in psp_hdcp_initialize()
1927 psp->hdcp_context.context.initialized = true; in psp_hdcp_initialize()
1928 mutex_init(&psp->hdcp_context.mutex); in psp_hdcp_initialize()
1942 if (!psp->hdcp_context.context.initialized) in psp_hdcp_invoke()
1945 return psp_ta_invoke(psp, ta_cmd_id, &psp->hdcp_context.context); in psp_hdcp_invoke()
1958 if (!psp->hdcp_context.context.initialized) in psp_hdcp_terminate()
1961 ret = psp_ta_unload(psp, &psp->hdcp_context.context); in psp_hdcp_terminate()
1963 psp->hdcp_context.context.initialized = false; in psp_hdcp_terminate()
3557 psp->hdcp_context.context.bin_desc.fw_version = le32_to_cpu(desc->fw_version); in parse_ta_bin_descriptor()
3558 psp->hdcp_context.context.bin_desc.size_bytes = le32_to_cpu(desc->size_bytes); in parse_ta_bin_descriptor()
3559 psp->hdcp_context.context.bin_desc.start_addr = ucode_start_addr; in parse_ta_bin_descriptor()
3613 adev->psp.hdcp_context.context.bin_desc.fw_version = in parse_ta_v1_microcode()
3615 adev->psp.hdcp_context.context.bin_desc.size_bytes = in parse_ta_v1_microcode()
3617 adev->psp.hdcp_context.context.bin_desc.start_addr = in parse_ta_v1_microcode()
3626 (uint8_t *)adev->psp.hdcp_context.context.bin_desc.start_addr + in parse_ta_v1_microcode()
3634 (uint8_t *)adev->psp.hdcp_context.context.bin_desc.start_addr + in parse_ta_v1_microcode()