Searched refs:nvm_info (Results 1 – 4 of 4) sorted by relevance
686 p_hwfn->nvm_info.valid = false; in qed_mcp_nvm_wr_cmd()3086 struct qed_nvm_image_info nvm_info; in qed_mcp_nvm_info_populate() local3091 if (p_hwfn->nvm_info.valid) in qed_mcp_nvm_info_populate()3101 nvm_info.num_images = 0; in qed_mcp_nvm_info_populate()3103 p_ptt, &nvm_info.num_images); in qed_mcp_nvm_info_populate()3107 } else if (rc || !nvm_info.num_images) { in qed_mcp_nvm_info_populate()3112 nvm_info.image_att = kmalloc_array(nvm_info.num_images, in qed_mcp_nvm_info_populate()3115 if (!nvm_info.image_att) { in qed_mcp_nvm_info_populate()3121 for (i = 0; i < nvm_info.num_images; i++) { in qed_mcp_nvm_info_populate()3123 &nvm_info.image_att[i], i); in qed_mcp_nvm_info_populate()[all …]
2041 for (i = 0; i < p_hwfn->nvm_info.num_images; i++) in qed_nvm_flash_image_access()2042 if (image_type == p_hwfn->nvm_info.image_att[i].image_type) in qed_nvm_flash_image_access()2044 if (i == p_hwfn->nvm_info.num_images) { in qed_nvm_flash_image_access()2050 nvm_image.start_addr = p_hwfn->nvm_info.image_att[i].nvm_start_addr; in qed_nvm_flash_image_access()2051 nvm_image.length = p_hwfn->nvm_info.image_att[i].len; in qed_nvm_flash_image_access()
669 struct qed_nvm_image_info nvm_info; member
4423 kfree(p_hwfn->nvm_info.image_att); in qed_nvm_info_free()4424 p_hwfn->nvm_info.image_att = NULL; in qed_nvm_info_free()