Lines Matching refs:mt7601u_dev
68 struct mt7601u_dev *dev;
84 struct mt7601u_dev *dev;
152 struct mt7601u_dev { struct
281 void mt7601u_init_debugfs(struct mt7601u_dev *dev);
283 u32 mt7601u_rr(struct mt7601u_dev *dev, u32 offset);
284 void mt7601u_wr(struct mt7601u_dev *dev, u32 offset, u32 val);
285 u32 mt7601u_rmw(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val);
286 u32 mt7601u_rmc(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val);
287 void mt7601u_wr_copy(struct mt7601u_dev *dev, u32 offset,
290 int mt7601u_wait_asic_ready(struct mt7601u_dev *dev);
291 bool mt76_poll(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val,
293 bool mt76_poll_msec(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val,
300 static inline u32 mt76_rr(struct mt7601u_dev *dev, u32 offset) in mt76_rr()
305 static inline void mt76_wr(struct mt7601u_dev *dev, u32 offset, u32 val) in mt76_wr()
311 mt76_rmw(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt76_rmw()
316 static inline u32 mt76_set(struct mt7601u_dev *dev, u32 offset, u32 val) in mt76_set()
321 static inline u32 mt76_clear(struct mt7601u_dev *dev, u32 offset, u32 val) in mt76_clear()
326 int mt7601u_write_reg_pairs(struct mt7601u_dev *dev, u32 base,
328 int mt7601u_burst_write_regs(struct mt7601u_dev *dev, u32 offset,
330 void mt7601u_addr_wr(struct mt7601u_dev *dev, const u32 offset, const u8 *addr);
333 struct mt7601u_dev *mt7601u_alloc_device(struct device *dev);
334 int mt7601u_init_hardware(struct mt7601u_dev *dev);
335 int mt7601u_register_device(struct mt7601u_dev *dev);
336 void mt7601u_cleanup(struct mt7601u_dev *dev);
338 int mt7601u_mac_start(struct mt7601u_dev *dev);
339 void mt7601u_mac_stop(struct mt7601u_dev *dev);
342 int mt7601u_phy_init(struct mt7601u_dev *dev);
343 int mt7601u_wait_bbp_ready(struct mt7601u_dev *dev);
344 void mt7601u_set_rx_path(struct mt7601u_dev *dev, u8 path);
345 void mt7601u_set_tx_dac(struct mt7601u_dev *dev, u8 path);
346 int mt7601u_bbp_set_bw(struct mt7601u_dev *dev, int bw);
347 void mt7601u_agc_save(struct mt7601u_dev *dev);
348 void mt7601u_agc_restore(struct mt7601u_dev *dev);
349 int mt7601u_phy_set_channel(struct mt7601u_dev *dev,
351 void mt7601u_phy_recalibrate_after_assoc(struct mt7601u_dev *dev);
352 int mt7601u_phy_get_rssi(struct mt7601u_dev *dev,
354 void mt7601u_phy_con_cal_onoff(struct mt7601u_dev *dev,
359 void mt7601u_mac_set_protection(struct mt7601u_dev *dev, bool legacy_prot,
361 void mt7601u_mac_set_short_preamble(struct mt7601u_dev *dev, bool short_preamb);
362 void mt7601u_mac_config_tsf(struct mt7601u_dev *dev, bool enable, int interval);
364 mt7601u_mac_wcid_setup(struct mt7601u_dev *dev, u8 idx, u8 vif_idx, u8 *mac);
365 void mt7601u_mac_set_ampdu_factor(struct mt7601u_dev *dev);
373 void mt7601u_tx_status(struct mt7601u_dev *dev, struct sk_buff *skb);
380 u32 mt7601u_bbp_set_ctrlch(struct mt7601u_dev *dev, bool below);
382 static inline u32 mt7601u_mac_set_ctrlch(struct mt7601u_dev *dev, bool below) in mt7601u_mac_set_ctrlch()
387 int mt7601u_dma_init(struct mt7601u_dev *dev);
388 void mt7601u_dma_cleanup(struct mt7601u_dev *dev);
390 int mt7601u_dma_enqueue_tx(struct mt7601u_dev *dev, struct sk_buff *skb,