Searched refs:calc_size (Results 1 – 1 of 1) sorted by relevance
422 size_t calc_size = sizeof(struct qe_firmware); in qe_upload_firmware() local454 calc_size += (firmware->count - 1) * sizeof(struct qe_microcode); in qe_upload_firmware()462 calc_size += sizeof(__be32) * in qe_upload_firmware()466 if (length != calc_size + sizeof(__be32)) { in qe_upload_firmware()472 crc = be32_to_cpu(*(__be32 *)((void *)firmware + calc_size)); in qe_upload_firmware()473 if (crc != crc32(0, firmware, calc_size)) { in qe_upload_firmware()