Home | History | Annotate | Download | only in radeon

Lines Matching refs:hdr

36 static void radeon_ucode_print_common_hdr(const struct common_firmware_header *hdr)
38 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes));
39 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes));
40 DRM_DEBUG("header_version_major: %u\n", le16_to_cpu(hdr->header_version_major));
41 DRM_DEBUG("header_version_minor: %u\n", le16_to_cpu(hdr->header_version_minor));
42 DRM_DEBUG("ip_version_major: %u\n", le16_to_cpu(hdr->ip_version_major));
43 DRM_DEBUG("ip_version_minor: %u\n", le16_to_cpu(hdr->ip_version_minor));
44 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version));
45 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes));
47 le32_to_cpu(hdr->ucode_array_offset_bytes));
48 DRM_DEBUG("crc32: 0x%08x\n", le32_to_cpu(hdr->crc32));
51 void radeon_ucode_print_mc_hdr(const struct common_firmware_header *hdr)
53 uint16_t version_major = le16_to_cpu(hdr->header_version_major);
54 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor);
57 radeon_ucode_print_common_hdr(hdr);
61 const_container_of(hdr, struct mc_firmware_header_v1_0, header);
72 void radeon_ucode_print_smc_hdr(const struct common_firmware_header *hdr)
74 uint16_t version_major = le16_to_cpu(hdr->header_version_major);
75 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor);
78 radeon_ucode_print_common_hdr(hdr);
82 const_container_of(hdr, struct smc_firmware_header_v1_0, header);
90 void radeon_ucode_print_gfx_hdr(const struct common_firmware_header *hdr)
92 uint16_t version_major = le16_to_cpu(hdr->header_version_major);
93 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor);
96 radeon_ucode_print_common_hdr(hdr);
100 const_container_of(hdr, struct gfx_firmware_header_v1_0, header);
111 void radeon_ucode_print_rlc_hdr(const struct common_firmware_header *hdr)
113 uint16_t version_major = le16_to_cpu(hdr->header_version_major);
114 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor);
117 radeon_ucode_print_common_hdr(hdr);
121 const_container_of(hdr, struct rlc_firmware_header_v1_0, header);
138 void radeon_ucode_print_sdma_hdr(const struct common_firmware_header *hdr)
140 uint16_t version_major = le16_to_cpu(hdr->header_version_major);
141 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor);
144 radeon_ucode_print_common_hdr(hdr);
148 const_container_of(hdr, struct sdma_firmware_header_v1_0, header);
164 const struct common_firmware_header *hdr =
167 if (fw->size == le32_to_cpu(hdr->size_bytes))