Lines Matching defs:hdr
1114 const struct dmcub_firmware_header_v1_0 *hdr;
1162 hdr = (const struct dmcub_firmware_header_v1_0 *)dmub_fw->data;
1165 le32_to_cpu(hdr->header.ucode_array_offset_bytes) +
1169 le32_to_cpu(hdr->header.ucode_array_offset_bytes) +
1170 le32_to_cpu(hdr->inst_const_bytes);
1173 fw_inst_const_size = le32_to_cpu(hdr->inst_const_bytes) -
1176 fw_bss_data_size = le32_to_cpu(hdr->bss_data_bytes);
2006 const struct dmcu_firmware_header_v1_0 *hdr;
2089 hdr = (const struct dmcu_firmware_header_v1_0 *)adev->dm.fw_dmcu->data;
2093 ALIGN(le32_to_cpu(hdr->header.ucode_size_bytes) - le32_to_cpu(hdr->intv_size_bytes), PAGE_SIZE);
2098 ALIGN(le32_to_cpu(hdr->intv_size_bytes), PAGE_SIZE);
2100 adev->dm.dmcu_fw_version = le32_to_cpu(hdr->header.ucode_version);
2130 const struct dmcub_firmware_header_v1_0 *hdr;
2190 hdr = (const struct dmcub_firmware_header_v1_0 *)adev->dm.dmub_fw->data;
2191 adev->dm.dmcub_fw_version = le32_to_cpu(hdr->header.ucode_version);
2199 ALIGN(le32_to_cpu(hdr->inst_const_bytes), PAGE_SIZE);
2230 region_params.inst_const_size = le32_to_cpu(hdr->inst_const_bytes) -
2232 region_params.bss_data_size = le32_to_cpu(hdr->bss_data_bytes);
2236 le32_to_cpu(hdr->header.ucode_array_offset_bytes) +
2237 le32_to_cpu(hdr->inst_const_bytes) : NULL;
2240 le32_to_cpu(hdr->header.ucode_array_offset_bytes) +