Lines Matching refs:banks

249 	struct ice_bank_info *banks = &hw->flash.banks;  in ice_get_flash_bank_offset()  local
256 offset = banks->nvm_ptr; in ice_get_flash_bank_offset()
257 size = banks->nvm_size; in ice_get_flash_bank_offset()
258 active_bank = banks->nvm_bank; in ice_get_flash_bank_offset()
261 offset = banks->orom_ptr; in ice_get_flash_bank_offset()
262 size = banks->orom_size; in ice_get_flash_bank_offset()
263 active_bank = banks->orom_bank; in ice_get_flash_bank_offset()
266 offset = banks->netlist_ptr; in ice_get_flash_bank_offset()
267 size = banks->netlist_size; in ice_get_flash_bank_offset()
268 active_bank = banks->netlist_bank; in ice_get_flash_bank_offset()
637 orom_data = vzalloc(hw->flash.banks.orom_size); in ice_get_orom_civd_data()
642 orom_data, hw->flash.banks.orom_size); in ice_get_orom_civd_data()
650 for (offset = 0; (offset + 512) <= hw->flash.banks.orom_size; offset += 512) { in ice_get_orom_civd_data()
942 struct ice_bank_info *banks = &hw->flash.banks; in ice_determine_active_flash_banks() local
959 banks->nvm_bank = ICE_1ST_FLASH_BANK; in ice_determine_active_flash_banks()
961 banks->nvm_bank = ICE_2ND_FLASH_BANK; in ice_determine_active_flash_banks()
964 banks->orom_bank = ICE_1ST_FLASH_BANK; in ice_determine_active_flash_banks()
966 banks->orom_bank = ICE_2ND_FLASH_BANK; in ice_determine_active_flash_banks()
969 banks->netlist_bank = ICE_1ST_FLASH_BANK; in ice_determine_active_flash_banks()
971 banks->netlist_bank = ICE_2ND_FLASH_BANK; in ice_determine_active_flash_banks()
973 status = ice_read_sr_pointer(hw, ICE_SR_1ST_NVM_BANK_PTR, &banks->nvm_ptr); in ice_determine_active_flash_banks()
979 status = ice_read_sr_area_size(hw, ICE_SR_NVM_BANK_SIZE, &banks->nvm_size); in ice_determine_active_flash_banks()
985 status = ice_read_sr_pointer(hw, ICE_SR_1ST_OROM_BANK_PTR, &banks->orom_ptr); in ice_determine_active_flash_banks()
991 status = ice_read_sr_area_size(hw, ICE_SR_OROM_BANK_SIZE, &banks->orom_size); in ice_determine_active_flash_banks()
997 status = ice_read_sr_pointer(hw, ICE_SR_NETLIST_BANK_PTR, &banks->netlist_ptr); in ice_determine_active_flash_banks()
1003 status = ice_read_sr_area_size(hw, ICE_SR_NETLIST_BANK_SIZE, &banks->netlist_size); in ice_determine_active_flash_banks()