Lines Matching defs:phy

447 	void (*update_survey)(struct mt76_phy *phy);
654 int (*set_state)(struct mt76_phy *phy, enum mt76_testmode_state state);
655 int (*set_params)(struct mt76_phy *phy, struct nlattr **tb,
657 int (*dump_stats)(struct mt76_phy *phy, struct sk_buff *msg);
768 struct mt76_phy phy; /* must be first */
870 /* per-phy stats. */
1077 void mt76_unregister_phy(struct mt76_phy *phy);
1082 int mt76_register_phy(struct mt76_phy *phy, bool vht,
1085 struct dentry *mt76_register_debugfs_fops(struct mt76_phy *phy,
1089 return mt76_register_debugfs_fops(&dev->phy, NULL);
1097 void mt76_eeprom_override(struct mt76_phy *phy);
1103 u16 mt76_calculate_default_rate(struct mt76_phy *phy,
1105 static inline int mt76_init_tx_queue(struct mt76_phy *phy, int qid, int idx,
1110 q = mt76_init_queue(phy->dev, qid, idx, n_desc, ring_base, flags);
1114 phy->q_tx[qid] = q;
1140 return &dev->phy;
1244 static inline bool mt76_testmode_enabled(struct mt76_phy *phy)
1247 return phy->test.state != MT76_TM_STATE_OFF;
1261 struct mt76_phy *phy = dev->phys[i];
1263 if (phy && skb == phy->test.tx_skb) {
1278 void mt76_stop_tx_queues(struct mt76_phy *phy, struct ieee80211_sta *sta,
1281 void mt76_txq_schedule(struct mt76_phy *phy, enum mt76_txq_id qid);
1282 void mt76_txq_schedule_all(struct mt76_phy *phy);
1290 bool mt76_has_tx_pending(struct mt76_phy *phy);
1291 void mt76_set_channel(struct mt76_phy *phy);
1292 void mt76_update_survey(struct mt76_phy *phy);
1293 void mt76_update_survey_active_time(struct mt76_phy *phy, ktime_t time);
1297 void mt76_set_stream_caps(struct mt76_phy *phy, bool vht);
1342 int mt76_get_sar_power(struct mt76_phy *phy,
1359 enum mt76_dfs_state mt76_phy_dfs_state(struct mt76_phy *phy);
1364 int mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state);
1365 int mt76_testmode_alloc_skb(struct mt76_phy *phy, u32 len);
1367 static inline void mt76_testmode_reset(struct mt76_phy *phy, bool disable)
1372 if (disable || phy->test.state == MT76_TM_STATE_OFF)
1375 mt76_testmode_set_state(phy, state);
1402 void mt76_testmode_tx_pending(struct mt76_phy *phy);
1533 s8 mt76_get_rate_power_limits(struct mt76_phy *phy,