Lines Matching refs:mt7615_dev

158 	struct mt7615_dev *dev;
218 int (*add_tx_ba)(struct mt7615_dev *dev,
221 int (*add_rx_ba)(struct mt7615_dev *dev,
230 int (*add_beacon_offload)(struct mt7615_dev *dev,
233 int (*set_pm_state)(struct mt7615_dev *dev, int band, int state);
234 int (*set_drv_ctrl)(struct mt7615_dev *dev);
235 int (*set_fw_ctrl)(struct mt7615_dev *dev);
236 int (*set_sta_decap_offload)(struct mt7615_dev *dev,
241 struct mt7615_dev { struct
337 static inline struct mt7615_dev *
342 return container_of(phy->dev, struct mt7615_dev, mt76); in mt7615_hw_dev()
346 mt7615_ext_phy(struct mt7615_dev *dev) in mt7615_ext_phy()
366 int mt7622_wmac_init(struct mt7615_dev *dev);
368 static inline int mt7622_wmac_init(struct mt7615_dev *dev) in mt7622_wmac_init()
374 int mt7615_thermal_init(struct mt7615_dev *dev);
377 u32 mt7615_reg_map(struct mt7615_dev *dev, u32 addr);
379 void mt7615_init_device(struct mt7615_dev *dev);
380 int mt7615_register_device(struct mt7615_dev *dev);
381 void mt7615_unregister_device(struct mt7615_dev *dev);
382 int mt7615_register_ext_phy(struct mt7615_dev *dev);
383 void mt7615_unregister_ext_phy(struct mt7615_dev *dev);
384 int mt7615_eeprom_init(struct mt7615_dev *dev, u32 addr);
385 int mt7615_eeprom_get_target_power_index(struct mt7615_dev *dev,
388 int mt7615_eeprom_get_power_delta_index(struct mt7615_dev *dev,
390 int mt7615_wait_pdma_busy(struct mt7615_dev *dev);
391 int mt7615_dma_init(struct mt7615_dev *dev);
392 void mt7615_dma_start(struct mt7615_dev *dev);
393 void mt7615_dma_cleanup(struct mt7615_dev *dev);
394 int mt7615_mcu_init(struct mt7615_dev *dev);
395 bool mt7615_wait_for_mcu_init(struct mt7615_dev *dev);
401 int mt7615_mcu_del_wtbl_all(struct mt7615_dev *dev);
403 int mt7615_mcu_set_wmm(struct mt7615_dev *dev, u8 queue,
405 void mt7615_mcu_rx_event(struct mt7615_dev *dev, struct sk_buff *skb);
406 int mt7615_mcu_rdd_send_pattern(struct mt7615_dev *dev);
407 int mt7615_mcu_fw_log_2_host(struct mt7615_dev *dev, u8 ctrl);
409 static inline void mt7615_irq_enable(struct mt7615_dev *dev, u32 mask) in mt7615_irq_enable()
416 static inline bool mt7615_firmware_offload(struct mt7615_dev *dev) in mt7615_firmware_offload()
421 static inline u16 mt7615_wtbl_size(struct mt7615_dev *dev) in mt7615_wtbl_size()
434 static inline u8 mt7615_lmac_mapping(struct mt7615_dev *dev, u8 ac) in mt7615_lmac_mapping()
449 static inline u32 mt7615_tx_mcu_int_mask(struct mt7615_dev *dev) in mt7615_tx_mcu_int_mask()
455 mt7615_get_macwork_timeout(struct mt7615_dev *dev) in mt7615_get_macwork_timeout()
460 void mt7615_dma_reset(struct mt7615_dev *dev);
464 void mt7615_init_txpower(struct mt7615_dev *dev,
467 void mt7615_init_work(struct mt7615_dev *dev);
471 bool mt7615_mac_wtbl_update(struct mt7615_dev *dev, int idx, u32 mask);
472 void mt7615_mac_reset_counters(struct mt7615_dev *dev);
475 void mt7615_mac_enable_nf(struct mt7615_dev *dev, bool ext_phy);
476 void mt7615_mac_sta_poll(struct mt7615_dev *dev);
477 int mt7615_mac_write_txwi(struct mt7615_dev *dev, __le32 *txwi,
483 int __mt7615_mac_wtbl_set_key(struct mt7615_dev *dev,
487 int mt7615_mac_wtbl_set_key(struct mt7615_dev *dev, struct mt76_wcid *wcid,
491 u32 mt7615_mac_get_sta_tid_sn(struct mt7615_dev *dev, int wcid, u8 tid);
495 u32 mt7615_rf_rr(struct mt7615_dev *dev, u32 wf, u32 reg);
496 int mt7615_rf_wr(struct mt7615_dev *dev, u32 wf, u32 reg, u32 val);
497 int mt7615_mcu_set_dbdc(struct mt7615_dev *dev);
498 int mt7615_mcu_set_eeprom(struct mt7615_dev *dev);
499 int mt7615_mcu_get_temperature(struct mt7615_dev *dev);
501 void mt7615_mcu_exit(struct mt7615_dev *dev);
502 void mt7615_mcu_fill_msg(struct mt7615_dev *dev, struct sk_buff *skb,
511 void mt7615_tx_token_put(struct mt7615_dev *dev);
521 int mt7615_mcu_set_rx_hdr_trans_blacklist(struct mt7615_dev *dev);
522 int mt7615_mcu_set_fcc5_lpn(struct mt7615_dev *dev, int val);
523 int mt7615_mcu_set_pulse_th(struct mt7615_dev *dev,
525 int mt7615_mcu_set_radar_th(struct mt7615_dev *dev, int index,
527 int mt7615_mcu_set_test_param(struct mt7615_dev *dev, u8 param, bool test_mode,
537 int mt7615_init_debugfs(struct mt7615_dev *dev);
538 int mt7615_mcu_wait_response(struct mt7615_dev *dev, int cmd, int seq);
543 int mt7615_mcu_set_bss_pm(struct mt7615_dev *dev, struct ieee80211_vif *vif,
545 int __mt7663_load_firmware(struct mt7615_dev *dev);
548 void mt7622_trigger_hif_int(struct mt7615_dev *dev, bool en);
558 int mt7663_usb_sdio_register_device(struct mt7615_dev *dev);
559 int mt7663u_mcu_init(struct mt7615_dev *dev);
560 int mt7663u_mcu_power_on(struct mt7615_dev *dev);
563 int mt7663s_mcu_init(struct mt7615_dev *dev);