Searched refs:calc_size (Results 1 – 1 of 1) sorted by relevance
392 size_t calc_size = sizeof(struct qe_firmware); in qe_upload_firmware() local424 calc_size += (firmware->count - 1) * sizeof(struct qe_microcode); in qe_upload_firmware()432 calc_size += sizeof(__be32) * in qe_upload_firmware()436 if (length != calc_size + sizeof(__be32)) { in qe_upload_firmware()442 crc = be32_to_cpu(*(__be32 *)((void *)firmware + calc_size)); in qe_upload_firmware()443 if (crc != crc32(0, firmware, calc_size)) { in qe_upload_firmware()