Home
last modified time | relevance | path

Searched refs:mt7915_dev (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmt7915.h198 struct mt7915_dev *dev;
242 struct mt7915_dev { struct
364 static inline struct mt7915_dev *
369 return container_of(phy->dev, struct mt7915_dev, mt76); in mt7915_hw_dev()
373 mt7915_ext_phy(struct mt7915_dev *dev) in mt7915_ext_phy()
383 static inline u32 mt7915_check_adie(struct mt7915_dev *dev, bool sku) in mt7915_check_adie()
399 int mt7986_wmac_enable(struct mt7915_dev *dev);
400 void mt7986_wmac_disable(struct mt7915_dev *dev);
402 static inline int mt7986_wmac_enable(struct mt7915_dev *dev) in mt7986_wmac_enable()
407 static inline void mt7986_wmac_disable(struct mt7915_dev *dev) in mt7986_wmac_disable()
[all …]
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 *dev) in mt7915_coredump_unregister()
Dsoc.c42 mt76_wmac_spi_read(struct mt7915_dev *dev, u8 adie, u32 addr, u32 *val) in mt76_wmac_spi_read()
69 mt76_wmac_spi_write(struct mt7915_dev *dev, u8 adie, u32 addr, u32 val) in mt76_wmac_spi_write()
90 mt76_wmac_spi_rmw(struct mt7915_dev *dev, u8 adie, in mt76_wmac_spi_rmw()
106 mt7986_wmac_adie_efuse_read(struct mt7915_dev *dev, u8 adie, in mt7986_wmac_adie_efuse_read()
148 static inline void mt76_wmac_spi_lock(struct mt7915_dev *dev) in mt76_wmac_spi_lock()
158 static inline void mt76_wmac_spi_unlock(struct mt7915_dev *dev) in mt76_wmac_spi_unlock()
171 static u8 mt798x_wmac_check_adie_type(struct mt7915_dev *dev) in mt798x_wmac_check_adie_type()
184 static int mt7986_wmac_consys_reset(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_reset()
196 static int mt7986_wmac_gpio_setup(struct mt7915_dev *dev) in mt7986_wmac_gpio_setup()
232 static int mt7986_wmac_consys_lockup(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_lockup()
[all …]
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()
496 static u32 __mt7915_reg_remap_addr(struct mt7915_dev *dev, u32 addr) in __mt7915_reg_remap_addr()
517 void mt7915_memcpy_fromio(struct mt7915_dev *dev, void *buf, u32 offset, in mt7915_memcpy_fromio()
535 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_rr()
550 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_wr()
565 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_rmw()
583 struct mt7915_dev *dev; in mt7915_mmio_wed_update_rx_stats()
586 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_update_rx_stats()
[all …]
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 *dev = data; in mt7915_fw_debug_wm_set()
[all …]
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 *dev) in mt7915_coredump_submit()
[all …]
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()
160 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_mcu_parse_response()
201 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_mcu_send_message()
214 int mt7915_mcu_wa_cmd(struct mt7915_dev *dev, int cmd, u32 a1, u32 a2, u32 a3) in mt7915_mcu_wa_cmd()
239 mt7915_mcu_rx_csa_notify(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_csa_notify()
259 mt7915_mcu_rx_thermal_notify(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_thermal_notify()
281 mt7915_mcu_rx_radar_detected(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_radar_detected()
305 mt7915_mcu_rx_log_message(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_log_message()
342 mt7915_mcu_rx_bcc_notify(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_bcc_notify()
[all …]
Deeprom.c8 static int mt7915_eeprom_load_precal(struct mt7915_dev *dev) in mt7915_eeprom_load_precal()
42 static int mt7915_check_eeprom(struct mt7915_dev *dev) in mt7915_check_eeprom()
62 static char *mt7915_eeprom_name(struct mt7915_dev *dev) in mt7915_eeprom_name()
93 mt7915_eeprom_load_default(struct mt7915_dev *dev) in mt7915_eeprom_load_default()
118 static int mt7915_eeprom_load(struct mt7915_dev *dev) in mt7915_eeprom_load()
156 struct mt7915_dev *dev = phy->dev; in mt7915_eeprom_parse_band_config()
198 void mt7915_eeprom_parse_hw_cap(struct mt7915_dev *dev, in mt7915_eeprom_parse_hw_cap()
250 int mt7915_eeprom_init(struct mt7915_dev *dev) in mt7915_eeprom_init()
275 int mt7915_eeprom_get_target_power(struct mt7915_dev *dev, in mt7915_eeprom_get_target_power()
323 s8 mt7915_eeprom_get_power_delta(struct mt7915_dev *dev, int band) in mt7915_eeprom_get_power_delta()
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()
291 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_remove_interface()
326 struct mt7915_dev *dev = phy->dev; in mt7915_set_channel()
359 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_set_key()
430 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_set_sar_specs()
450 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_config()
[all …]
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 *dev = phy->dev; in mt7915_tm_init()
[all …]
Dinit.c224 struct mt7915_dev *dev; in mt7915_led_set_config()
229 dev = container_of(mphy->dev, struct mt7915_dev, mt76); in mt7915_led_set_config()
283 struct mt7915_dev *dev = phy->dev; in __mt7915_init_txpower()
331 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_regd_notifier()
354 struct mt7915_dev *dev = phy->dev; in mt7915_init_wiphy()
473 mt7915_mac_init_band(struct mt7915_dev *dev, u8 band) in mt7915_mac_init_band()
535 mt7915_init_led_mux(struct mt7915_dev *dev) in mt7915_init_led_mux()
600 void mt7915_mac_init(struct mt7915_dev *dev) in mt7915_mac_init()
629 int mt7915_txbf_init(struct mt7915_dev *dev) in mt7915_txbf_init()
649 mt7915_alloc_ext_phy(struct mt7915_dev *dev) in mt7915_alloc_ext_phy()
[all …]
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()
238 void mt7915_mac_enable_rtscts(struct mt7915_dev *dev, in mt7915_mac_enable_rtscts()
252 mt7915_wed_check_ppe(struct mt7915_dev *dev, struct mt76_queue *q, in mt7915_wed_check_ppe()
279 mt7915_mac_fill_rx(struct mt7915_dev *dev, struct sk_buff *skb, in mt7915_mac_fill_rx()
567 mt7915_mac_fill_rx_vector(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mac_fill_rx_vector()
754 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_tx_prepare_skb()
853 mt7915_mac_tx_free_prepare(struct mt7915_dev *dev) in mt7915_mac_tx_free_prepare()
[all …]
Ddma.c11 struct mt7915_dev *dev = phy->dev; in mt7915_init_tx_queues()
30 struct mt7915_dev *dev; in mt7915_poll_tx()
32 dev = container_of(napi, struct mt7915_dev, mt76.tx_napi); in mt7915_poll_tx()
41 static void mt7915_dma_config(struct mt7915_dev *dev) in mt7915_dma_config()
123 static void __mt7915_dma_prefetch(struct mt7915_dev *dev, u32 ofs) in __mt7915_dma_prefetch()
165 void mt7915_dma_prefetch(struct mt7915_dev *dev) in mt7915_dma_prefetch()
172 static void mt7915_dma_disable(struct mt7915_dev *dev, bool rst) in mt7915_dma_disable()
255 int mt7915_dma_start(struct mt7915_dev *dev, bool reset, bool wed_reset) in mt7915_dma_start()
334 static int mt7915_dma_enable(struct mt7915_dev *dev, bool reset) in mt7915_dma_enable()
408 int mt7915_dma_init(struct mt7915_dev *dev, struct mt7915_phy *phy2) in mt7915_dma_init()
[all …]
Deeprom.h154 mt7915_tssi_enabled(struct mt7915_dev *dev, enum nl80211_band band) in mt7915_tssi_enabled()
170 mt7915_get_cal_group_size(struct mt7915_dev *dev) in mt7915_get_cal_group_size()
190 mt7915_get_cal_dpd_size(struct mt7915_dev *dev) in mt7915_get_cal_dpd_size()
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()