Lines Matching refs:header
56 container_of(hdr, struct mc_firmware_header_v1_0, header); in amdgpu_ucode_print_mc_hdr()
77 container_of(hdr, struct smc_firmware_header_v1_0, header); in amdgpu_ucode_print_smc_hdr()
95 container_of(hdr, struct gfx_firmware_header_v1_0, header); in amdgpu_ucode_print_gfx_hdr()
116 container_of(hdr, struct rlc_firmware_header_v1_0, header); in amdgpu_ucode_print_rlc_hdr()
130 container_of(hdr, struct rlc_firmware_header_v2_0, header); in amdgpu_ucode_print_rlc_hdr()
181 container_of(hdr, struct sdma_firmware_header_v1_0, header); in amdgpu_ucode_print_sdma_hdr()
223 const struct common_firmware_header *header = NULL; in amdgpu_ucode_init_single_fw() local
231 header = (const struct common_firmware_header *)ucode->fw->data; in amdgpu_ucode_init_single_fw()
233 le32_to_cpu(header->ucode_array_offset_bytes)), in amdgpu_ucode_init_single_fw()
234 le32_to_cpu(header->ucode_size_bytes)); in amdgpu_ucode_init_single_fw()
247 const struct common_firmware_header *header = NULL; in amdgpu_ucode_init_bo() local
287 header = (const struct common_firmware_header *)ucode->fw->data; in amdgpu_ucode_init_bo()
290 fw_offset += ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_ucode_init_bo()