Home
last modified time | relevance | path

Searched refs:calc_size (Results 1 – 1 of 1) sorted by relevance

/linux-6.3-rc2/drivers/soc/fsl/qe/
A Dqe.c451 size_t calc_size; in qe_upload_firmware() local
483 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