diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/efuse.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/efuse.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/drivers/net/wireless/rtlwifi/efuse.h b/drivers/net/wireless/rtlwifi/efuse.h index 1663b3afd41e..fdab8240a5d7 100644 --- a/drivers/net/wireless/rtlwifi/efuse.h +++ b/drivers/net/wireless/rtlwifi/efuse.h | |||
@@ -11,10 +11,6 @@ | |||
11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
12 | * more details. | 12 | * more details. |
13 | * | 13 | * |
14 | * You should have received a copy of the GNU General Public License along with | ||
15 | * this program; if not, write to the Free Software Foundation, Inc., | ||
16 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA | ||
17 | * | ||
18 | * The full GNU General Public License is included in this distribution in the | 14 | * The full GNU General Public License is included in this distribution in the |
19 | * file called LICENSE. | 15 | * file called LICENSE. |
20 | * | 16 | * |
@@ -32,7 +28,6 @@ | |||
32 | 28 | ||
33 | #define EFUSE_IC_ID_OFFSET 506 | 29 | #define EFUSE_IC_ID_OFFSET 506 |
34 | 30 | ||
35 | #define EFUSE_MAP_LEN 128 | ||
36 | #define EFUSE_MAX_WORD_UNIT 4 | 31 | #define EFUSE_MAX_WORD_UNIT 4 |
37 | 32 | ||
38 | #define EFUSE_INIT_MAP 0 | 33 | #define EFUSE_INIT_MAP 0 |
@@ -107,12 +102,14 @@ struct efuse_priv { | |||
107 | void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf); | 102 | void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf); |
108 | void efuse_initialize(struct ieee80211_hw *hw); | 103 | void efuse_initialize(struct ieee80211_hw *hw); |
109 | u8 efuse_read_1byte(struct ieee80211_hw *hw, u16 address); | 104 | u8 efuse_read_1byte(struct ieee80211_hw *hw, u16 address); |
105 | int efuse_one_byte_read(struct ieee80211_hw *hw, u16 addr, u8 *data); | ||
110 | void efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value); | 106 | void efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value); |
111 | void read_efuse(struct ieee80211_hw *hw, u16 _offset, u16 _size_byte, u8 *pbuf); | 107 | void read_efuse(struct ieee80211_hw *hw, u16 _offset, |
112 | void efuse_shadow_read(struct ieee80211_hw *hw, u8 type, u16 offset, | 108 | u16 _size_byte, u8 *pbuf); |
113 | u32 *value); | 109 | void efuse_shadow_read(struct ieee80211_hw *hw, u8 type, |
114 | void efuse_shadow_write(struct ieee80211_hw *hw, u8 type, u16 offset, | 110 | u16 offset, u32 *value); |
115 | u32 value); | 111 | void efuse_shadow_write(struct ieee80211_hw *hw, u8 type, |
112 | u16 offset, u32 value); | ||
116 | bool efuse_shadow_update(struct ieee80211_hw *hw); | 113 | bool efuse_shadow_update(struct ieee80211_hw *hw); |
117 | bool efuse_shadow_update_chk(struct ieee80211_hw *hw); | 114 | bool efuse_shadow_update_chk(struct ieee80211_hw *hw); |
118 | void rtl_efuse_shadow_map_update(struct ieee80211_hw *hw); | 115 | void rtl_efuse_shadow_map_update(struct ieee80211_hw *hw); |