Searched refs:ssfw_head (Results 1 – 1 of 1) sorted by relevance
478 const struct sigma_firmware_header *ssfw_head; in sigmadsp_firmware_load() local499 if (fw->size < sizeof(*ssfw_head) || fw->size >= 0x4000000) { in sigmadsp_firmware_load()504 ssfw_head = (void *)fw->data; in sigmadsp_firmware_load()505 if (memcmp(ssfw_head->magic, SIGMA_MAGIC, ARRAY_SIZE(ssfw_head->magic))) { in sigmadsp_firmware_load()510 crc = crc32(0, fw->data + sizeof(*ssfw_head), in sigmadsp_firmware_load()511 fw->size - sizeof(*ssfw_head)); in sigmadsp_firmware_load()513 if (crc != le32_to_cpu(ssfw_head->crc)) { in sigmadsp_firmware_load()515 le32_to_cpu(ssfw_head->crc), crc); in sigmadsp_firmware_load()519 switch (ssfw_head->version) { in sigmadsp_firmware_load()529 ssfw_head->version); in sigmadsp_firmware_load()