Home
last modified time | relevance | path

Searched refs:mt7915_dev (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmt7915.h111 struct mt7915_dev *dev;
138 struct mt7915_dev { struct
240 static inline struct mt7915_dev *
245 return container_of(phy->dev, struct mt7915_dev, mt76); in mt7915_hw_dev()
249 mt7915_ext_phy(struct mt7915_dev *dev) in mt7915_ext_phy()
259 static inline u8 mt7915_lmac_mapping(struct mt7915_dev *dev, u8 ac) in mt7915_lmac_mapping()
268 u32 mt7915_reg_map(struct mt7915_dev *dev, u32 addr);
270 int mt7915_register_device(struct mt7915_dev *dev);
271 void mt7915_unregister_device(struct mt7915_dev *dev);
272 int mt7915_register_ext_phy(struct mt7915_dev *de
[all...]
H A Dpci.c23 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_rx_poll_complete()
31 struct mt7915_dev *dev = dev_instance; in mt7915_irq_handler()
76 mt7915_alloc_device(struct pci_dev *pdev, struct mt7915_dev *dev) in mt7915_alloc_device()
117 struct mt7915_dev *dev; in mt7915_pci_probe()
140 dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_pci_probe()
174 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_pci_remove()
H A Ddma.c9 mt7915_init_tx_queues(struct mt7915_dev *dev, int n_desc) in mt7915_init_tx_queues()
30 mt7915_init_mcu_queue(struct mt7915_dev *dev, int qid, int idx, int n_desc) in mt7915_init_mcu_queue()
51 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_queue_rx_skb()
77 mt7915_tx_cleanup(struct mt7915_dev *dev) in mt7915_tx_cleanup()
85 struct mt7915_dev *dev; in mt7915_poll_tx()
87 dev = container_of(napi, struct mt7915_dev, mt76.tx_napi); in mt7915_poll_tx()
97 void mt7915_dma_prefetch(struct mt7915_dev *dev) in mt7915_dma_prefetch()
127 static u32 __mt7915_reg_addr(struct mt7915_dev *dev, u32 addr) in __mt7915_reg_addr()
201 struct mt7915_dev *de in mt7915_rr()
[all...]
H A Deeprom.c12 u32 mt7915_eeprom_read(struct mt7915_dev *dev, u32 offset) in mt7915_eeprom_read()
22 static int mt7915_eeprom_load(struct mt7915_dev *dev) in mt7915_eeprom_load()
35 static int mt7915_check_eeprom(struct mt7915_dev *dev) in mt7915_check_eeprom()
51 static void mt7915_eeprom_parse_hw_cap(struct mt7915_dev *dev) in mt7915_eeprom_parse_hw_cap()
82 int mt7915_eeprom_init(struct mt7915_dev *dev) in mt7915_eeprom_init()
103 int mt7915_eeprom_get_target_power(struct mt7915_dev *dev, in mt7915_eeprom_get_target_power()
198 mt7915_get_sku_delta(struct mt7915_dev *dev, u32 addr) in mt7915_get_sku_delta()
210 mt7915_eeprom_init_sku_band(struct mt7915_dev *dev, in mt7915_eeprom_init_sku_band()
246 void mt7915_eeprom_init_sku(struct mt7915_dev *dev) in mt7915_eeprom_init_sku()
H A Dmain.c11 static bool mt7915_dev_running(struct mt7915_dev *dev) in mt7915_dev_running()
25 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_start()
63 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_stop()
120 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_add_interface()
185 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_remove_interface()
227 struct mt7915_dev *dev = phy->dev; in mt7915_set_channel()
264 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_set_key()
313 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_config()
352 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_conf_tx()
367 struct mt7915_dev *de in mt7915_configure_filter()
[all...]
H A Ddebugfs.c18 struct mt7915_dev *dev = data; in mt7915_ser_trigger_set()
42 struct mt7915_dev *dev = data; in mt7915_radar_trigger()
53 struct mt7915_dev *dev = data; in mt7915_dbdc_set()
66 struct mt7915_dev *dev = data; in mt7915_dbdc_get()
79 struct mt7915_dev *dev = data; in mt7915_fw_debug_set()
101 struct mt7915_dev *dev = data; in mt7915_fw_debug_get()
115 struct mt7915_dev *dev = file->private; in mt7915_ampdu_stat_read_phy()
148 struct mt7915_dev *dev = s->private; in mt7915_txbf_stat_read_phy()
197 struct mt7915_dev *dev = file->private; in mt7915_tx_stats_read()
241 struct mt7915_dev *de in mt7915_read_temperature()
[all...]
H A Dinit.c10 mt7915_mac_init_band(struct mt7915_dev *dev, u8 band) in mt7915_mac_init_band()
40 static void mt7915_mac_init(struct mt7915_dev *dev) in mt7915_mac_init()
60 static int mt7915_txbf_init(struct mt7915_dev *dev) in mt7915_txbf_init()
80 mt7915_init_txpower_band(struct mt7915_dev *dev, in mt7915_init_txpower_band()
103 static void mt7915_init_txpower(struct mt7915_dev *dev) in mt7915_init_txpower()
113 struct mt7915_dev *dev = container_of(work, struct mt7915_dev, in mt7915_init_work()
122 static int mt7915_init_hardware(struct mt7915_dev *dev) in mt7915_init_hardware()
228 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_regd_notifier()
553 mt7915_cap_dbdc_enable(struct mt7915_dev *de
[all...]
H A Dmcu.c153 mt7915_get_phy_mode(struct mt7915_dev *dev, struct ieee80211_vif *vif, in mt7915_get_phy_mode()
218 static int __mt7915_mcu_msg_send(struct mt7915_dev *dev, struct sk_buff *skb, in __mt7915_mcu_msg_send()
291 mt7915_mcu_parse_eeprom(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_parse_eeprom()
309 mt7915_mcu_parse_response(struct mt7915_dev *dev, int cmd, in mt7915_mcu_parse_response()
342 mt7915_mcu_wait_response(struct mt7915_dev *dev, int cmd, int seq) in mt7915_mcu_wait_response()
368 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_mcu_send_message()
407 mt7915_mcu_rx_radar_detected(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_radar_detected()
508 mt7915_mcu_tx_rate_report(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_tx_rate_report()
550 mt7915_mcu_rx_log_message(struct mt7915_dev *de
[all...]
H A Dmac.c55 static struct mt76_wcid *mt7915_rx_get_wcid(struct mt7915_dev *dev, in mt7915_rx_get_wcid()
82 bool mt7915_mac_wtbl_update(struct mt7915_dev *dev, int idx, u32 mask) in mt7915_mac_wtbl_update()
91 static u32 mt7915_mac_wtbl_lmac_addr(struct mt7915_dev *dev, u16 wcid) in mt7915_mac_wtbl_lmac_addr()
100 static void mt7915_mac_sta_poll(struct mt7915_dev *dev) in mt7915_mac_sta_poll()
310 int mt7915_mac_fill_rx(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mac_fill_rx()
565 void mt7915_mac_write_txwi(struct mt7915_dev *dev, __le32 *txwi, in mt7915_mac_write_txwi()
713 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_tx_prepare_skb()
864 void mt7915_mac_tx_free(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mac_tx_free()
954 struct mt7915_dev *de in mt7915_tx_complete_skb()
[all...]
H A Deeprom.h112 mt7915_tssi_enabled(struct mt7915_dev *dev, enum nl80211_band band) in mt7915_tssi_enabled()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmt7915.h198 struct mt7915_dev *dev;
242 struct mt7915_dev { struct
357 static inline struct mt7915_dev *
362 return container_of(phy->dev, struct mt7915_dev, mt76); in mt7915_hw_dev()
366 mt7915_ext_phy(struct mt7915_dev *dev) in mt7915_ext_phy()
376 static inline u32 mt7915_check_adie(struct mt7915_dev *dev, bool sku) in mt7915_check_adie()
392 int mt7986_wmac_enable(struct mt7915_dev *dev);
393 void mt7986_wmac_disable(struct mt7915_dev *dev);
395 static inline int mt7986_wmac_enable(struct mt7915_dev *dev) in mt7986_wmac_enable()
400 static inline void mt7986_wmac_disable(struct mt7915_dev *de
[all...]
H A Dcoredump.h101 mt7915_coredump_get_mem_layout(struct mt7915_dev *dev, u32 *num);
102 struct mt7915_crash_data *mt7915_coredump_new(struct mt7915_dev *dev);
103 int mt7915_coredump_submit(struct mt7915_dev *dev);
104 int mt7915_coredump_register(struct mt7915_dev *dev);
105 void mt7915_coredump_unregister(struct mt7915_dev *dev);
110 mt7915_coredump_get_mem_layout(struct mt7915_dev *dev, u32 *num) in mt7915_coredump_get_mem_layout()
115 static inline int mt7915_coredump_submit(struct mt7915_dev *dev) in mt7915_coredump_submit()
120 static inline struct mt7915_crash_data *mt7915_coredump_new(struct mt7915_dev *dev) in mt7915_coredump_new()
125 static inline int mt7915_coredump_register(struct mt7915_dev *dev) in mt7915_coredump_register()
130 static inline void mt7915_coredump_unregister(struct mt7915_dev *de
[all...]
H A Dsoc.c43 mt76_wmac_spi_read(struct mt7915_dev *dev, u8 adie, u32 addr, u32 *val) in mt76_wmac_spi_read()
70 mt76_wmac_spi_write(struct mt7915_dev *dev, u8 adie, u32 addr, u32 val) in mt76_wmac_spi_write()
91 mt76_wmac_spi_rmw(struct mt7915_dev *dev, u8 adie, in mt76_wmac_spi_rmw()
107 mt7986_wmac_adie_efuse_read(struct mt7915_dev *dev, u8 adie, in mt7986_wmac_adie_efuse_read()
149 static inline void mt76_wmac_spi_lock(struct mt7915_dev *dev) in mt76_wmac_spi_lock()
159 static inline void mt76_wmac_spi_unlock(struct mt7915_dev *dev) in mt76_wmac_spi_unlock()
172 static u8 mt798x_wmac_check_adie_type(struct mt7915_dev *dev) in mt798x_wmac_check_adie_type()
185 static int mt7986_wmac_consys_reset(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_reset()
197 static int mt7986_wmac_gpio_setup(struct mt7915_dev *dev) in mt7986_wmac_gpio_setup()
233 static int mt7986_wmac_consys_lockup(struct mt7915_dev *de
[all...]
H A Ddebugfs.c24 struct mt7915_dev *dev = data; in mt7915_implicit_txbf_set()
37 struct mt7915_dev *dev = data; in mt7915_implicit_txbf_get()
53 struct mt7915_dev *dev = phy->dev; in mt7915_sys_recovery_set()
129 struct mt7915_dev *dev = phy->dev; in mt7915_sys_recovery_get()
214 struct mt7915_dev *dev = data; in mt7915_radar_trigger()
229 struct mt7915_dev *dev = data; in mt7915_muru_debug_set()
240 struct mt7915_dev *dev = data; in mt7915_muru_debug_get()
253 struct mt7915_dev *dev = phy->dev; in mt7915_muru_stats_show()
440 struct mt7915_dev *dev = dev_get_drvdata(s->private); in mt7915_rdd_monitor()
487 struct mt7915_dev *de in mt7915_fw_debug_wm_set()
[all...]
H A Dmmio.c414 static u32 mt7915_reg_map_l1(struct mt7915_dev *dev, u32 addr) in mt7915_reg_map_l1()
435 static u32 mt7915_reg_map_l2(struct mt7915_dev *dev, u32 addr) in mt7915_reg_map_l2()
468 static u32 __mt7915_reg_addr(struct mt7915_dev *dev, u32 addr) in __mt7915_reg_addr()
512 void mt7915_memcpy_fromio(struct mt7915_dev *dev, void *buf, u32 offset, in mt7915_memcpy_fromio()
522 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_rr()
530 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_wr()
538 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt7 in mt7915_rmw()
[all...]
H A Deeprom.c8 static int mt7915_eeprom_load_precal(struct mt7915_dev *dev) in mt7915_eeprom_load_precal()
31 static int mt7915_check_eeprom(struct mt7915_dev *dev) in mt7915_check_eeprom()
51 static char *mt7915_eeprom_name(struct mt7915_dev *dev) in mt7915_eeprom_name()
82 mt7915_eeprom_load_default(struct mt7915_dev *dev) in mt7915_eeprom_load_default()
107 static int mt7915_eeprom_load(struct mt7915_dev *dev) in mt7915_eeprom_load()
145 struct mt7915_dev *dev = phy->dev; in mt7915_eeprom_parse_band_config()
187 void mt7915_eeprom_parse_hw_cap(struct mt7915_dev *dev, in mt7915_eeprom_parse_hw_cap()
239 int mt7915_eeprom_init(struct mt7915_dev *dev) in mt7915_eeprom_init()
267 int mt7915_eeprom_get_target_power(struct mt7915_dev *dev, in mt7915_eeprom_get_target_power()
315 s8 mt7915_eeprom_get_power_delta(struct mt7915_dev *de
[all...]
H A Dcoredump.c89 mt7915_coredump_get_mem_layout(struct mt7915_dev *dev, u32 *num) in mt7915_coredump_get_mem_layout()
107 static int mt7915_coredump_get_mem_size(struct mt7915_dev *dev) in mt7915_coredump_get_mem_size()
131 struct mt7915_crash_data *mt7915_coredump_new(struct mt7915_dev *dev) in mt7915_coredump_new()
144 mt7915_coredump_fw_state(struct mt7915_dev *dev, struct mt7915_coredump *dump, in mt7915_coredump_fw_state()
167 mt7915_coredump_fw_trace(struct mt7915_dev *dev, struct mt7915_coredump *dump, in mt7915_coredump_fw_trace()
224 mt7915_coredump_fw_stack(struct mt7915_dev *dev, struct mt7915_coredump *dump, in mt7915_coredump_fw_stack()
245 mt7915_coredump_fw_task(struct mt7915_dev *dev, struct mt7915_coredump *dump) in mt7915_coredump_fw_task()
269 mt7915_coredump_fw_context(struct mt7915_dev *dev, struct mt7915_coredump *dump) in mt7915_coredump_fw_context()
302 static struct mt7915_coredump *mt7915_coredump_build(struct mt7915_dev *dev) in mt7915_coredump_build()
359 int mt7915_coredump_submit(struct mt7915_dev *de
[all...]
H A Dmain.c11 static bool mt7915_dev_running(struct mt7915_dev *dev) in mt7915_dev_running()
25 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_run()
99 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_start()
113 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_stop()
208 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_add_interface()
289 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_remove_interface()
322 struct mt7915_dev *dev = phy->dev; in mt7915_set_channel()
367 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_set_key()
435 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_set_sar_specs()
455 struct mt7915_dev *de in mt7915_config()
[all...]
H A Ddma.c11 struct mt7915_dev *dev = phy->dev; in mt7915_init_tx_queues()
28 struct mt7915_dev *dev; in mt7915_poll_tx()
30 dev = container_of(napi, struct mt7915_dev, mt76.tx_napi); in mt7915_poll_tx()
39 static void mt7915_dma_config(struct mt7915_dev *dev) in mt7915_dma_config()
121 static void __mt7915_dma_prefetch(struct mt7915_dev *dev, u32 ofs) in __mt7915_dma_prefetch()
163 void mt7915_dma_prefetch(struct mt7915_dev *dev) in mt7915_dma_prefetch()
170 static void mt7915_dma_disable(struct mt7915_dev *dev, bool rst) in mt7915_dma_disable()
253 int mt7915_dma_start(struct mt7915_dev *dev, bool reset, bool wed_reset) in mt7915_dma_start()
332 static int mt7915_dma_enable(struct mt7915_dev *dev, bool reset) in mt7915_dma_enable()
406 int mt7915_dma_init(struct mt7915_dev *de
[all...]
H A Dmcu.c62 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_he_mcs()
117 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_vht_mcs()
192 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_mcu_send_message()
210 int mt7915_mcu_wa_cmd(struct mt7915_dev *dev, int cmd, u32 a1, u32 a2, u32 a3) in mt7915_mcu_wa_cmd()
233 mt7915_mcu_rx_csa_notify(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_csa_notify()
253 mt7915_mcu_rx_thermal_notify(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_thermal_notify()
275 mt7915_mcu_rx_radar_detected(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_radar_detected()
299 mt7915_mcu_rx_log_message(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_log_message()
336 mt7915_mcu_rx_bcc_notify(struct mt7915_dev *de
[all...]
H A Dmac.c53 static struct mt76_wcid *mt7915_rx_get_wcid(struct mt7915_dev *dev, in mt7915_rx_get_wcid()
76 bool mt7915_mac_wtbl_update(struct mt7915_dev *dev, int idx, u32 mask) in mt7915_mac_wtbl_update()
85 u32 mt7915_mac_wtbl_lmac_addr(struct mt7915_dev *dev, u16 wcid, u8 dw) in mt7915_mac_wtbl_lmac_addr()
93 static void mt7915_mac_sta_poll(struct mt7915_dev *dev) in mt7915_mac_sta_poll()
231 void mt7915_mac_enable_rtscts(struct mt7915_dev *dev, in mt7915_mac_enable_rtscts()
245 mt7915_wed_check_ppe(struct mt7915_dev *dev, struct mt76_queue *q, in mt7915_wed_check_ppe()
272 mt7915_mac_fill_rx(struct mt7915_dev *dev, struct sk_buff *skb, in mt7915_mac_fill_rx()
560 mt7915_mac_fill_rx_vector(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mac_fill_rx_vector()
747 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt7 in mt7915_tx_prepare_skb()
[all...]
H A Dtestmode.c40 struct mt7915_dev *dev = phy->dev; in mt7915_tm_set_tx_power()
76 struct mt7915_dev *dev = phy->dev; in mt7915_tm_set_freq_offset()
89 mt7915_tm_mode_ctrl(struct mt7915_dev *dev, bool enable) in mt7915_tm_mode_ctrl()
108 struct mt7915_dev *dev = phy->dev; in mt7915_tm_set_trx()
124 struct mt7915_dev *dev = phy->dev; in mt7915_tm_clean_hwq()
139 struct mt7915_dev *dev = phy->dev; in mt7915_tm_set_slot_time()
157 struct mt7915_dev *dev = phy->dev; in mt7915_tm_set_tam_arb()
197 struct mt7915_dev *dev = phy->dev; in mt7915_tm_set_ipg_params()
338 struct mt7915_dev *dev = phy->dev; in mt7915_tm_reg_backup_restore()
406 struct mt7915_dev *de in mt7915_tm_init()
[all...]
H A Dinit.c225 struct mt7915_dev *dev; in mt7915_led_set_config()
230 dev = container_of(mphy->dev, struct mt7915_dev, mt76); in mt7915_led_set_config()
281 void mt7915_init_txpower(struct mt7915_dev *dev, in mt7915_init_txpower()
318 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_regd_notifier()
343 struct mt7915_dev *dev = phy->dev; in mt7915_init_wiphy()
449 mt7915_mac_init_band(struct mt7915_dev *dev, u8 band) in mt7915_mac_init_band()
511 mt7915_init_led_mux(struct mt7915_dev *dev) in mt7915_init_led_mux()
576 void mt7915_mac_init(struct mt7915_dev *dev) in mt7915_mac_init()
605 int mt7915_txbf_init(struct mt7915_dev *dev) in mt7915_txbf_init()
625 mt7915_alloc_ext_phy(struct mt7915_dev *de
[all...]
H A Dpci.c106 struct mt7915_dev *dev; in mt7915_pci_probe()
212 struct mt7915_dev *dev; in mt7915_pci_remove()
215 dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_pci_remove()
H A Deeprom.h144 mt7915_tssi_enabled(struct mt7915_dev *dev, enum nl80211_band band) in mt7915_tssi_enabled()

Completed in 26 milliseconds