Searched refs:toc_hdr (Results 1 – 3 of 3) sorted by relevance
3268 const struct psp_firmware_header_v1_0 *toc_hdr; in psp_init_toc_microcode() local3275 toc_hdr = (const struct psp_firmware_header_v1_0 *)adev->psp.toc_fw->data; in psp_init_toc_microcode()3276 adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version); in psp_init_toc_microcode()3277 adev->psp.toc.feature_version = le32_to_cpu(toc_hdr->sos.fw_version); in psp_init_toc_microcode()3278 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in psp_init_toc_microcode()3279 adev->psp.toc.start_addr = (uint8_t *)toc_hdr + in psp_init_toc_microcode()3280 le32_to_cpu(toc_hdr->header.ucode_array_offset_bytes); in psp_init_toc_microcode()
536 const struct psp_firmware_header_v1_0 *toc_hdr; in gfx_v12_0_init_toc_microcode() local544 toc_hdr = (const struct psp_firmware_header_v1_0 *)adev->psp.toc_fw->data; in gfx_v12_0_init_toc_microcode()545 adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version); in gfx_v12_0_init_toc_microcode()546 adev->psp.toc.feature_version = le32_to_cpu(toc_hdr->sos.fw_version); in gfx_v12_0_init_toc_microcode()547 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v12_0_init_toc_microcode()548 adev->psp.toc.start_addr = (uint8_t *)toc_hdr + in gfx_v12_0_init_toc_microcode()549 le32_to_cpu(toc_hdr->header.ucode_array_offset_bytes); in gfx_v12_0_init_toc_microcode()
634 const struct psp_firmware_header_v1_0 *toc_hdr; in gfx_v11_0_init_toc_microcode() local642 toc_hdr = (const struct psp_firmware_header_v1_0 *)adev->psp.toc_fw->data; in gfx_v11_0_init_toc_microcode()643 adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version); in gfx_v11_0_init_toc_microcode()644 adev->psp.toc.feature_version = le32_to_cpu(toc_hdr->sos.fw_version); in gfx_v11_0_init_toc_microcode()645 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v11_0_init_toc_microcode()646 adev->psp.toc.start_addr = (uint8_t *)toc_hdr + in gfx_v11_0_init_toc_microcode()647 le32_to_cpu(toc_hdr->header.ucode_array_offset_bytes); in gfx_v11_0_init_toc_microcode()