Home
last modified time | relevance | path

Searched refs:mt7615_dev (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmt7615.h174 struct mt7615_dev *dev;
226 int (*add_tx_ba)(struct mt7615_dev *dev,
229 int (*add_rx_ba)(struct mt7615_dev *dev,
232 int (*sta_add)(struct mt7615_dev *dev,
235 int (*add_dev_info)(struct mt7615_dev *dev,
239 int (*add_beacon_offload)(struct mt7615_dev *dev,
242 int (*set_pm_state)(struct mt7615_dev *dev, int band, int state);
243 int (*set_drv_ctrl)(struct mt7615_dev *dev);
244 int (*set_fw_ctrl)(struct mt7615_dev *dev);
247 struct mt7615_dev { struct
[all …]
Ddebugfs.c8 struct mt7615_dev *dev = data; in mt7615_radar_pattern_set()
27 struct mt7615_dev *dev = data; in mt7615_scs_set()
44 struct mt7615_dev *dev = data; in mt7615_scs_get()
57 struct mt7615_dev *dev = data; in mt7615_pm_set()
68 struct mt7615_dev *dev = data; in mt7615_pm_get()
80 struct mt7615_dev *dev = data; in mt7615_pm_idle_timeout_set()
90 struct mt7615_dev *dev = data; in mt7615_pm_idle_timeout_get()
103 struct mt7615_dev *dev = data; in mt7615_dbdc_set()
119 struct mt7615_dev *dev = data; in mt7615_dbdc_get()
132 struct mt7615_dev *dev = data; in mt7615_fw_debug_set()
[all …]
Dmmio.c63 u32 mt7615_reg_map(struct mt7615_dev *dev, u32 addr) in mt7615_reg_map()
82 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_rx_poll_complete()
89 struct mt7615_dev *dev = dev_instance; in mt7615_irq_handler()
103 struct mt7615_dev *dev = (struct mt7615_dev *)data; in mt7615_irq_tasklet()
139 static u32 __mt7615_reg_addr(struct mt7615_dev *dev, u32 addr) in __mt7615_reg_addr()
149 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_rr()
157 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_wr()
165 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_rmw()
192 struct mt7615_dev *dev; in mt7615_mmio_probe()
204 dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_mmio_probe()
Deeprom.c12 static int mt7615_efuse_read(struct mt7615_dev *dev, u32 base, in mt7615_efuse_read()
44 static int mt7615_efuse_init(struct mt7615_dev *dev, u32 base) in mt7615_efuse_init()
71 static int mt7615_eeprom_load(struct mt7615_dev *dev, u32 addr) in mt7615_eeprom_load()
97 mt7615_eeprom_parse_hw_band_cap(struct mt7615_dev *dev) in mt7615_eeprom_parse_hw_band_cap()
139 static void mt7615_eeprom_parse_hw_cap(struct mt7615_dev *dev) in mt7615_eeprom_parse_hw_cap()
168 static int mt7663_eeprom_get_target_power_index(struct mt7615_dev *dev, in mt7663_eeprom_get_target_power_index()
189 int mt7615_eeprom_get_target_power_index(struct mt7615_dev *dev, in mt7615_eeprom_get_target_power_index()
237 int mt7615_eeprom_get_power_delta_index(struct mt7615_dev *dev, in mt7615_eeprom_get_power_delta_index()
254 static void mt7615_apply_cal_free_data(struct mt7615_dev *dev) in mt7615_apply_cal_free_data()
290 static void mt7622_apply_cal_free_data(struct mt7615_dev *dev) in mt7622_apply_cal_free_data()
[all …]
Dusb.c26 struct mt7615_dev *dev = hw->priv; in mt7663u_stop()
36 static void mt7663u_cleanup(struct mt7615_dev *dev) in mt7663u_cleanup()
44 struct mt7615_dev *dev; in mt7663u_init_work()
46 dev = container_of(work, struct mt7615_dev, mcu_work); in mt7663u_init_work()
74 struct mt7615_dev *dev; in mt7663u_probe()
89 dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663u_probe()
154 struct mt7615_dev *dev = usb_get_intfdata(usb_intf); in mt7663u_disconnect()
171 struct mt7615_dev *dev = usb_get_intfdata(intf); in mt7663u_suspend()
190 struct mt7615_dev *dev = usb_get_intfdata(intf); in mt7663u_resume()
Dtestmode.c50 struct mt7615_dev *dev = phy->dev; in mt7615_tm_set_tx_power()
98 mt7615_tm_reg_backup_restore(struct mt7615_dev *dev) in mt7615_tm_reg_backup_restore()
133 mt7615_tm_init_phy(struct mt7615_dev *dev, struct mt7615_phy *phy) in mt7615_tm_init_phy()
149 mt7615_tm_init(struct mt7615_dev *dev) in mt7615_tm_init()
158 mt7615_tm_set_rx_enable(struct mt7615_dev *dev, bool en) in mt7615_tm_set_rx_enable()
178 mt7615_tm_set_tx_antenna(struct mt7615_dev *dev, bool en) in mt7615_tm_set_tx_antenna()
231 mt7615_tm_set_tx_frames(struct mt7615_dev *dev, bool en) in mt7615_tm_set_tx_frames()
247 mt7615_tm_update_params(struct mt7615_dev *dev, u32 changed) in mt7615_tm_update_params()
265 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_tm_set_state()
303 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_tm_set_params()
[all …]
Dpci_init.c17 struct mt7615_dev *dev = container_of(work, struct mt7615_dev, in mt7615_init_work()
33 static int mt7615_init_hardware(struct mt7615_dev *dev) in mt7615_init_hardware()
70 struct mt7615_dev *dev; in mt7615_led_set_config()
75 dev = container_of(mt76, struct mt7615_dev, mt76); in mt7615_led_set_config()
122 int mt7615_register_device(struct mt7615_dev *dev) in mt7615_register_device()
154 void mt7615_unregister_device(struct mt7615_dev *dev) in mt7615_unregister_device()
Ddma.c15 mt7615_init_tx_queue(struct mt7615_dev *dev, int qid, int idx, int n_desc) in mt7615_init_tx_queue()
34 mt7622_init_tx_queues_multi(struct mt7615_dev *dev) in mt7622_init_tx_queues_multi()
63 mt7615_init_tx_queues(struct mt7615_dev *dev) in mt7615_init_tx_queues()
90 struct mt7615_dev *dev; in mt7615_poll_tx()
92 dev = container_of(napi, struct mt7615_dev, mt76.tx_napi); in mt7615_poll_tx()
102 int mt7615_wait_pdma_busy(struct mt7615_dev *dev) in mt7615_wait_pdma_busy()
139 static void mt7622_dma_sched_init(struct mt7615_dev *dev) in mt7622_dma_sched_init()
163 static void mt7663_dma_sched_init(struct mt7615_dev *dev) in mt7663_dma_sched_init()
198 int mt7615_dma_init(struct mt7615_dev *dev) in mt7615_dma_init()
293 void mt7615_dma_cleanup(struct mt7615_dev *dev) in mt7615_dma_cleanup()
Dmac.c58 static struct mt76_wcid *mt7615_rx_get_wcid(struct mt7615_dev *dev, in mt7615_rx_get_wcid()
81 void mt7615_mac_reset_counters(struct mt7615_dev *dev) in mt7615_mac_reset_counters()
112 struct mt7615_dev *dev = phy->dev; in mt7615_mac_set_timing()
174 mt7615_get_status_freq_info(struct mt7615_dev *dev, struct mt76_phy *mphy, in mt7615_get_status_freq_info()
189 static void mt7615_mac_fill_tm_rx(struct mt7615_dev *dev, __le32 *rxv) in mt7615_mac_fill_tm_rx()
223 static int mt7615_mac_fill_rx(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mac_fill_rx()
471 mt7615_mac_tx_rate_val(struct mt7615_dev *dev, in mt7615_mac_tx_rate_val()
527 int mt7615_mac_write_txwi(struct mt7615_dev *dev, __le32 *txwi, in mt7615_mac_write_txwi()
743 bool mt7615_mac_wtbl_update(struct mt7615_dev *dev, int idx, u32 mask) in mt7615_mac_wtbl_update()
752 void mt7615_mac_sta_poll(struct mt7615_dev *dev) in mt7615_mac_sta_poll()
[all …]
Dusb_sdio.c44 mt7663_usb_sdio_write_txwi(struct mt7615_dev *dev, struct mt76_wcid *wcid, in mt7663_usb_sdio_write_txwi()
65 mt7663_usb_sdio_set_rates(struct mt7615_dev *dev, in mt7663_usb_sdio_set_rates()
136 mt7663_usb_sdio_set_key(struct mt7615_dev *dev, in mt7663_usb_sdio_set_key()
185 struct mt7615_dev *dev; in mt7663_usb_sdio_wtbl_work()
187 dev = (struct mt7615_dev *)container_of(work, struct mt7615_dev, in mt7663_usb_sdio_wtbl_work()
218 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663_usb_sdio_tx_status_data()
246 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663_usb_sdio_tx_prepare_skb()
276 static int mt7663u_dma_sched_init(struct mt7615_dev *dev) in mt7663u_dma_sched_init()
328 static int mt7663_usb_sdio_init_hardware(struct mt7615_dev *dev) in mt7663_usb_sdio_init_hardware()
356 int mt7663_usb_sdio_register_device(struct mt7615_dev *dev) in mt7663_usb_sdio_register_device()
Dmain.c15 static bool mt7615_dev_running(struct mt7615_dev *dev) in mt7615_dev_running()
27 static void mt7615_free_pending_tx_skbs(struct mt7615_dev *dev, in mt7615_free_pending_tx_skbs()
45 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_start()
86 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_stop()
155 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_add_interface()
234 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_remove_interface()
292 struct mt7615_dev *dev = phy->dev; in mt7615_set_channel()
338 mt7615_queue_key_update(struct mt7615_dev *dev, enum set_key_cmd cmd, in mt7615_queue_key_update()
374 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_set_key()
432 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_config()
[all …]
Dmcu.c87 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()
372 static int mt7615_mcu_lp_drv_pmctrl(struct mt7615_dev *dev) in mt7615_mcu_lp_drv_pmctrl()
[all …]
Dpci.c63 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_pci_remove()
74 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_pci_suspend()
141 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_pci_resume()
Dsdio_mcu.c19 static int mt7663s_mcu_init_sched(struct mt7615_dev *dev) in mt7663s_mcu_init_sched()
46 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663s_mcu_send_message()
66 static int mt7663s_mcu_drv_pmctrl(struct mt7615_dev *dev) in mt7663s_mcu_drv_pmctrl()
98 static int mt7663s_mcu_fw_pmctrl(struct mt7615_dev *dev) in mt7663s_mcu_fw_pmctrl()
124 int mt7663s_mcu_init(struct mt7615_dev *dev) in mt7663s_mcu_init()
Dsdio.c31 u32 mt7663s_read_pcr(struct mt7615_dev *dev) in mt7663s_read_pcr()
224 struct mt7615_dev *dev; in mt7663s_init_work()
226 dev = container_of(work, struct mt7615_dev, mcu_work); in mt7663s_init_work()
237 static int mt7663s_hw_init(struct mt7615_dev *dev, struct sdio_func *func) in mt7663s_hw_init()
300 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663s_sta_add()
347 struct mt7615_dev *dev; in mt7663s_probe()
360 dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663s_probe()
420 struct mt7615_dev *dev = sdio_get_drvdata(func); in mt7663s_remove()
434 struct mt7615_dev *mdev = sdio_get_drvdata(func); in mt7663s_suspend()
455 struct mt7615_dev *mdev = sdio_get_drvdata(func); in mt7663s_resume()
Dinit.c15 void mt7615_phy_init(struct mt7615_dev *dev) in mt7615_phy_init()
24 mt7615_init_mac_chain(struct mt7615_dev *dev, int chain) in mt7615_init_mac_chain()
82 void mt7615_mac_init(struct mt7615_dev *dev) in mt7615_mac_init()
133 void mt7615_check_offload_capability(struct mt7615_dev *dev) in mt7615_check_offload_capability()
167 bool mt7615_wait_for_mcu_init(struct mt7615_dev *dev) in mt7615_wait_for_mcu_init()
246 void mt7615_init_txpower(struct mt7615_dev *dev, in mt7615_init_txpower()
294 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_regd_notifier()
356 mt7615_cap_dbdc_enable(struct mt7615_dev *dev) in mt7615_cap_dbdc_enable()
372 mt7615_cap_dbdc_disable(struct mt7615_dev *dev) in mt7615_cap_dbdc_disable()
384 int mt7615_register_ext_phy(struct mt7615_dev *dev) in mt7615_register_ext_phy()
[all …]
Dpci_mac.c27 struct mt7615_dev *dev; in mt7615_tx_complete_skb()
31 dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_tx_complete_skb()
51 mt7615_write_hw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info, in mt7615_write_hw_txp()
89 mt7615_write_fw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info, in mt7615_write_fw_txp()
135 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_tx_prepare_skb()
Dusb_mcu.c20 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663u_mcu_send_message()
53 int mt7663u_mcu_init(struct mt7615_dev *dev) in mt7663u_mcu_init()
Dmt7615_trace.h28 TP_PROTO(struct mt7615_dev *dev, u16 token),
45 TP_PROTO(struct mt7615_dev *dev, u16 token),
Dsoc.c16 int mt7622_wmac_init(struct mt7615_dev *dev) in mt7622_wmac_init()
53 struct mt7615_dev *dev = platform_get_drvdata(pdev); in mt7622_wmac_remove()
Deeprom.h106 mt7615_ext_pa_enabled(struct mt7615_dev *dev, enum nl80211_band band) in mt7615_ext_pa_enabled()
Dmac.h433 static inline u32 mt7615_mac_wtbl_addr(struct mt7615_dev *dev, int wcid) in mt7615_mac_wtbl_addr()
Dsdio_txrx.c329 struct mt7615_dev *dev = sdio_get_drvdata(func); in mt7663s_sdio_irq()