Searched refs:nvm_image (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_main.c | 2251 struct qed_nvm_image_att *nvm_image, in qed_nvm_flash_image_access_crc() argument 2258 buf = kzalloc(nvm_image->length, GFP_KERNEL); in qed_nvm_flash_image_access_crc() 2263 rc = qed_mcp_nvm_read(cdev, nvm_image->start_addr, in qed_nvm_flash_image_access_crc() 2264 buf, nvm_image->length); in qed_nvm_flash_image_access_crc() 2274 DIV_ROUND_UP(nvm_image->length - 4, 4)); in qed_nvm_flash_image_access_crc() 2279 *crc = ~crc32(~0U, buf, nvm_image->length - 4); in qed_nvm_flash_image_access_crc() 2302 struct qed_nvm_image_att nvm_image; in qed_nvm_flash_image_access() local 2321 nvm_image.start_addr = p_hwfn->nvm_info.image_att[i].nvm_start_addr; in qed_nvm_flash_image_access() 2322 nvm_image.length = p_hwfn->nvm_info.image_att[i].len; in qed_nvm_flash_image_access() 2326 **data, image_type, nvm_image.start_addr, in qed_nvm_flash_image_access() [all …]
|
D | qed_mfw_hsi.h | 2399 #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
|