Searched refs:nvm_info (Results 1 – 4 of 4) sorted by relevance
690 p_hwfn->nvm_info.valid = false; in qed_mcp_nvm_wr_cmd()3357 if (p_hwfn->nvm_info.valid) in qed_mcp_nvm_info_populate()3367 nvm_info.num_images = 0; in qed_mcp_nvm_info_populate()3378 nvm_info.image_att = kmalloc_array(nvm_info.num_images, in qed_mcp_nvm_info_populate()3381 if (!nvm_info.image_att) { in qed_mcp_nvm_info_populate()3401 if (nvm_info.num_images) { in qed_mcp_nvm_info_populate()3402 p_hwfn->nvm_info.num_images = nvm_info.num_images; in qed_mcp_nvm_info_populate()3404 p_hwfn->nvm_info.image_att = nvm_info.image_att; in qed_mcp_nvm_info_populate()3405 p_hwfn->nvm_info.valid = true; in qed_mcp_nvm_info_populate()3412 kfree(nvm_info.image_att); in qed_mcp_nvm_info_populate()[all …]
2313 for (i = 0; i < p_hwfn->nvm_info.num_images; i++) in qed_nvm_flash_image_access()2314 if (image_type == p_hwfn->nvm_info.image_att[i].image_type) in qed_nvm_flash_image_access()2316 if (i == p_hwfn->nvm_info.num_images) { in qed_nvm_flash_image_access()2322 nvm_image.start_addr = p_hwfn->nvm_info.image_att[i].nvm_start_addr; in qed_nvm_flash_image_access()2323 nvm_image.length = p_hwfn->nvm_info.image_att[i].len; in qed_nvm_flash_image_access()
644 struct qed_nvm_image_info nvm_info; member
8075 struct hwrm_nvm_get_dev_info_output nvm_info; in bnxt_nvm_cfg_ver_get() local8077 if (!bnxt_hwrm_nvm_get_dev_info(bp, &nvm_info)) in bnxt_nvm_cfg_ver_get()8079 nvm_info.nvm_cfg_ver_maj, nvm_info.nvm_cfg_ver_min, in bnxt_nvm_cfg_ver_get()8080 nvm_info.nvm_cfg_ver_upd); in bnxt_nvm_cfg_ver_get()