ice_read_flash_module(9)
π§ NAME π§
okay so bestie, this page is ice_read_flash_module(9) from the Kernel API Manual, and its whole thing is: read a word from one of the main NVM modules. lowkey iconic, no cap.
β¨ SYNOPSIS β¨
int ice_read_flash_module (struct ice_hw *hw , enum ice_bank_select bank
, u16 module , u32 offset , u8 *data , u32 length );
π ARGUMENTS π
hwβ pointer to the HW structure. that's the main-character struct we're working with πbankβ which bank of the module to read. yes, the bank bank π¦β¨moduleβ the module to read. literally the module, bestie.offsetβ the offset into the module in bytes. precise queen behavior π₯dataβ storage for the word read from the flash. this is where the read word lands π«Άlengthβ bytes of data to read. how many bytes we're pulling, periodt.
π DESCRIPTION π
Read data from the specified flash module. The bank parameter indicates whether or not to read from the active bank or the inactive bank of that module.
The word will be read using flat NVM access, and it relies on the hw->flash.banks data being setup by ice_determine_active_flash_banks during initialization. so yeah, that setup is part of the whole situation β no cap π§β¨
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/ice/ice_nvm.c ice_aq_read_nvm(9),ice_read_flat_nvm(9),ice_aq_update_nvm(9),ice_aq_erase_nvm(9),ice_read_sr_word(9),ice_acquire_nvm(9),ice_release_nvm(9),ice_get_flash_bank_offset(9),ice_read_nvm_module(9),ice_read_nvm_sr_copy(9),ice_read_netlist_module(9),ice_get_pfa_module_tlv(9),ice_read_pba_string(9),ice_get_nvm_ver_info(9),ice_get_inactive_nvm_ver(9),ice_get_orom_civd_data(9),ice_get_orom_ver_info(9),ice_get_inactive_orom_ver(9),ice_get_netlist_info(9),ice_get_inactive_netlist_ver(9),ice_discover_flash_size(9),ice_read_sr_pointer(9),ice_read_sr_area_size(9),ice_determine_active_flash_banks(9),ice_get_nvm_css_hdr_len(9),ice_determine_css_hdr_len(9),ice_init_nvm(9),ice_nvm_validate_checksum(9),ice_nvm_write_activate(9),ice_aq_nvm_update_empr(9)
cute sign-off for the source/version + date:./drivers/net/ethernet/intel/ice, October 2026 β pageice_read_flash_module(9). stay hydrated and stay sliving, bestie π«ΆππΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms