Searched refs:image_att (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_selftest.c | 126 struct bist_nvm_image_att image_att; in ecore_selftest_nvram() local 149 &image_att, i); in ecore_selftest_nvram() 160 if (image_att.image_type == NVM_TYPE_MDUMP) in ecore_selftest_nvram() 164 image_att.len); in ecore_selftest_nvram() 167 buf = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, image_att.len); in ecore_selftest_nvram() 177 rc = ecore_mcp_nvm_read(p_hwfn->p_dev, image_att.nvm_start_addr, in ecore_selftest_nvram() 178 buf, image_att.len); in ecore_selftest_nvram() 188 for (j = 0; j < image_att.len - 4; j += 4) { in ecore_selftest_nvram() 196 nvm_crc = *(u32 *)(buf + image_att.len - 4); in ecore_selftest_nvram() 197 calc_crc = OSAL_CRC32(0xffffffff , buf, image_att.len - 4); in ecore_selftest_nvram()
|
H A D | ecore_mcp.c | 3439 struct ecore_nvm_image_att image_att; in ecore_mcp_get_nvm_image() local 3444 rc = ecore_mcp_get_nvm_image_att(p_hwfn, p_ptt, image_id, &image_att); in ecore_mcp_get_nvm_image() 3449 if (image_att.length <= 4) { in ecore_mcp_get_nvm_image() 3452 image_id, image_att.length); in ecore_mcp_get_nvm_image() 3457 image_att.length -= 4; in ecore_mcp_get_nvm_image() 3459 if (image_att.length > buffer_len) { in ecore_mcp_get_nvm_image() 3462 image_id, image_att.length, buffer_len); in ecore_mcp_get_nvm_image() 3466 return ecore_mcp_nvm_read(p_hwfn->p_dev, image_att.start_addr, in ecore_mcp_get_nvm_image() 3467 p_buffer, image_att.length); in ecore_mcp_get_nvm_image()
|