Searched refs:fw_desc (Results 1 – 6 of 6) sorted by relevance
89 const struct efi_embedded_fw_desc *fw_desc; in efi_check_for_embedded_firmwares() local99 fw_desc = dmi_id->driver_data; in efi_check_for_embedded_firmwares()106 if (!fw_desc->name) in efi_check_for_embedded_firmwares()113 r = efi_check_md_for_embedded_firmware(md, fw_desc); in efi_check_for_embedded_firmwares()
2079 struct lkd_fw_comms_desc *fw_desc) in hl_fw_dynamic_validate_descriptor() argument2089 if (le32_to_cpu(fw_desc->header.magic) != HL_COMMS_DESC_MAGIC) in hl_fw_dynamic_validate_descriptor()2091 fw_desc->header.magic); in hl_fw_dynamic_validate_descriptor()2093 if (fw_desc->header.version != HL_COMMS_DESC_VER) in hl_fw_dynamic_validate_descriptor()2095 fw_desc->header.version); in hl_fw_dynamic_validate_descriptor()2104 data_ptr = (u8 *)fw_desc + sizeof(struct comms_msg_header); in hl_fw_dynamic_validate_descriptor()2105 data_size = le16_to_cpu(fw_desc->header.size); in hl_fw_dynamic_validate_descriptor()2108 if (data_crc32 != le32_to_cpu(fw_desc->header.crc32)) { in hl_fw_dynamic_validate_descriptor()2110 data_crc32, fw_desc->header.crc32); in hl_fw_dynamic_validate_descriptor()2115 addr = le64_to_cpu(fw_desc->img_addr); in hl_fw_dynamic_validate_descriptor()[all …]
396 const struct carl9170fw_desc_head *fw_desc = NULL; in carl9170_parse_firmware() local404 fw_desc = carl9170_find_fw_desc(ar, fw->data, fw->size); in carl9170_parse_firmware()406 if (!fw_desc) { in carl9170_parse_firmware()411 header_offset = (unsigned long)fw_desc - (unsigned long)fw->data; in carl9170_parse_firmware()413 err = carl9170_fw_verify_descs(ar, fw_desc, fw->size - header_offset); in carl9170_parse_firmware()419 ar->fw.desc = fw_desc; in carl9170_parse_firmware()
235 #define carl9170fw_for_each_hdr(desc, fw_desc) \ argument236 for (desc = fw_desc; \
2414 if (!(rx->fw_desc.flags & FW_RX_DESC_FLAGS_FIRST_MSDU)) in ath10k_htt_rx_pn_check_replay_hl()2463 struct fw_rx_desc_hl *fw_desc; in ath10k_htt_rx_proc_rx_ind_hl() local2493 fw_desc = &rx->fw_desc; in ath10k_htt_rx_proc_rx_ind_hl()2494 rx_desc_len = fw_desc->len; in ath10k_htt_rx_proc_rx_ind_hl()2496 if (fw_desc->u.bits.discard) { in ath10k_htt_rx_proc_rx_ind_hl()2528 first_msdu = rx->fw_desc.flags & FW_RX_DESC_FLAGS_FIRST_MSDU; in ath10k_htt_rx_proc_rx_ind_hl()2546 sizeof(rx->fw_desc) + in ath10k_htt_rx_proc_rx_ind_hl()2581 if (rx->fw_desc.flags & FW_RX_DESC_FLAGS_LAST_MSDU) in ath10k_htt_rx_proc_rx_ind_hl()2799 sizeof(rx_hl->fw_desc) + in ath10k_htt_rx_proc_rx_frag_ind_hl()2806 hdr = (struct ieee80211_hdr *)((u8 *)rx_desc + rx_hl->fw_desc.len); in ath10k_htt_rx_proc_rx_frag_ind_hl()[all …]
109 static void iwl_free_fw_desc(struct iwl_drv *drv, struct fw_desc *desc) in iwl_free_fw_desc()151 static int iwl_alloc_fw_desc(struct fw_desc *desc, struct fw_sec *sec) in iwl_alloc_fw_desc()1506 struct fw_desc *sec; in iwl_alloc_ucode_mem()