Searched refs:crc32_start (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/i915/gvt/ |
D | firmware.c | 64 unsigned long size, crc32_start; in expose_firmware_sysfs() local 94 crc32_start = offsetof(struct gvt_firmware_header, version); in expose_firmware_sysfs() 95 h->crc32 = crc32_le(0, firmware + crc32_start, size - crc32_start); in expose_firmware_sysfs() 136 unsigned long id, crc32_start; in verify_firmware() local 143 crc32_start = offsetofend(struct gvt_firmware_header, crc32); in verify_firmware() 144 mem = fw->data + crc32_start; in verify_firmware() 154 VERIFY("crc32", h->crc32, crc32_le(0, mem, fw->size - crc32_start)); in verify_firmware()
|