Lines Matching refs:banks

250 	struct ice_bank_info *banks = &hw->flash.banks;  in ice_get_flash_bank_offset()  local
257 offset = banks->nvm_ptr; in ice_get_flash_bank_offset()
258 size = banks->nvm_size; in ice_get_flash_bank_offset()
259 active_bank = banks->nvm_bank; in ice_get_flash_bank_offset()
262 offset = banks->orom_ptr; in ice_get_flash_bank_offset()
263 size = banks->orom_size; in ice_get_flash_bank_offset()
264 active_bank = banks->orom_bank; in ice_get_flash_bank_offset()
267 offset = banks->netlist_ptr; in ice_get_flash_bank_offset()
268 size = banks->netlist_size; in ice_get_flash_bank_offset()
269 active_bank = banks->netlist_bank; in ice_get_flash_bank_offset()
631 for (offset = 0; (offset + 512) <= hw->flash.banks.orom_size; offset += 512) { in ice_get_orom_civd_data()
923 struct ice_bank_info *banks = &hw->flash.banks; in ice_determine_active_flash_banks() local
940 banks->nvm_bank = ICE_1ST_FLASH_BANK; in ice_determine_active_flash_banks()
942 banks->nvm_bank = ICE_2ND_FLASH_BANK; in ice_determine_active_flash_banks()
945 banks->orom_bank = ICE_1ST_FLASH_BANK; in ice_determine_active_flash_banks()
947 banks->orom_bank = ICE_2ND_FLASH_BANK; in ice_determine_active_flash_banks()
950 banks->netlist_bank = ICE_1ST_FLASH_BANK; in ice_determine_active_flash_banks()
952 banks->netlist_bank = ICE_2ND_FLASH_BANK; in ice_determine_active_flash_banks()
954 status = ice_read_sr_pointer(hw, ICE_SR_1ST_NVM_BANK_PTR, &banks->nvm_ptr); in ice_determine_active_flash_banks()
960 status = ice_read_sr_area_size(hw, ICE_SR_NVM_BANK_SIZE, &banks->nvm_size); in ice_determine_active_flash_banks()
966 status = ice_read_sr_pointer(hw, ICE_SR_1ST_OROM_BANK_PTR, &banks->orom_ptr); in ice_determine_active_flash_banks()
972 status = ice_read_sr_area_size(hw, ICE_SR_OROM_BANK_SIZE, &banks->orom_size); in ice_determine_active_flash_banks()
978 status = ice_read_sr_pointer(hw, ICE_SR_NETLIST_BANK_PTR, &banks->netlist_ptr); in ice_determine_active_flash_banks()
984 status = ice_read_sr_area_size(hw, ICE_SR_NETLIST_BANK_SIZE, &banks->netlist_size); in ice_determine_active_flash_banks()