Searched refs:calc_size (Results 1 – 1 of 1) sorted by relevance
451 size_t calc_size; in qe_upload_firmware() local483 calc_size = struct_size(firmware, microcode, firmware->count); in qe_upload_firmware()491 calc_size += sizeof(__be32) * in qe_upload_firmware()495 if (length != calc_size + sizeof(__be32)) { in qe_upload_firmware()501 crc = be32_to_cpu(*(__be32 *)((void *)firmware + calc_size)); in qe_upload_firmware()502 if (crc != crc32(0, firmware, calc_size)) { in qe_upload_firmware()
Completed in 4 milliseconds