Home
last modified time | relevance | path

Searched refs:nvm_info (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c690 p_hwfn->nvm_info.valid = false; in qed_mcp_nvm_wr_cmd()
3352 struct qed_nvm_image_info nvm_info; in qed_mcp_nvm_info_populate() local
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()
3369 p_ptt, &nvm_info.num_images); in qed_mcp_nvm_info_populate()
3373 } else if (rc || !nvm_info.num_images) { 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()
3387 for (i = 0; i < nvm_info.num_images; i++) { in qed_mcp_nvm_info_populate()
3389 &nvm_info.image_att[i], i); in qed_mcp_nvm_info_populate()
[all …]
Dqed_main.c2312 for (i = 0; i < p_hwfn->nvm_info.num_images; i++) in qed_nvm_flash_image_access()
2313 if (image_type == p_hwfn->nvm_info.image_att[i].image_type) in qed_nvm_flash_image_access()
2315 if (i == p_hwfn->nvm_info.num_images) { in qed_nvm_flash_image_access()
2321 nvm_image.start_addr = p_hwfn->nvm_info.image_att[i].nvm_start_addr; in qed_nvm_flash_image_access()
2322 nvm_image.length = p_hwfn->nvm_info.image_att[i].len; in qed_nvm_flash_image_access()
Dqed.h644 struct qed_nvm_image_info nvm_info; member
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c9555 struct hwrm_nvm_get_dev_info_output nvm_info; in bnxt_nvm_cfg_ver_get() local
9557 if (!bnxt_hwrm_nvm_get_dev_info(bp, &nvm_info)) in bnxt_nvm_cfg_ver_get()
9559 nvm_info.nvm_cfg_ver_maj, nvm_info.nvm_cfg_ver_min, in bnxt_nvm_cfg_ver_get()
9560 nvm_info.nvm_cfg_ver_upd); in bnxt_nvm_cfg_ver_get()