Searched refs:image_att (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_selftest.c | 91 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()
|
A D | qed_mcp.c | 3319 if (!nvm_info.image_att) { in qed_mcp_nvm_info_populate() 3335 nvm_info.image_att[i].len); in qed_mcp_nvm_info_populate() 3341 kfree(p_hwfn->nvm_info.image_att); in qed_mcp_nvm_info_populate() 3342 p_hwfn->nvm_info.image_att = nvm_info.image_att; in qed_mcp_nvm_info_populate() 3350 kfree(nvm_info.image_att); in qed_mcp_nvm_info_populate() 3358 kfree(p_hwfn->nvm_info.image_att); in qed_mcp_nvm_info_free() 3359 p_hwfn->nvm_info.image_att = NULL; in qed_mcp_nvm_info_free() 3422 struct qed_nvm_image_att image_att; in qed_mcp_get_nvm_image() local 3432 if (image_att.length <= 4) { in qed_mcp_get_nvm_image() 3435 image_id, image_att.length); in qed_mcp_get_nvm_image() [all …]
|
A D | qed.h | 492 struct bist_nvm_image_att *image_att; member
|
A D | qed_main.c | 2343 if (image_type == p_hwfn->nvm_info.image_att[i].image_type) in qed_nvm_flash_image_access() 2351 nvm_image.start_addr = p_hwfn->nvm_info.image_att[i].nvm_start_addr; in qed_nvm_flash_image_access() 2352 nvm_image.length = p_hwfn->nvm_info.image_att[i].len; in qed_nvm_flash_image_access()
|
A D | qed_debug.c | 8126 struct qed_nvm_image_att image_att; in qed_dbg_nvm_image_length() local 8130 rc = qed_mcp_get_nvm_image_att(p_hwfn, image_id, &image_att); in qed_dbg_nvm_image_length() 8134 *length = image_att.length; in qed_dbg_nvm_image_length()
|
Completed in 41 milliseconds