Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A Dqed_main.c2281 struct qed_nvm_image_att *nvm_image, in qed_nvm_flash_image_access_crc() argument
2288 buf = kzalloc(nvm_image->length, GFP_KERNEL); in qed_nvm_flash_image_access_crc()
2293 rc = qed_mcp_nvm_read(cdev, nvm_image->start_addr, in qed_nvm_flash_image_access_crc()
2294 buf, nvm_image->length); in qed_nvm_flash_image_access_crc()
2304 DIV_ROUND_UP(nvm_image->length - 4, 4)); in qed_nvm_flash_image_access_crc()
2309 *crc = ~crc32(~0U, buf, nvm_image->length - 4); in qed_nvm_flash_image_access_crc()
2332 struct qed_nvm_image_att nvm_image; in qed_nvm_flash_image_access() local
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()
2356 **data, image_type, nvm_image.start_addr, in qed_nvm_flash_image_access()
[all …]