162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* Copyright (c) 2018 Intel Corporation */ 362306a36Sopenharmony_ci 462306a36Sopenharmony_ci#ifndef _IGC_NVM_H_ 562306a36Sopenharmony_ci#define _IGC_NVM_H_ 662306a36Sopenharmony_ci 762306a36Sopenharmony_cis32 igc_acquire_nvm(struct igc_hw *hw); 862306a36Sopenharmony_civoid igc_release_nvm(struct igc_hw *hw); 962306a36Sopenharmony_cis32 igc_read_mac_addr(struct igc_hw *hw); 1062306a36Sopenharmony_cis32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data); 1162306a36Sopenharmony_cis32 igc_validate_nvm_checksum(struct igc_hw *hw); 1262306a36Sopenharmony_cis32 igc_update_nvm_checksum(struct igc_hw *hw); 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#endif 15