Home
last modified time | relevance | path

Searched refs:sos (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg.c1046 static int mxc_jpeg_fixup_sos(struct mxc_jpeg_sos *sos, in mxc_jpeg_fixup_sos() argument
1050 u8 *sof_u8 = (u8 *)sos; in mxc_jpeg_fixup_sos()
1057 sos->components_no = 3; in mxc_jpeg_fixup_sos()
1061 sos->components_no = 3; in mxc_jpeg_fixup_sos()
1068 sos->components_no = 3; in mxc_jpeg_fixup_sos()
1072 sos->components_no = 4; in mxc_jpeg_fixup_sos()
1076 sos->components_no = 1; in mxc_jpeg_fixup_sos()
1079 sos_length = 6 + 2 * sos->components_no; in mxc_jpeg_fixup_sos()
1080 sos->length = sos_length; in mxc_jpeg_fixup_sos()
1081 _bswap16(&sos->length); in mxc_jpeg_fixup_sos()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c2345 if ((is_psp_fw_valid(psp->sos)) && in psp_hw_start()
2714 if (psp->sos.fw_version < supp_vers) in psp_load_p2s_table()
3255 adev->psp.asd_context.bin_desc.feature_version = le32_to_cpu(asd_hdr->sos.fw_version); in psp_init_asd_microcode()
3277 adev->psp.toc.feature_version = le32_to_cpu(toc_hdr->sos.fw_version); in psp_init_toc_microcode()
3302 psp->sos.fw_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
3303 psp->sos.feature_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
3304 psp->sos.size_bytes = le32_to_cpu(desc->size_bytes); in parse_sos_bin_descriptor()
3305 psp->sos.start_addr = ucode_start_addr; in parse_sos_bin_descriptor()
3387 adev->psp.sos.fw_version = le32_to_cpu(sos_hdr->header.ucode_version); in psp_init_sos_base_fw()
3388 adev->psp.sos.feature_version = le32_to_cpu(sos_hdr->sos.fw_version); in psp_init_sos_base_fw()
[all …]
Dpsp_v12_0.c132 psp_copy_fw(psp, psp->sos.start_addr, psp->sos.size_bytes); in psp_v12_0_bootloader_load_sos()
Dpsp_v13_0_4.c176 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v13_0_4_bootloader_load_sos()
Dpsp_v3_1.c138 psp_copy_fw(psp, psp->sos.start_addr, psp->sos.size_bytes); in psp_v3_1_bootloader_load_sos()
Dpsp_v13_0.c295 psp->sos.fw_version = RREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_58); in psp_v13_0_init_sos_version()
319 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v13_0_bootloader_load_sos()
Damdgpu_dev_coredump.c122 adev->psp.sos.feature_version, adev->psp.sos.fw_version); in amdgpu_devcoredump_fw_info()
Dpsp_v11_0.c242 psp_copy_fw(psp, psp->sos.start_addr, psp->sos.size_bytes); in psp_v11_0_bootloader_load_sos()
Dpsp_v14_0.c210 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v14_0_bootloader_load_sos()
Damdgpu_ucode.c355 le32_to_cpu(psp_hdr->sos.fw_version)); in amdgpu_ucode_print_psp_hdr()
357 le32_to_cpu(psp_hdr->sos.offset_bytes)); in amdgpu_ucode_print_psp_hdr()
359 le32_to_cpu(psp_hdr->sos.size_bytes)); in amdgpu_ucode_print_psp_hdr()
759 FW_VERSION_ATTR(sos_fw_version, 0444, psp.sos.fw_version);
Damdgpu_ucode.h83 struct psp_fw_legacy_bin_desc sos; member
Damdgpu_psp.h335 struct psp_bin_desc sos; member
Dsoc15.c536 if (adev->psp.sos.fw_version >= 0x80067) in soc15_asic_reset_method()
631 if (adev->psp.sos.fw_version >= 0x80067) in soc15_supports_baco()
Damdgpu_kms.c326 fw_info->ver = adev->psp.sos.fw_version; in amdgpu_firmware_info()
327 fw_info->feature = adev->psp.sos.feature_version; in amdgpu_firmware_info()
Damdgpu_virt.c559 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SOS, adev->psp.sos.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
Dgfx_v12_0.c546 adev->psp.toc.feature_version = le32_to_cpu(toc_hdr->sos.fw_version); in gfx_v12_0_init_toc_microcode()
Dgfx_v11_0.c644 adev->psp.toc.feature_version = le32_to_cpu(toc_hdr->sos.fw_version); in gfx_v11_0_init_toc_microcode()
/linux-6.12.1/include/media/
Dv4l2-jpeg.h155 struct v4l2_jpeg_reference sos; member
/linux-6.12.1/drivers/media/platform/samsung/s5p-jpeg/
Djpeg-core.h191 u32 sos; member
Djpeg-core.c775 (unsigned long)vb2_plane_vaddr(&vb->vb2_buf, 0) + ctx->out_q.sos + 2; in exynos4_jpeg_parse_decode_h_tbl()
1121 unsigned int sos = 0, sof = 0, sof_len = 0; in s5p_jpeg_parse_hdr() local
1132 while (notfound || !sos) { in s5p_jpeg_parse_hdr()
1206 sos = jpeg_buffer.curr - 2; /* 0xffda */ in s5p_jpeg_parse_hdr()
1227 if (notfound || !sos || !s5p_jpeg_subsampling_decode(ctx, subsampling)) in s5p_jpeg_parse_hdr()
1232 result->sos = sos; in s5p_jpeg_parse_hdr()
2165 jpeg_addr += ctx->out_q.sos; in exynos4_jpeg_set_jpeg_addr()
/linux-6.12.1/drivers/media/v4l2-core/
Dv4l2-jpeg.c685 ret = jpeg_reference_segment(&stream, &out->sos); in v4l2_jpeg_parse_header()