1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22#ifndef _E1000E_NVM_H_
23#define _E1000E_NVM_H_
24
25s32 e1000e_acquire_nvm(struct e1000_hw *hw);
26
27s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg);
28s32 e1000_read_mac_addr_generic(struct e1000_hw *hw);
29s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
30 u32 pba_num_size);
31s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
32s32 e1000e_valid_led_default(struct e1000_hw *hw, u16 *data);
33s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw);
34s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
35s32 e1000e_update_nvm_checksum_generic(struct e1000_hw *hw);
36void e1000e_release_nvm(struct e1000_hw *hw);
37
38#define E1000_STM_OPCODE 0xDB00
39
40#endif
41