Searched refs:crc (Results 1 – 2 of 2) sorted by relevance
/sound/usb/6fire/ |
D | firmware.c | 59 static u8 usb6fire_fw_ihex_hex(const u8 *data, u8 *crc) in usb6fire_fw_ihex_hex() argument 72 *crc += val; in usb6fire_fw_ihex_hex() 82 u8 crc = 0; in usb6fire_fw_ihex_next_record() local 103 record->txt_offset, &crc); in usb6fire_fw_ihex_next_record() 106 record->txt_offset, &crc) << 8; in usb6fire_fw_ihex_next_record() 109 record->txt_offset, &crc); in usb6fire_fw_ihex_next_record() 112 record->txt_offset, &crc); in usb6fire_fw_ihex_next_record() 122 + record->txt_offset, &crc); in usb6fire_fw_ihex_next_record() 125 usb6fire_fw_ihex_hex(record->txt_data + record->txt_offset, &crc); in usb6fire_fw_ihex_next_record() 126 if (crc) { in usb6fire_fw_ihex_next_record()
|
/sound/soc/codecs/ |
D | sigmadsp.c | 74 __le32 crc; member 480 u32 crc; in sigmadsp_firmware_load() local 509 crc = crc32(0, fw->data + sizeof(*ssfw_head), in sigmadsp_firmware_load() 511 pr_debug("%s: crc=%x\n", __func__, crc); in sigmadsp_firmware_load() 512 if (crc != le32_to_cpu(ssfw_head->crc)) { in sigmadsp_firmware_load() 514 le32_to_cpu(ssfw_head->crc), crc); in sigmadsp_firmware_load()
|