Lines Matching refs:image_att
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()
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()
3474 p_image_att->start_addr = p_hwfn->nvm_info.image_att[i].nvm_start_addr; in qed_mcp_get_nvm_image_att()
3475 p_image_att->length = p_hwfn->nvm_info.image_att[i].len; in qed_mcp_get_nvm_image_att()
3484 struct qed_nvm_image_att image_att; in qed_mcp_get_nvm_image() local
3489 rc = qed_mcp_get_nvm_image_att(p_hwfn, image_id, &image_att); in qed_mcp_get_nvm_image()
3494 if (image_att.length <= 4) { in qed_mcp_get_nvm_image()
3497 image_id, image_att.length); in qed_mcp_get_nvm_image()
3501 if (image_att.length > buffer_len) { in qed_mcp_get_nvm_image()
3505 image_id, image_att.length, buffer_len); in qed_mcp_get_nvm_image()
3509 return qed_mcp_nvm_read(p_hwfn->cdev, image_att.start_addr, in qed_mcp_get_nvm_image()
3510 p_buffer, image_att.length); in qed_mcp_get_nvm_image()