#include <linux/module.h>
#include <linux/of.h>
#include <asm/unaligned.h>
#include "mt76x2.h"
#include "eeprom.h"
#define EE_FIELD(_name, _value) …
static int
mt76x2_eeprom_get_macaddr(struct mt76x02_dev *dev)
{ … }
static bool
mt76x2_has_cal_free_data(struct mt76x02_dev *dev, u8 *efuse)
{ … }
static void
mt76x2_apply_cal_free_data(struct mt76x02_dev *dev, u8 *efuse)
{ … }
static int mt76x2_check_eeprom(struct mt76x02_dev *dev)
{ … }
static int
mt76x2_eeprom_load(struct mt76x02_dev *dev)
{ … }
static void
mt76x2_set_rx_gain_group(struct mt76x02_dev *dev, u8 val)
{ … }
static void
mt76x2_set_rssi_offset(struct mt76x02_dev *dev, int chain, u8 val)
{ … }
static enum mt76x2_cal_channel_group
mt76x2_get_cal_channel_group(int channel)
{ … }
static u8
mt76x2_get_5g_rx_gain(struct mt76x02_dev *dev, u8 channel)
{ … }
void mt76x2_read_rx_gain(struct mt76x02_dev *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
void mt76x2_get_rate_power(struct mt76x02_dev *dev, struct mt76x02_rate_power *t,
struct ieee80211_channel *chan)
{ … }
EXPORT_SYMBOL_GPL(…);
static void
mt76x2_get_power_info_2g(struct mt76x02_dev *dev,
struct mt76x2_tx_power_info *t,
struct ieee80211_channel *chan,
int chain, int offset)
{ … }
static void
mt76x2_get_power_info_5g(struct mt76x02_dev *dev,
struct mt76x2_tx_power_info *t,
struct ieee80211_channel *chan,
int chain, int offset)
{ … }
void mt76x2_get_power_info(struct mt76x02_dev *dev,
struct mt76x2_tx_power_info *t,
struct ieee80211_channel *chan)
{ … }
EXPORT_SYMBOL_GPL(…);
int mt76x2_get_temp_comp(struct mt76x02_dev *dev, struct mt76x2_temp_comp *t)
{ … }
EXPORT_SYMBOL_GPL(…);
int mt76x2_eeprom_init(struct mt76x02_dev *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;