Home
last modified time | relevance | path

Searched refs:ucode_raw (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c158 static void iwl_req_fw_callback(const struct firmware *ucode_raw,
455 const struct firmware *ucode_raw, in iwl_parse_v1_v2_firmware() argument
458 struct iwl_ucode_header *ucode = (void *)ucode_raw->data; in iwl_parse_v1_v2_firmware()
469 if (ucode_raw->size < hdr_size) { in iwl_parse_v1_v2_firmware()
488 if (ucode_raw->size < hdr_size) { in iwl_parse_v1_v2_firmware()
521 if (ucode_raw->size != hdr_size + in iwl_parse_v1_v2_firmware()
529 (int)ucode_raw->size); in iwl_parse_v1_v2_firmware()
554 const struct firmware *ucode_raw, in iwl_parse_tlv_firmware() argument
559 struct iwl_tlv_ucode_header *ucode = (void *)ucode_raw->data; in iwl_parse_tlv_firmware()
561 size_t len = ucode_raw->size; in iwl_parse_tlv_firmware()
[all …]
/Linux-v5.15/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c1822 const struct firmware *ucode_raw; in il3945_read_ucode() local
1836 ret = request_firmware(&ucode_raw, buf, &il->pci_dev->dev); in il3945_read_ucode()
1850 "(%zd bytes) from disk\n", buf, ucode_raw->size); in il3945_read_ucode()
1859 if (ucode_raw->size < il3945_ucode_get_header_size(1)) { in il3945_read_ucode()
1866 ucode = (struct il_ucode_header *)ucode_raw->data; in il3945_read_ucode()
1912 if (ucode_raw->size != in il3945_read_ucode()
1917 ucode_raw->size); in il3945_read_ucode()
2033 release_firmware(ucode_raw); in il3945_read_ucode()
2042 release_firmware(ucode_raw); in il3945_read_ucode()
D4965-mac.c4662 static void il4965_ucode_callback(const struct firmware *ucode_raw,
4700 il4965_load_firmware(struct il_priv *il, const struct firmware *ucode_raw, in il4965_load_firmware() argument
4703 struct il_ucode_header *ucode = (void *)ucode_raw->data; in il4965_load_firmware()
4716 if (ucode_raw->size < hdr_size) { in il4965_load_firmware()
4730 if (ucode_raw->size != in il4965_load_firmware()
4735 (int)ucode_raw->size); in il4965_load_firmware()
4760 il4965_ucode_callback(const struct firmware *ucode_raw, void *context) in il4965_ucode_callback() argument
4775 if (!ucode_raw) { in il4965_ucode_callback()
4783 ucode_raw->size); in il4965_ucode_callback()
4786 if (ucode_raw->size < 4) { in il4965_ucode_callback()
[all …]