ice_read_sr_word(9)
π ice_read_sr_word(9) π
okay so bestie, welcome to the Kernel API Manual page for ice_read_sr_word(9) β yes, the (9) is the kernel-section moment, and this whole page is about reading a Shadow RAM word. letβs get into it β¨
β¨ NAME β¨
ice_read_sr_word β Reads Shadow RAM word π«Ά
πΈ SYNOPSIS πΈ
int ice_read_sr_word (struct ice_hw *hw , u16 offset , u16 *data );
π ARGUMENTS π
hwβ pointer to the HW structure. iconic hardware pointer behavioroffsetβ offset of the Shadow RAM word to read (0x000000-0x001FFF). thatβs the range, bestiedataβ word read from the Shadow RAM. the word ends up here
π¦ DESCRIPTION π¦
okay so this Reads one 16 bit word from the Shadow RAM using ice_read_flat_nvm. thatβs the whole assignment. π
the NVM lock is acquired and released internally by ice_read_flat_nvm around the FW read, so this function must be called without the lock held. do not show up with your own lock, bestie π
π¨ important: call this function without the lock held β the NVM lock is acquired and released internally by ice_read_flat_nvm around the FW read. no cap.
β RETURN β
zero on success, or a negative error code on failure. thatβs the return situation, periodt. π
π 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_acquire_nvm(9)ice_release_nvm(9)ice_get_flash_bank_offset(9)ice_read_flash_module(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)
xoxo, your Unix bestie π
β¨ β source/version: ./drivers/net/ethernet/intel/ice; date: October 2026; page: ice_read_sr_word(9). catch u later π«Ά
π¦ 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