Home
last modified time | relevance | path

Searched refs:mt7603_dev (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7603/
Dmt7603.h97 struct mt7603_dev { struct
159 static inline bool is_mt7603(struct mt7603_dev *dev) in is_mt7603() argument
164 static inline bool is_mt7628(struct mt7603_dev *dev) in is_mt7628()
172 u32 mt7603_reg_map(struct mt7603_dev *dev, u32 addr);
176 int mt7603_register_device(struct mt7603_dev *dev);
177 void mt7603_unregister_device(struct mt7603_dev *dev);
178 int mt7603_eeprom_init(struct mt7603_dev *dev);
179 int mt7603_dma_init(struct mt7603_dev *dev);
180 void mt7603_dma_cleanup(struct mt7603_dev *dev);
181 int mt7603_mcu_init(struct mt7603_dev *dev);
[all …]
Dmac.c23 mt76_stop_tx_ac(struct mt7603_dev *dev, u32 mask) in mt76_stop_tx_ac()
29 mt76_start_tx_ac(struct mt7603_dev *dev, u32 mask) in mt76_start_tx_ac()
34 void mt7603_mac_set_timing(struct mt7603_dev *dev) in mt7603_mac_set_timing()
75 mt7603_wtbl_update(struct mt7603_dev *dev, int idx, u32 mask) in mt7603_wtbl_update()
112 void mt7603_wtbl_init(struct mt7603_dev *dev, int idx, int vif, in mt7603_wtbl_init()
156 mt7603_wtbl_set_skip_tx(struct mt7603_dev *dev, int idx, bool enabled) in mt7603_wtbl_set_skip_tx()
167 void mt7603_filter_tx(struct mt7603_dev *dev, int idx, bool abort) in mt7603_filter_tx()
200 void mt7603_wtbl_set_smps(struct mt7603_dev *dev, struct mt7603_sta *sta, in mt7603_wtbl_set_smps()
212 void mt7603_wtbl_set_ps(struct mt7603_dev *dev, struct mt7603_sta *sta, in mt7603_wtbl_set_ps()
246 void mt7603_wtbl_clear(struct mt7603_dev *dev, int idx) in mt7603_wtbl_clear()
[all …]
Dmain.c14 struct mt7603_dev *dev = hw->priv; in mt7603_start()
27 struct mt7603_dev *dev = hw->priv; in mt7603_stop()
38 struct mt7603_dev *dev = hw->priv; in mt7603_add_interface()
89 struct mt7603_dev *dev = hw->priv; in mt7603_remove_interface()
106 void mt7603_init_edcca(struct mt7603_dev *dev) in mt7603_init_edcca()
127 mt7603_set_channel(struct mt7603_dev *dev, struct cfg80211_chan_def *def) in mt7603_set_channel()
205 struct mt7603_dev *dev = hw->priv; in mt7603_config()
235 struct mt7603_dev *dev = hw->priv; in mt7603_configure_filter()
275 struct mt7603_dev *dev = hw->priv; in mt7603_bss_info_changed()
317 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_sta_add()
[all …]
Ddebugfs.c8 struct mt7603_dev *dev = dev_get_drvdata(s->private); in mt7603_reset_read()
34 struct mt7603_dev *dev = dev_get_drvdata(s->private); in mt7603_radio_read()
46 struct mt7603_dev *dev = data; in mt7603_edcca_set()
63 struct mt7603_dev *dev = data; in mt7603_edcca_get()
72 void mt7603_init_debugfs(struct mt7603_dev *dev) in mt7603_init_debugfs()
Ddma.c8 mt7603_init_tx_queue(struct mt7603_dev *dev, struct mt76_sw_queue *q, in mt7603_init_tx_queue()
31 mt7603_rx_loopback_skb(struct mt7603_dev *dev, struct sk_buff *skb) in mt7603_rx_loopback_skb()
86 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_queue_rx_skb()
123 mt7603_init_rx_queue(struct mt7603_dev *dev, struct mt76_queue *q, in mt7603_init_rx_queue()
140 struct mt7603_dev *dev; in mt7603_poll_tx()
143 dev = container_of(napi, struct mt7603_dev, mt76.tx_napi); in mt7603_poll_tx()
160 int mt7603_dma_init(struct mt7603_dev *dev) in mt7603_dma_init()
232 void mt7603_dma_cleanup(struct mt7603_dev *dev) in mt7603_dma_cleanup()
Dinit.c22 mt7603_set_tmac_template(struct mt7603_dev *dev) in mt7603_set_tmac_template()
38 mt7603_dma_sched_init(struct mt7603_dev *dev) in mt7603_dma_sched_init()
112 mt7603_phy_init(struct mt7603_dev *dev) in mt7603_phy_init()
131 mt7603_mac_init(struct mt7603_dev *dev) in mt7603_mac_init()
268 mt7603_init_hardware(struct mt7603_dev *dev) in mt7603_init_hardware()
360 struct mt7603_dev *dev = container_of(mt76, struct mt7603_dev, in mt7603_led_set_config()
408 static u32 __mt7603_reg_addr(struct mt7603_dev *dev, u32 addr) in __mt7603_reg_addr()
418 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rr()
426 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_wr()
434 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rmw()
[all …]
Deeprom.c7 mt7603_efuse_read(struct mt7603_dev *dev, u32 base, u16 addr, u8 *data) in mt7603_efuse_read()
40 mt7603_efuse_init(struct mt7603_dev *dev) in mt7603_efuse_init()
66 mt7603_has_cal_free_data(struct mt7603_dev *dev, u8 *efuse) in mt7603_has_cal_free_data()
90 mt7603_apply_cal_free_data(struct mt7603_dev *dev, u8 *efuse) in mt7603_apply_cal_free_data()
121 mt7603_eeprom_load(struct mt7603_dev *dev) in mt7603_eeprom_load()
145 int mt7603_eeprom_init(struct mt7603_dev *dev) in mt7603_eeprom_init()
Dcore.c7 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rx_poll_complete()
14 struct mt7603_dev *dev = dev_instance; in mt7603_irq_handler()
54 u32 mt7603_reg_map(struct mt7603_dev *dev, u32 addr) in mt7603_reg_map()
Dpci.c17 struct mt7603_dev *dev; in mt76pci_probe()
40 dev = container_of(mdev, struct mt7603_dev, mt76); in mt76pci_probe()
66 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt76pci_remove()
Dsoc.c12 struct mt7603_dev *dev; in mt76_wmac_probe()
33 dev = container_of(mdev, struct mt7603_dev, mt76); in mt76_wmac_probe()
59 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt76_wmac_remove()
Dmcu.c17 __mt7603_mcu_msg_send(struct mt7603_dev *dev, struct sk_buff *skb, in __mt7603_mcu_msg_send()
60 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_mcu_msg_send()
106 mt7603_mcu_init_download(struct mt7603_dev *dev, u32 addr, u32 len) in mt7603_mcu_init_download()
123 mt7603_mcu_send_firmware(struct mt7603_dev *dev, const void *data, int len) in mt7603_mcu_send_firmware()
144 mt7603_mcu_start_firmware(struct mt7603_dev *dev, u32 addr) in mt7603_mcu_start_firmware()
165 static int mt7603_load_firmware(struct mt7603_dev *dev) in mt7603_load_firmware()
266 int mt7603_mcu_init(struct mt7603_dev *dev) in mt7603_mcu_init()
277 void mt7603_mcu_exit(struct mt7603_dev *dev) in mt7603_mcu_exit()
283 int mt7603_mcu_set_eeprom(struct mt7603_dev *dev) in mt7603_mcu_set_eeprom()
387 static int mt7603_mcu_set_tx_power(struct mt7603_dev *dev) in mt7603_mcu_set_tx_power()
[all …]
Dbeacon.c6 struct mt7603_dev *dev;
15 struct mt7603_dev *dev = (struct mt7603_dev *)priv; in mt7603_update_beacon_iter()
46 struct mt7603_dev *dev = data->dev; in mt7603_add_buffered_bc()
69 struct mt7603_dev *dev = (struct mt7603_dev *)arg; in mt7603_pre_tbtt_tasklet()
144 void mt7603_beacon_set_timer(struct mt7603_dev *dev, int idx, int intval) in mt7603_beacon_set_timer()