Lines Matching refs:mt7615_dev
87 void mt7615_mcu_fill_msg(struct mt7615_dev *dev, struct sk_buff *skb, in mt7615_mcu_fill_msg()
168 static int __mt7615_mcu_msg_send(struct mt7615_dev *dev, struct sk_buff *skb, in __mt7615_mcu_msg_send()
183 mt7615_mcu_parse_response(struct mt7615_dev *dev, int cmd, in mt7615_mcu_parse_response()
237 int mt7615_mcu_wait_response(struct mt7615_dev *dev, int cmd, int seq) in mt7615_mcu_wait_response()
264 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_mcu_send_message()
295 u32 mt7615_rf_rr(struct mt7615_dev *dev, u32 wf, u32 reg) in mt7615_rf_rr()
311 int mt7615_rf_wr(struct mt7615_dev *dev, u32 wf, u32 reg, u32 val) in mt7615_rf_wr()
327 static void mt7622_trigger_hif_int(struct mt7615_dev *dev, bool en) in mt7622_trigger_hif_int()
337 static int mt7615_mcu_drv_pmctrl(struct mt7615_dev *dev) in mt7615_mcu_drv_pmctrl()
364 static int mt7615_mcu_lp_drv_pmctrl(struct mt7615_dev *dev) in mt7615_mcu_lp_drv_pmctrl()
391 static int mt7615_mcu_fw_pmctrl(struct mt7615_dev *dev) in mt7615_mcu_fw_pmctrl()
426 mt7615_mcu_rx_radar_detected(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_rx_radar_detected()
441 mt7615_mcu_rx_log_message(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_rx_log_message()
463 mt7615_mcu_rx_ext_event(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_rx_ext_event()
485 mt7615_mcu_scan_event(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_scan_event()
507 mt7615_mcu_roc_event(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_roc_event()
549 mt7615_mcu_beacon_loss_event(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_beacon_loss_event()
568 mt7615_mcu_bss_event(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_bss_event()
589 mt7615_mcu_rx_unsolicited_event(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_rx_unsolicited_event()
616 void mt7615_mcu_rx_event(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_rx_event()
635 static int mt7615_mcu_init_download(struct mt7615_dev *dev, u32 addr, in mt7615_mcu_init_download()
653 mt7615_mcu_add_dev(struct mt7615_dev *dev, struct ieee80211_vif *vif, in mt7615_mcu_add_dev()
693 mt7615_mcu_add_beacon_offload(struct mt7615_dev *dev, in mt7615_mcu_add_beacon_offload()
758 mt7615_mcu_ctrl_pm_state(struct mt7615_dev *dev, int band, int state) in mt7615_mcu_ctrl_pm_state()
789 mt7615_mcu_alloc_sta_req(struct mt7615_dev *dev, struct mt7615_vif *mvif, in mt7615_mcu_alloc_sta_req()
810 mt7615_mcu_alloc_wtbl_req(struct mt7615_dev *dev, struct mt7615_sta *msta, in mt7615_mcu_alloc_wtbl_req()
1266 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_add_bss()
1286 mt7615_mcu_wtbl_tx_ba(struct mt7615_dev *dev, in mt7615_mcu_wtbl_tx_ba()
1318 mt7615_mcu_wtbl_rx_ba(struct mt7615_dev *dev, in mt7615_mcu_wtbl_rx_ba()
1351 mt7615_mcu_wtbl_sta_add(struct mt7615_dev *dev, struct ieee80211_vif *vif, in mt7615_mcu_wtbl_sta_add()
1413 mt7615_mcu_sta_ba(struct mt7615_dev *dev, in mt7615_mcu_sta_ba()
1440 mt7615_mcu_sta_tx_ba(struct mt7615_dev *dev, in mt7615_mcu_sta_tx_ba()
1448 mt7615_mcu_sta_rx_ba(struct mt7615_dev *dev, in mt7615_mcu_sta_rx_ba()
1456 mt7615_mcu_add_sta_cmd(struct mt7615_dev *dev, struct ieee80211_vif *vif, in mt7615_mcu_add_sta_cmd()
1491 mt7615_mcu_add_sta(struct mt7615_dev *dev, struct ieee80211_vif *vif, in mt7615_mcu_add_sta()
1511 mt7615_mcu_uni_add_dev(struct mt7615_dev *dev, in mt7615_mcu_uni_add_dev()
1601 mt7615_mcu_uni_ctrl_pm_state(struct mt7615_dev *dev, int band, int state) in mt7615_mcu_uni_ctrl_pm_state()
1613 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_uni_add_bss()
1752 mt7615_mcu_uni_add_beacon_offload(struct mt7615_dev *dev, in mt7615_mcu_uni_add_beacon_offload()
1824 mt7615_mcu_uni_tx_ba(struct mt7615_dev *dev, in mt7615_mcu_uni_tx_ba()
1865 mt7615_mcu_uni_rx_ba(struct mt7615_dev *dev, in mt7615_mcu_uni_rx_ba()
1906 mt7615_mcu_uni_add_sta(struct mt7615_dev *dev, struct ieee80211_vif *vif, in mt7615_mcu_uni_add_sta()
1925 static int mt7615_mcu_send_firmware(struct mt7615_dev *dev, const void *data, in mt7615_mcu_send_firmware()
1948 static int mt7615_mcu_start_firmware(struct mt7615_dev *dev, u32 addr, in mt7615_mcu_start_firmware()
1970 static int mt7615_mcu_patch_sem_ctrl(struct mt7615_dev *dev, bool get) in mt7615_mcu_patch_sem_ctrl()
1982 static int mt7615_mcu_start_patch(struct mt7615_dev *dev) in mt7615_mcu_start_patch()
1995 static int mt7615_load_patch(struct mt7615_dev *dev, u32 addr, const char *name) in mt7615_load_patch()
2076 mt7615_mcu_send_ram_firmware(struct mt7615_dev *dev, in mt7615_mcu_send_ram_firmware()
2116 static int mt7615_load_n9(struct mt7615_dev *dev, const char *name) in mt7615_load_n9()
2167 static int mt7615_load_cr4(struct mt7615_dev *dev, const char *name) in mt7615_load_cr4()
2205 static int mt7615_load_ram(struct mt7615_dev *dev) in mt7615_load_ram()
2216 static int mt7615_load_firmware(struct mt7615_dev *dev) in mt7615_load_firmware()
2246 static int mt7622_load_firmware(struct mt7615_dev *dev) in mt7622_load_firmware()
2279 int mt7615_mcu_fw_log_2_host(struct mt7615_dev *dev, u8 ctrl) in mt7615_mcu_fw_log_2_host()
2292 static int mt7663_load_n9(struct mt7615_dev *dev, const char *name) in mt7663_load_n9()
2373 mt7663_load_rom_patch(struct mt7615_dev *dev, const char **n9_firmware) in mt7663_load_rom_patch()
2412 int __mt7663_load_firmware(struct mt7615_dev *dev) in __mt7663_load_firmware()
2450 static int mt7663_load_firmware(struct mt7615_dev *dev) in mt7663_load_firmware()
2465 int mt7615_mcu_init(struct mt7615_dev *dev) in mt7615_mcu_init()
2504 void mt7615_mcu_exit(struct mt7615_dev *dev) in mt7615_mcu_exit()
2512 int mt7615_mcu_set_eeprom(struct mt7615_dev *dev) in mt7615_mcu_set_eeprom()
2555 int mt7615_mcu_set_mac_enable(struct mt7615_dev *dev, int band, bool enable) in mt7615_mcu_set_mac_enable()
2572 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_set_rts_thresh()
2590 int mt7615_mcu_set_wmm(struct mt7615_dev *dev, u8 queue, in mt7615_mcu_set_wmm()
2627 int mt7615_mcu_set_dbdc(struct mt7615_dev *dev) in mt7615_mcu_set_dbdc()
2686 int mt7615_mcu_del_wtbl_all(struct mt7615_dev *dev) in mt7615_mcu_del_wtbl_all()
2697 int mt7615_mcu_rdd_cmd(struct mt7615_dev *dev, in mt7615_mcu_rdd_cmd()
2718 int mt7615_mcu_set_fcc5_lpn(struct mt7615_dev *dev, int val) in mt7615_mcu_set_fcc5_lpn()
2732 int mt7615_mcu_set_pulse_th(struct mt7615_dev *dev, in mt7615_mcu_set_pulse_th()
2748 int mt7615_mcu_set_radar_th(struct mt7615_dev *dev, int index, in mt7615_mcu_set_radar_th()
2766 int mt7615_mcu_rdd_send_pattern(struct mt7615_dev *dev) in mt7615_mcu_rdd_send_pattern()
2843 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_set_chan_info()
2891 int mt7615_mcu_get_temperature(struct mt7615_dev *dev, int index) in mt7615_mcu_get_temperature()
2904 int mt7615_mcu_set_test_param(struct mt7615_dev *dev, u8 param, bool test_mode, in mt7615_mcu_set_test_param()
2927 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_set_sku_en()
2943 int mt7615_mcu_set_vif_ps(struct mt7615_dev *dev, struct ieee80211_vif *vif) in mt7615_mcu_set_vif_ps()
2967 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_set_channel_domain()
3034 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_hw_scan()
3116 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_cancel_hw_scan()
3143 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_sched_scan_req()
3213 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_sched_scan_enable()
3312 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_apply_rx_dcoc()
3427 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_apply_tx_dpd()
3503 int mt7615_mcu_set_bss_pm(struct mt7615_dev *dev, struct ieee80211_vif *vif, in mt7615_mcu_set_bss_pm()
3545 int mt7615_mcu_set_hif_suspend(struct mt7615_dev *dev, bool suspend) in mt7615_mcu_set_hif_suspend()
3583 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_set_wow_ctrl()
3621 mt7615_mcu_set_wow_pattern(struct mt7615_dev *dev, in mt7615_mcu_set_wow_pattern()
3657 mt7615_mcu_set_suspend_mode(struct mt7615_dev *dev, in mt7615_mcu_set_suspend_mode()
3686 mt7615_mcu_set_gtk_rekey(struct mt7615_dev *dev, in mt7615_mcu_set_gtk_rekey()
3713 mt7615_mcu_set_arp_filter(struct mt7615_dev *dev, struct ieee80211_vif *vif, in mt7615_mcu_set_arp_filter()
3794 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_mcu_update_gtk_rekey()
3834 struct mt7615_dev *dev = phy->dev; in mt7615_mcu_set_roc()
3855 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_mcu_update_arp_filter()
3902 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_mcu_set_p2p_oppps()