Lines Matching defs:ucode
63 * @firmware_name: composite filename of ucode file to load
283 snprintf(drv->firmware_name, sizeof(drv->firmware_name), "%s-%d.ucode",
517 const struct iwl_ucode_header *ucode = (const void *)ucode_raw->data;
522 drv->fw.ucode_ver = le32_to_cpu(ucode->ver);
532 build = le32_to_cpu(ucode->u.v2.build);
534 le32_to_cpu(ucode->u.v2.inst_size));
536 le32_to_cpu(ucode->u.v2.data_size));
538 le32_to_cpu(ucode->u.v2.init_size));
540 le32_to_cpu(ucode->u.v2.init_data_size));
541 src = ucode->u.v2.data;
553 le32_to_cpu(ucode->u.v1.inst_size));
555 le32_to_cpu(ucode->u.v1.data_size));
557 le32_to_cpu(ucode->u.v1.init_size));
559 le32_to_cpu(ucode->u.v1.init_data_size));
560 src = ucode->u.v1.data;
715 const struct iwl_tlv_ucode_header *ucode = (const void *)ucode_raw->data;
728 if (len < sizeof(*ucode)) {
733 if (ucode->magic != cpu_to_le32(IWL_TLV_UCODE_MAGIC)) {
735 le32_to_cpu(ucode->magic));
739 drv->fw.ucode_ver = le32_to_cpu(ucode->ver);
740 memcpy(drv->fw.human_readable, ucode->human_readable,
742 build = le32_to_cpu(ucode->build);
758 data = ucode->data;
760 len -= sizeof(*ucode);
816 IWL_ERR(drv, "Found unexpected BOOT ucode\n");
1338 "user selected to work with usniffer but usniffer image isn't available in ucode package\n");
1496 const struct iwl_ucode_header *ucode;
1533 /* Data from ucode file: header followed by uCode images */
1534 ucode = (const struct iwl_ucode_header *)ucode_raw->data;
1536 if (ucode->ver)
1571 /* Allocate ucode buffers for card's bus-master loading ... */