Searched refs:calc_size (Results 1 – 1 of 1) sorted by relevance
452 size_t calc_size; in qe_upload_firmware() local484 calc_size = struct_size(firmware, microcode, firmware->count); in qe_upload_firmware()492 calc_size += sizeof(__be32) * in qe_upload_firmware()496 if (length != calc_size + sizeof(__be32)) { in qe_upload_firmware()502 crc = be32_to_cpu(*(__be32 *)((void *)firmware + calc_size)); in qe_upload_firmware()503 if (crc != crc32(0, firmware, calc_size)) { in qe_upload_firmware()