Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qed/
Dqed_main.c2262 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()
[all …]
Dqed_mfw_hsi.h2399 #define GET_NVM_FIXED_AREA_SIZE(is_asic, is_e4) (sizeof(struct nvm_image) + \
2408 struct nvm_image { struct
2415 #define NVM_OFFSET(f) ((u32_t)((int_ptr_t)(&(((struct nvm_image *)0)->(f))))) argument