18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright (c) 2018 Intel Corporation */ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#ifndef _IGC_NVM_H_ 58c2ecf20Sopenharmony_ci#define _IGC_NVM_H_ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cis32 igc_acquire_nvm(struct igc_hw *hw); 88c2ecf20Sopenharmony_civoid igc_release_nvm(struct igc_hw *hw); 98c2ecf20Sopenharmony_cis32 igc_read_mac_addr(struct igc_hw *hw); 108c2ecf20Sopenharmony_cis32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data); 118c2ecf20Sopenharmony_cis32 igc_validate_nvm_checksum(struct igc_hw *hw); 128c2ecf20Sopenharmony_cis32 igc_update_nvm_checksum(struct igc_hw *hw); 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#endif 15