Lines Matching refs:ucode_raw
152 static void iwl_ucode_callback(const struct firmware *ucode_raw, void *context);
308 const struct firmware *ucode_raw, in iwl_parse_v1_v2_firmware() argument
311 struct iwl_ucode_header *ucode = (void *)ucode_raw->data; in iwl_parse_v1_v2_firmware()
322 if (ucode_raw->size < hdr_size) { in iwl_parse_v1_v2_firmware()
341 if (ucode_raw->size < hdr_size) { in iwl_parse_v1_v2_firmware()
376 if (ucode_raw->size != hdr_size + in iwl_parse_v1_v2_firmware()
384 (int)ucode_raw->size); in iwl_parse_v1_v2_firmware()
409 const struct firmware *ucode_raw, in iwl_parse_tlv_firmware() argument
413 struct iwl_tlv_ucode_header *ucode = (void *)ucode_raw->data; in iwl_parse_tlv_firmware()
415 size_t len = ucode_raw->size; in iwl_parse_tlv_firmware()
755 static void iwl_ucode_callback(const struct firmware *ucode_raw, void *context) in iwl_ucode_callback() argument
778 if (!ucode_raw) { in iwl_ucode_callback()
787 drv->firmware_name, ucode_raw->size); in iwl_ucode_callback()
790 if (ucode_raw->size < 4) { in iwl_ucode_callback()
796 ucode = (struct iwl_ucode_header *)ucode_raw->data; in iwl_ucode_callback()
799 err = iwl_parse_v1_v2_firmware(drv, ucode_raw, &pieces); in iwl_ucode_callback()
801 err = iwl_parse_tlv_firmware(drv, ucode_raw, &pieces, in iwl_ucode_callback()
924 release_firmware(ucode_raw); in iwl_ucode_callback()
936 release_firmware(ucode_raw); in iwl_ucode_callback()
944 release_firmware(ucode_raw); in iwl_ucode_callback()