Lines Matching defs:dev

26 static inline bool is_mt7612(struct mt76x02_dev *dev)
28 return mt76_chip(&dev->mt76) == 0x7612;
31 static inline bool mt76x2_channel_silent(struct mt76x02_dev *dev)
33 struct ieee80211_channel *chan = dev->mphy.chandef.chan;
41 int mt76x2_register_device(struct mt76x02_dev *dev);
42 int mt76x2_resume_device(struct mt76x02_dev *dev);
46 void mt76x2_phy_power_on(struct mt76x02_dev *dev);
47 void mt76x2_stop_hardware(struct mt76x02_dev *dev);
48 int mt76x2_eeprom_init(struct mt76x02_dev *dev);
49 int mt76x2_apply_calibration_data(struct mt76x02_dev *dev, int channel);
51 void mt76x2_phy_set_antenna(struct mt76x02_dev *dev);
52 int mt76x2_phy_start(struct mt76x02_dev *dev);
53 int mt76x2_phy_set_channel(struct mt76x02_dev *dev,
56 void mt76x2_phy_set_txpower(struct mt76x02_dev *dev);
58 int mt76x2_mcu_init(struct mt76x02_dev *dev);
59 int mt76x2_mcu_set_channel(struct mt76x02_dev *dev, u8 channel, u8 bw,
61 int mt76x2_mcu_load_cr(struct mt76x02_dev *dev, u8 type, u8 temp_level,
64 void mt76x2_cleanup(struct mt76x02_dev *dev);
66 int mt76x2_mac_reset(struct mt76x02_dev *dev, bool hard);
67 void mt76x2_reset_wlan(struct mt76x02_dev *dev, bool enable);
68 void mt76x2_init_txpower(struct mt76x02_dev *dev,
70 void mt76_write_mac_initvals(struct mt76x02_dev *dev);
72 void mt76x2_phy_tssi_compensate(struct mt76x02_dev *dev);
73 void mt76x2_phy_set_txpower_regs(struct mt76x02_dev *dev,
75 void mt76x2_configure_tx_delay(struct mt76x02_dev *dev,
77 void mt76x2_apply_gain_adj(struct mt76x02_dev *dev);
78 void mt76x2_phy_update_channel_gain(struct mt76x02_dev *dev);