Searched refs:ssfw_head (Results 1 – 1 of 1) sorted by relevance
489 const struct sigma_firmware_header *ssfw_head; in sigmadsp_firmware_load() local510 if (fw->size < sizeof(*ssfw_head) || fw->size >= 0x4000000) { in sigmadsp_firmware_load()515 ssfw_head = (void *)fw->data; in sigmadsp_firmware_load()516 if (memcmp(ssfw_head->magic, SIGMA_MAGIC, ARRAY_SIZE(ssfw_head->magic))) { in sigmadsp_firmware_load()521 crc = crc32(0, fw->data + sizeof(*ssfw_head), in sigmadsp_firmware_load()522 fw->size - sizeof(*ssfw_head)); in sigmadsp_firmware_load()524 if (crc != le32_to_cpu(ssfw_head->crc)) { in sigmadsp_firmware_load()526 le32_to_cpu(ssfw_head->crc), crc); in sigmadsp_firmware_load()530 switch (ssfw_head->version) { in sigmadsp_firmware_load()540 ssfw_head->version); in sigmadsp_firmware_load()