#include <linux/etherdevice.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/thermal.h>
#include <linux/firmware.h>
#include "mt7921.h"
#include "../mt76_connac2_mac.h"
#include "mcu.h"
static ssize_t mt7921_thermal_temp_show(struct device *dev,
struct device_attribute *attr,
char *buf)
{ … }
static SENSOR_DEVICE_ATTR_RO(temp1_input, mt7921_thermal_temp, 0);
static struct attribute *mt7921_hwmon_attrs[] = …;
ATTRIBUTE_GROUPS(…);
static int mt7921_thermal_init(struct mt792x_phy *phy)
{ … }
static void
mt7921_regd_channel_update(struct wiphy *wiphy, struct mt792x_dev *dev)
{ … }
void mt7921_regd_update(struct mt792x_dev *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
static void
mt7921_regd_notifier(struct wiphy *wiphy,
struct regulatory_request *request)
{ … }
int mt7921_mac_init(struct mt792x_dev *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
static int __mt7921_init_hardware(struct mt792x_dev *dev)
{ … }
static int mt7921_init_hardware(struct mt792x_dev *dev)
{ … }
static void mt7921_init_work(struct work_struct *work)
{ … }
int mt7921_register_device(struct mt792x_dev *dev)
{ … }
EXPORT_SYMBOL_GPL(…);