Searched refs:nvm_size (Results 1 – 6 of 6) sorted by relevance
59 u32 val, nvm_size, hdr_size; in intel_switch_nvm_version() local75 nvm_size = (SZ_1M << (val & 7)) / 8; in intel_switch_nvm_version()76 nvm_size = (nvm_size - hdr_size) / 2; in intel_switch_nvm_version()84 nvm->active_size = nvm_size; in intel_switch_nvm_version()202 u32 val, nvm_size; in intel_retimer_nvm_version() local216 nvm_size = (SZ_1M << (val & 7)) / 8; in intel_retimer_nvm_version()217 nvm_size = (nvm_size - SZ_16K) / 2; in intel_retimer_nvm_version()218 nvm->active_size = nvm_size; in intel_retimer_nvm_version()
1667 u32 nvm_size, left; in ice_devlink_nvm_snapshot() local1673 nvm_size = hw->flash.flash_size; in ice_devlink_nvm_snapshot()1676 nvm_size = hw->flash.sr_words * 2u; in ice_devlink_nvm_snapshot()1682 nvm_data = vzalloc(nvm_size); in ice_devlink_nvm_snapshot()1686 num_blks = DIV_ROUND_UP(nvm_size, ICE_DEVLINK_READ_BLK_SIZE); in ice_devlink_nvm_snapshot()1688 left = nvm_size; in ice_devlink_nvm_snapshot()1755 u64 nvm_size; in ice_devlink_nvm_read() local1760 nvm_size = hw->flash.flash_size; in ice_devlink_nvm_read()1763 nvm_size = hw->flash.sr_words * 2u; in ice_devlink_nvm_read()1769 if (offset + size >= nvm_size) { in ice_devlink_nvm_read()[all …]
257 size = banks->nvm_size; in ice_get_flash_bank_offset()993 status = ice_read_sr_area_size(hw, ICE_SR_NVM_BANK_SIZE, &banks->nvm_size); in ice_determine_active_flash_banks()
466 u32 nvm_size; /* Size of NVM bank */ member
623 u32 nvm_size; in e1000_init_nvm_params_ich8lan() local635 nvm_size = (((er32(STRAP) >> 1) & 0x1F) + 1) in e1000_init_nvm_params_ich8lan()637 nvm->flash_bank_size = nvm_size / 2; in e1000_init_nvm_params_ich8lan()
1319 size_t nvm_size) in ccs_read_nvm() argument1325 for (p = 0; p < nvm_size / (CCS_LIM_DATA_TRANSFER_IF_1_DATA_MAX_P + 1) in ccs_read_nvm()