Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/ice/
Dice_devlink.c664 u32 nvm_size; in ice_devlink_nvm_snapshot() local
666 nvm_size = hw->flash.flash_size; in ice_devlink_nvm_snapshot()
667 nvm_data = vzalloc(nvm_size); in ice_devlink_nvm_snapshot()
680 status = ice_read_flat_nvm(hw, 0, &nvm_size, nvm_data, false); in ice_devlink_nvm_snapshot()
683 nvm_size, status, hw->adminq.sq_last_status); in ice_devlink_nvm_snapshot()
764 u64 nvm_size; in ice_devlink_init_regions() local
766 nvm_size = pf->hw.flash.flash_size; in ice_devlink_init_regions()
768 nvm_size); in ice_devlink_init_regions()
Dice_nvm.c258 size = banks->nvm_size; in ice_get_flash_bank_offset()
960 status = ice_read_sr_area_size(hw, ICE_SR_NVM_BANK_SIZE, &banks->nvm_size); in ice_determine_active_flash_banks()
Dice_type.h428 u32 nvm_size; /* Size of NVM bank */ member
/drivers/thunderbolt/
Dretimer.c62 u32 val, nvm_size; in tb_retimer_nvm_add() local
82 nvm_size = (SZ_1M << (val & 7)) / 8; in tb_retimer_nvm_add()
83 nvm_size = (nvm_size - SZ_16K) / 2; in tb_retimer_nvm_add()
85 ret = tb_nvm_add_active(nvm, nvm_size, tb_retimer_nvm_read); in tb_retimer_nvm_add()
Dswitch.c411 u32 nvm_size, hdr_size; in tb_switch_nvm_add() local
418 nvm_size = (SZ_1M << (val & 7)) / 8; in tb_switch_nvm_add()
419 nvm_size = (nvm_size - hdr_size) / 2; in tb_switch_nvm_add()
428 ret = tb_nvm_add_active(nvm, nvm_size, tb_switch_nvm_read); in tb_switch_nvm_add()
/drivers/net/ethernet/intel/e1000e/
Dich8lan.c600 u32 nvm_size; in e1000_init_nvm_params_ich8lan() local
612 nvm_size = (((er32(STRAP) >> 1) & 0x1F) + 1) in e1000_init_nvm_params_ich8lan()
614 nvm->flash_bank_size = nvm_size / 2; in e1000_init_nvm_params_ich8lan()
/drivers/media/i2c/ccs/
Dccs-core.c1314 size_t nvm_size) in ccs_read_nvm() argument
1320 for (p = 0; p < nvm_size / (CCS_LIM_DATA_TRANSFER_IF_1_DATA_MAX_P + 1) in ccs_read_nvm()