Home
last modified time | relevance | path

Searched refs:nvm_size (Results 1 – 6 of 6) sorted by relevance

/drivers/thunderbolt/
Dnvm.c59 u32 val, nvm_size, hdr_size; in intel_switch_nvm_version() local
75 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() local
216 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()
/drivers/net/ethernet/intel/ice/
Dice_devlink.c1667 u32 nvm_size, left; in ice_devlink_nvm_snapshot() local
1673 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() local
1760 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 …]
Dice_nvm.c257 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()
Dice_type.h466 u32 nvm_size; /* Size of NVM bank */ member
/drivers/net/ethernet/intel/e1000e/
Dich8lan.c623 u32 nvm_size; in e1000_init_nvm_params_ich8lan() local
635 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()
/drivers/media/i2c/ccs/
Dccs-core.c1319 size_t nvm_size) in ccs_read_nvm() argument
1325 for (p = 0; p < nvm_size / (CCS_LIM_DATA_TRANSFER_IF_1_DATA_MAX_P + 1) in ccs_read_nvm()