1*ab405612SSasha Neftin /* SPDX-License-Identifier: GPL-2.0 */ 2*ab405612SSasha Neftin /* Copyright (c) 2018 Intel Corporation */ 3*ab405612SSasha Neftin 4*ab405612SSasha Neftin #ifndef _IGC_NVM_H_ 5*ab405612SSasha Neftin #define _IGC_NVM_H_ 6*ab405612SSasha Neftin 7*ab405612SSasha Neftin s32 igc_acquire_nvm(struct igc_hw *hw); 8*ab405612SSasha Neftin void igc_release_nvm(struct igc_hw *hw); 9*ab405612SSasha Neftin s32 igc_read_mac_addr(struct igc_hw *hw); 10*ab405612SSasha Neftin s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data); 11*ab405612SSasha Neftin s32 igc_validate_nvm_checksum(struct igc_hw *hw); 12*ab405612SSasha Neftin s32 igc_update_nvm_checksum(struct igc_hw *hw); 13*ab405612SSasha Neftin 14*ab405612SSasha Neftin #endif 15