/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mt7915.h | 233 struct mt7915_dev *dev; 278 struct mt7915_dev { struct 378 static inline struct mt7915_dev * 383 return container_of(phy->dev, struct mt7915_dev, mt76); in mt7915_hw_dev() 387 mt7915_ext_phy(struct mt7915_dev *dev) in mt7915_ext_phy() 397 static inline u32 mt7915_check_adie(struct mt7915_dev *dev, bool sku) in mt7915_check_adie() 414 int mt7986_wmac_enable(struct mt7915_dev *dev); 415 void mt7986_wmac_disable(struct mt7915_dev *dev); 417 static inline int mt7986_wmac_enable(struct mt7915_dev *dev) in mt7986_wmac_enable() 422 static inline void mt7986_wmac_disable(struct mt7915_dev *dev) in mt7986_wmac_disable() [all …]
|
D | soc.c | 41 mt76_wmac_spi_read(struct mt7915_dev *dev, u8 adie, u32 addr, u32 *val) in mt76_wmac_spi_read() 68 mt76_wmac_spi_write(struct mt7915_dev *dev, u8 adie, u32 addr, u32 val) in mt76_wmac_spi_write() 89 mt76_wmac_spi_rmw(struct mt7915_dev *dev, u8 adie, in mt76_wmac_spi_rmw() 105 mt7986_wmac_adie_efuse_read(struct mt7915_dev *dev, u8 adie, in mt7986_wmac_adie_efuse_read() 147 static inline void mt76_wmac_spi_lock(struct mt7915_dev *dev) in mt76_wmac_spi_lock() 157 static inline void mt76_wmac_spi_unlock(struct mt7915_dev *dev) in mt76_wmac_spi_unlock() 170 static u8 mt7986_wmac_check_adie_type(struct mt7915_dev *dev) in mt7986_wmac_check_adie_type() 179 static int mt7986_wmac_consys_reset(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_reset() 191 static int mt7986_wmac_gpio_setup(struct mt7915_dev *dev) in mt7986_wmac_gpio_setup() 227 static int mt7986_wmac_consys_lockup(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_lockup() [all …]
|
D | mmio.c | 353 static u32 mt7915_reg_map_l1(struct mt7915_dev *dev, u32 addr) in mt7915_reg_map_l1() 374 static u32 mt7915_reg_map_l2(struct mt7915_dev *dev, u32 addr) in mt7915_reg_map_l2() 407 static u32 __mt7915_reg_addr(struct mt7915_dev *dev, u32 addr) in __mt7915_reg_addr() 453 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_rr() 461 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_wr() 469 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_rmw() 480 struct mt7915_dev *dev; in mt7915_mmio_init() 482 dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_mmio_init() 526 void mt7915_dual_hif_set_irq_mask(struct mt7915_dev *dev, in mt7915_dual_hif_set_irq_mask() 549 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_rx_poll_complete() [all …]
|
D | debugfs.c | 24 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_fw_ser_set() 102 struct mt7915_dev *dev = phy->dev; in mt7915_fw_ser_get() 158 struct mt7915_dev *dev = data; in mt7915_radar_trigger() 173 struct mt7915_dev *dev = data; in mt7915_muru_debug_set() 184 struct mt7915_dev *dev = data; in mt7915_muru_debug_get() 197 struct mt7915_dev *dev = phy->dev; in mt7915_muru_stats_show() 392 struct mt7915_dev *dev = dev_get_drvdata(s->private); in mt7915_rdd_monitor() 439 struct mt7915_dev *dev = data; in mt7915_fw_debug_wm_set() [all …]
|
D | eeprom.c | 8 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() 46 static char *mt7915_eeprom_name(struct mt7915_dev *dev) in mt7915_eeprom_name() 74 mt7915_eeprom_load_default(struct mt7915_dev *dev) in mt7915_eeprom_load_default() 99 static int mt7915_eeprom_load(struct mt7915_dev *dev) in mt7915_eeprom_load() 132 struct mt7915_dev *dev = phy->dev; in mt7915_eeprom_parse_band_config() 173 void mt7915_eeprom_parse_hw_cap(struct mt7915_dev *dev, in mt7915_eeprom_parse_hw_cap() 234 int mt7915_eeprom_init(struct mt7915_dev *dev) in mt7915_eeprom_init() 262 int mt7915_eeprom_get_target_power(struct mt7915_dev *dev, in mt7915_eeprom_get_target_power() 310 s8 mt7915_eeprom_get_power_delta(struct mt7915_dev *dev, int band) in mt7915_eeprom_get_power_delta()
|
D | main.c | 11 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() 90 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_stop() 185 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_add_interface() 266 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_remove_interface() 299 struct mt7915_dev *dev = phy->dev; in mt7915_set_channel() 344 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_set_key() 413 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_set_sar_specs() 433 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_config() 499 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_configure_filter() [all …]
|
D | mcu.c | 55 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_he_mcs() 110 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_vht_mcs() 183 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_mcu_send_message() 201 int mt7915_mcu_wa_cmd(struct mt7915_dev *dev, int cmd, u32 a1, u32 a2, u32 a3) in mt7915_mcu_wa_cmd() 224 mt7915_mcu_rx_csa_notify(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_csa_notify() 240 mt7915_mcu_rx_thermal_notify(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_thermal_notify() 258 mt7915_mcu_rx_radar_detected(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_radar_detected() 278 mt7915_mcu_rx_log_message(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_log_message() 315 mt7915_mcu_rx_bcc_notify(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_bcc_notify() 331 mt7915_mcu_rx_ext_event(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_ext_event() [all …]
|
D | pci.c | 101 struct mt7915_dev *dev; in mt7915_wed_offload_enable() 105 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_wed_offload_enable() 129 struct mt7915_dev *dev; in mt7915_wed_offload_disable() 132 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_wed_offload_disable() 152 mt7915_pci_wed_init(struct mt7915_dev *dev, struct pci_dev *pdev, int *irq) in mt7915_pci_wed_init() 190 struct mt7915_dev *dev; in mt7915_pci_probe() 296 struct mt7915_dev *dev; in mt7915_pci_remove() 299 dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_pci_remove()
|
D | init.c | 210 struct mt7915_dev *dev; in mt7915_led_set_config() 215 dev = container_of(mt76, struct mt7915_dev, mt76); in mt7915_led_set_config() 266 mt7915_init_txpower(struct mt7915_dev *dev, in mt7915_init_txpower() 303 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_regd_notifier() 327 struct mt7915_dev *dev = phy->dev; in mt7915_init_wiphy() 417 mt7915_mac_init_band(struct mt7915_dev *dev, u8 band) in mt7915_mac_init_band() 449 static void mt7915_mac_init(struct mt7915_dev *dev) in mt7915_mac_init() 479 static int mt7915_txbf_init(struct mt7915_dev *dev) in mt7915_txbf_init() 499 mt7915_alloc_ext_phy(struct mt7915_dev *dev) in mt7915_alloc_ext_phy() 522 mt7915_register_ext_phy(struct mt7915_dev *dev, struct mt7915_phy *phy) in mt7915_register_ext_phy() [all …]
|
D | mac.c | 52 static struct mt76_wcid *mt7915_rx_get_wcid(struct mt7915_dev *dev, in mt7915_rx_get_wcid() 79 bool mt7915_mac_wtbl_update(struct mt7915_dev *dev, int idx, u32 mask) in mt7915_mac_wtbl_update() 88 u32 mt7915_mac_wtbl_lmac_addr(struct mt7915_dev *dev, u16 wcid, u8 dw) in mt7915_mac_wtbl_lmac_addr() 96 static void mt7915_mac_sta_poll(struct mt7915_dev *dev) in mt7915_mac_sta_poll() 218 mt7915_mac_fill_rx(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mac_fill_rx() 502 mt7915_mac_fill_rx_vector(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mac_fill_rx_vector() 689 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_tx_prepare_skb() 813 mt7915_txwi_free(struct mt7915_dev *dev, struct mt76_txwi_cache *t, in mt7915_txwi_free() 856 mt7915_mac_tx_free_prepare(struct mt7915_dev *dev) in mt7915_mac_tx_free_prepare() 871 mt7915_mac_tx_free_done(struct mt7915_dev *dev, in mt7915_mac_tx_free_done() [all …]
|
D | dma.c | 11 struct mt7915_dev *dev = phy->dev; in mt7915_init_tx_queues() 24 struct mt7915_dev *dev; in mt7915_poll_tx() 26 dev = container_of(napi, struct mt7915_dev, mt76.tx_napi); in mt7915_poll_tx() 35 static void mt7915_dma_config(struct mt7915_dev *dev) in mt7915_dma_config() 75 static void __mt7915_dma_prefetch(struct mt7915_dev *dev, u32 ofs) in __mt7915_dma_prefetch() 117 void mt7915_dma_prefetch(struct mt7915_dev *dev) in mt7915_dma_prefetch() 124 static void mt7915_dma_disable(struct mt7915_dev *dev, bool rst) in mt7915_dma_disable() 207 static int mt7915_dma_enable(struct mt7915_dev *dev) in mt7915_dma_enable() 335 int mt7915_dma_init(struct mt7915_dev *dev, struct mt7915_phy *phy2) in mt7915_dma_init() 482 void mt7915_dma_cleanup(struct mt7915_dev *dev) in mt7915_dma_cleanup()
|
D | testmode.c | 40 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() 337 struct mt7915_dev *dev = phy->dev; in mt7915_tm_reg_backup_restore() 404 struct mt7915_dev *dev = phy->dev; in mt7915_tm_init() [all …]
|
D | eeprom.h | 149 mt7915_tssi_enabled(struct mt7915_dev *dev, enum nl80211_band band) in mt7915_tssi_enabled()
|