Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dmt7603.h102 struct mt7603_dev { struct
165 static inline bool is_mt7603(struct mt7603_dev *dev) in is_mt7603() argument
170 static inline bool is_mt7628(struct mt7603_dev *dev) in is_mt7628()
178 u32 mt7603_reg_map(struct mt7603_dev *dev, u32 addr);
182 int mt7603_register_device(struct mt7603_dev *dev);
183 void mt7603_unregister_device(struct mt7603_dev *dev);
184 int mt7603_eeprom_init(struct mt7603_dev *dev);
185 int mt7603_dma_init(struct mt7603_dev *dev);
186 void mt7603_dma_cleanup(struct mt7603_dev *dev);
187 int mt7603_mcu_init(struct mt7603_dev *dev);
[all …]
H A Dmac.c24 mt76_stop_tx_ac(struct mt7603_dev *dev, u32 mask) in mt76_stop_tx_ac()
30 mt76_start_tx_ac(struct mt7603_dev *dev, u32 mask) in mt76_start_tx_ac()
35 void mt7603_mac_reset_counters(struct mt7603_dev *dev) in mt7603_mac_reset_counters()
45 void mt7603_mac_set_timing(struct mt7603_dev *dev) in mt7603_mac_set_timing()
87 mt7603_wtbl_update(struct mt7603_dev *dev, int idx, u32 mask) in mt7603_wtbl_update()
124 void mt7603_wtbl_init(struct mt7603_dev *dev, int idx, int vif, in mt7603_wtbl_init()
170 mt7603_wtbl_set_skip_tx(struct mt7603_dev *dev, int idx, bool enabled) in mt7603_wtbl_set_skip_tx()
181 void mt7603_filter_tx(struct mt7603_dev *dev, int mac_idx, int idx, bool abort) in mt7603_filter_tx()
226 void mt7603_wtbl_set_smps(struct mt7603_dev *dev, struct mt7603_sta *sta, in mt7603_wtbl_set_smps()
238 void mt7603_wtbl_set_ps(struct mt7603_dev *dev, struct mt7603_sta *sta, in mt7603_wtbl_set_ps()
[all …]
H A Dmain.c14 struct mt7603_dev *dev = hw->priv; in mt7603_start()
28 struct mt7603_dev *dev = hw->priv; in mt7603_stop()
39 struct mt7603_dev *dev = hw->priv; in mt7603_add_interface()
93 struct mt7603_dev *dev = hw->priv; in mt7603_remove_interface()
116 void mt7603_init_edcca(struct mt7603_dev *dev) in mt7603_init_edcca()
139 struct mt7603_dev *dev = hw->priv; in mt7603_set_channel()
219 struct mt7603_dev *dev = hw->priv; in mt7603_set_sar_specs()
236 struct mt7603_dev *dev = hw->priv; in mt7603_config()
263 struct mt7603_dev *dev = hw->priv; in mt7603_configure_filter()
303 struct mt7603_dev *dev = hw->priv; in mt7603_bss_info_changed()
[all …]
H A Dinit.c24 mt7603_set_tmac_template(struct mt7603_dev *dev) in mt7603_set_tmac_template()
40 mt7603_dma_sched_init(struct mt7603_dev *dev) in mt7603_dma_sched_init()
114 mt7603_phy_init(struct mt7603_dev *dev) in mt7603_phy_init()
133 mt7603_mac_init(struct mt7603_dev *dev) in mt7603_mac_init()
270 mt7603_init_hardware(struct mt7603_dev *dev) in mt7603_init_hardware()
336 struct mt7603_dev *dev = container_of(mphy->dev, struct mt7603_dev, in mt7603_led_set_config()
384 static u32 __mt7603_reg_addr(struct mt7603_dev *dev, u32 addr) in __mt7603_reg_addr()
394 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rr()
402 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_wr()
410 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rmw()
[all …]
H A 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()
75 struct mt7603_dev *dev = file->private; in mt7603_ampdu_stat_show()
96 void mt7603_init_debugfs(struct mt7603_dev *dev) in mt7603_init_debugfs()
H A Deeprom.c8 mt7603_efuse_read(struct mt7603_dev *dev, u32 base, u16 addr, u8 *data) in mt7603_efuse_read()
41 mt7603_efuse_init(struct mt7603_dev *dev) in mt7603_efuse_init()
67 mt7603_has_cal_free_data(struct mt7603_dev *dev, u8 *efuse) in mt7603_has_cal_free_data()
91 mt7603_apply_cal_free_data(struct mt7603_dev *dev, u8 *efuse) in mt7603_apply_cal_free_data()
126 mt7603_eeprom_load(struct mt7603_dev *dev) in mt7603_eeprom_load()
151 static inline bool is_mt7688(struct mt7603_dev *dev) in is_mt7688()
156 int mt7603_eeprom_init(struct mt7603_dev *dev) in mt7603_eeprom_init()
H A Dmcu.c20 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_mcu_parse_response()
41 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_mcu_skb_send_msg()
79 mt7603_mcu_init_download(struct mt7603_dev *dev, u32 addr, u32 len) in mt7603_mcu_init_download()
96 mt7603_mcu_start_firmware(struct mt7603_dev *dev, u32 addr) in mt7603_mcu_start_firmware()
116 static int mt7603_load_firmware(struct mt7603_dev *dev) in mt7603_load_firmware()
218 int mt7603_mcu_init(struct mt7603_dev *dev) in mt7603_mcu_init()
230 void mt7603_mcu_exit(struct mt7603_dev *dev) in mt7603_mcu_exit()
236 int mt7603_mcu_set_eeprom(struct mt7603_dev *dev) in mt7603_mcu_set_eeprom()
340 static int mt7603_mcu_set_tx_power(struct mt7603_dev *dev) in mt7603_mcu_set_tx_power()
384 int mt7603_mcu_set_channel(struct mt7603_dev *dev) in mt7603_mcu_set_channel()
H A Ddma.c8 mt7603_rx_loopback_skb(struct mt7603_dev *dev, struct sk_buff *skb) in mt7603_rx_loopback_skb()
74 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_queue_rx_skb()
111 mt7603_init_rx_queue(struct mt7603_dev *dev, struct mt76_queue *q, in mt7603_init_rx_queue()
128 struct mt7603_dev *dev; in mt7603_poll_tx()
131 dev = container_of(napi, struct mt7603_dev, mt76.tx_napi); in mt7603_poll_tx()
152 int mt7603_dma_init(struct mt7603_dev *dev) in mt7603_dma_init()
233 void mt7603_dma_cleanup(struct mt7603_dev *dev) in mt7603_dma_cleanup()
H A Dsoc.c12 struct mt7603_dev *dev; in mt76_wmac_probe()
31 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()
H A Dcore.c8 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rx_poll_complete()
15 struct mt7603_dev *dev = dev_instance; in mt7603_irq_handler()
57 u32 mt7603_reg_map(struct mt7603_dev *dev, u32 addr) in mt7603_reg_map()
H A Dpci.c17 struct mt7603_dev *dev; in mt76pci_probe()
40 dev = container_of(mdev, struct mt7603_dev, mt76); in mt76pci_probe()
69 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt76pci_remove()
H A Dbeacon.c6 struct mt7603_dev *dev;
15 struct mt7603_dev *dev = (struct mt7603_dev *)priv; in mt7603_update_beacon_iter()
48 struct mt7603_dev *dev = data->dev; in mt7603_add_buffered_bc()
71 struct mt7603_dev *dev = from_tasklet(dev, t, mt76.pre_tbtt_tasklet); in mt7603_pre_tbtt_tasklet()
146 void mt7603_beacon_set_timer(struct mt7603_dev *dev, int idx, int intval) in mt7603_beacon_set_timer()