Home
last modified time | relevance | path

Searched refs:image_att (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_selftest.c91 struct bist_nvm_image_att image_att; in qed_selftest_nvram() local
115 &image_att, i); in qed_selftest_nvram()
126 if (image_att.image_type == NVM_TYPE_MDUMP) in qed_selftest_nvram()
130 i, image_att.len); in qed_selftest_nvram()
133 buf = kzalloc(image_att.len, GFP_KERNEL); in qed_selftest_nvram()
140 rc = qed_mcp_nvm_read(p_hwfn->cdev, image_att.nvm_start_addr, in qed_selftest_nvram()
141 buf, image_att.len); in qed_selftest_nvram()
151 for (j = 0; j < image_att.len - 4; j += 4) { in qed_selftest_nvram()
159 nvm_crc = *(u32 *)(buf + image_att.len - 4); in qed_selftest_nvram()
160 calc_crc = crc32(0xffffffff, buf, image_att.len - 4); in qed_selftest_nvram()
Dqed_mcp.c3378 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()
3389 &nvm_info.image_att[i], i); in qed_mcp_nvm_info_populate()
3397 nvm_info.image_att[i].len); in qed_mcp_nvm_info_populate()
3403 kfree(p_hwfn->nvm_info.image_att); in qed_mcp_nvm_info_populate()
3404 p_hwfn->nvm_info.image_att = nvm_info.image_att; in qed_mcp_nvm_info_populate()
3412 kfree(nvm_info.image_att); in qed_mcp_nvm_info_populate()
3420 kfree(p_hwfn->nvm_info.image_att); in qed_mcp_nvm_info_free()
3421 p_hwfn->nvm_info.image_att = NULL; in qed_mcp_nvm_info_free()
3465 if (type == p_hwfn->nvm_info.image_att[i].image_type) in qed_mcp_get_nvm_image_att()
[all …]
Dqed.h492 struct bist_nvm_image_att *image_att; member
Dqed_main.c2313 if (image_type == p_hwfn->nvm_info.image_att[i].image_type) 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_debug.c8138 struct qed_nvm_image_att image_att; in qed_dbg_nvm_image_length() local
8142 rc = qed_mcp_get_nvm_image_att(p_hwfn, image_id, &image_att); in qed_dbg_nvm_image_length()
8146 *length = image_att.length; in qed_dbg_nvm_image_length()