• Home
  • Raw
  • Download

Lines Matching refs:nvm_image

2262 					  struct qed_nvm_image_att *nvm_image,  in qed_nvm_flash_image_access_crc()  argument
2269 buf = kzalloc(nvm_image->length, GFP_KERNEL); in qed_nvm_flash_image_access_crc()
2274 rc = qed_mcp_nvm_read(cdev, nvm_image->start_addr, in qed_nvm_flash_image_access_crc()
2275 buf, nvm_image->length); in qed_nvm_flash_image_access_crc()
2285 DIV_ROUND_UP(nvm_image->length - 4, 4)); in qed_nvm_flash_image_access_crc()
2290 *crc = ~crc32(~0U, buf, nvm_image->length - 4); in qed_nvm_flash_image_access_crc()
2313 struct qed_nvm_image_att nvm_image; in qed_nvm_flash_image_access() local
2332 nvm_image.start_addr = p_hwfn->nvm_info.image_att[i].nvm_start_addr; in qed_nvm_flash_image_access()
2333 nvm_image.length = p_hwfn->nvm_info.image_att[i].len; in qed_nvm_flash_image_access()
2337 **data, image_type, nvm_image.start_addr, in qed_nvm_flash_image_access()
2338 nvm_image.start_addr + nvm_image.length - 1); in qed_nvm_flash_image_access()
2347 rc = qed_nvm_flash_image_access_crc(cdev, &nvm_image, &crc); in qed_nvm_flash_image_access()
2354 (nvm_image.start_addr + in qed_nvm_flash_image_access()
2355 nvm_image.length - 4), (u8 *)&crc, 4); in qed_nvm_flash_image_access()
2358 nvm_image.start_addr + nvm_image.length - 4, rc); in qed_nvm_flash_image_access()
2374 rc = qed_mcp_nvm_read(cdev, nvm_image.start_addr + offset, buf, in qed_nvm_flash_image_access()
2378 nvm_image.start_addr + offset); in qed_nvm_flash_image_access()
2385 nvm_image.start_addr + offset, cur_value, in qed_nvm_flash_image_access()
2389 nvm_image.start_addr + offset, in qed_nvm_flash_image_access()
2393 nvm_image.start_addr + offset); in qed_nvm_flash_image_access()