ice_read_flash_module(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🧚 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 🌈


cute sign-off for the source/version + date: ./drivers/net/ethernet/intel/ice, October 2026 β€” page ice_read_flash_module(9). stay hydrated and stay sliving, bestie πŸ«ΆπŸ’–πŸŒΈ
πŸ“¦ where this page comes from