Lines Matching defs:ucode
48 * @firmware_name: composite filename of ucode file to load
262 snprintf(drv->firmware_name, sizeof(drv->firmware_name), "%s-%d.ucode",
496 const struct iwl_ucode_header *ucode = (const void *)ucode_raw->data;
501 drv->fw.ucode_ver = le32_to_cpu(ucode->ver);
511 build = le32_to_cpu(ucode->u.v2.build);
513 le32_to_cpu(ucode->u.v2.inst_size));
515 le32_to_cpu(ucode->u.v2.data_size));
517 le32_to_cpu(ucode->u.v2.init_size));
519 le32_to_cpu(ucode->u.v2.init_data_size));
520 src = ucode->u.v2.data;
532 le32_to_cpu(ucode->u.v1.inst_size));
534 le32_to_cpu(ucode->u.v1.data_size));
536 le32_to_cpu(ucode->u.v1.init_size));
538 le32_to_cpu(ucode->u.v1.init_data_size));
539 src = ucode->u.v1.data;
694 const struct iwl_tlv_ucode_header *ucode = (const void *)ucode_raw->data;
707 if (len < sizeof(*ucode)) {
712 if (ucode->magic != cpu_to_le32(IWL_TLV_UCODE_MAGIC)) {
714 le32_to_cpu(ucode->magic));
718 drv->fw.ucode_ver = le32_to_cpu(ucode->ver);
719 memcpy(drv->fw.human_readable, ucode->human_readable,
721 build = le32_to_cpu(ucode->build);
737 data = ucode->data;
739 len -= sizeof(*ucode);
795 IWL_ERR(drv, "Found unexpected BOOT ucode\n");
1321 "user selected to work with usniffer but usniffer image isn't available in ucode package\n");
1468 const struct iwl_ucode_header *ucode;
1506 /* Data from ucode file: header followed by uCode images */
1507 ucode = (const struct iwl_ucode_header *)ucode_raw->data;
1509 if (ucode->ver)
1544 /* Allocate ucode buffers for card's bus-master loading ... */