/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mt7615.h | 158 struct mt7615_dev *dev; 218 int (*add_tx_ba)(struct mt7615_dev *dev, 221 int (*add_rx_ba)(struct mt7615_dev *dev, 230 int (*add_beacon_offload)(struct mt7615_dev *dev, 233 int (*set_pm_state)(struct mt7615_dev *dev, int band, int state); 234 int (*set_drv_ctrl)(struct mt7615_dev *dev); 235 int (*set_fw_ctrl)(struct mt7615_dev *dev); 236 int (*set_sta_decap_offload)(struct mt7615_dev *dev, 241 struct mt7615_dev { struct 337 static inline struct mt7615_dev * [all …]
|
D | debugfs.c | 8 struct mt7615_dev *dev = data; in mt7615_reg_set() 20 struct mt7615_dev *dev = data; in mt7615_reg_get() 35 struct mt7615_dev *dev = data; in mt7615_radar_pattern_set() 53 struct mt7615_dev *dev = data; in mt7615_config() 68 struct mt7615_dev *dev = data; in mt7615_scs_set() 85 struct mt7615_dev *dev = data; in mt7615_scs_get() 98 struct mt7615_dev *dev = data; in mt7615_pm_set() 139 struct mt7615_dev *dev = data; in mt7615_pm_get() 151 struct mt7615_dev *dev = dev_get_drvdata(s->private); in mt7615_pm_stats() 171 struct mt7615_dev *dev = data; in mt7615_pm_idle_timeout_set() [all …]
|
D | mmio.c | 66 u32 mt7615_reg_map(struct mt7615_dev *dev, u32 addr) in mt7615_reg_map() 85 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_rx_poll_complete() 92 struct mt7615_dev *dev = dev_instance; in mt7615_irq_handler() 106 struct mt7615_dev *dev = from_tasklet(dev, t, irq_tasklet); in mt7615_irq_tasklet() 152 static u32 __mt7615_reg_addr(struct mt7615_dev *dev, u32 addr) in __mt7615_reg_addr() 162 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_rr() 170 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_wr() 178 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_rmw() 207 struct mt7615_dev *dev; in mt7615_mmio_probe() 219 dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_mmio_probe()
|
D | dma.c | 15 mt7622_init_tx_queues_multi(struct mt7615_dev *dev) in mt7622_init_tx_queues_multi() 45 mt7615_init_tx_queues(struct mt7615_dev *dev) in mt7615_init_tx_queues() 68 struct mt7615_dev *dev; in mt7615_poll_tx() 70 dev = container_of(napi, struct mt7615_dev, mt76.tx_napi); in mt7615_poll_tx() 88 struct mt7615_dev *dev; in mt7615_poll_rx() 91 dev = container_of(napi->dev, struct mt7615_dev, mt76.napi_dev); in mt7615_poll_rx() 104 int mt7615_wait_pdma_busy(struct mt7615_dev *dev) in mt7615_wait_pdma_busy() 141 static void mt7622_dma_sched_init(struct mt7615_dev *dev) in mt7622_dma_sched_init() 165 static void mt7663_dma_sched_init(struct mt7615_dev *dev) in mt7663_dma_sched_init() 200 void mt7615_dma_start(struct mt7615_dev *dev) in mt7615_dma_start() [all …]
|
D | eeprom.c | 12 static int mt7615_efuse_read(struct mt7615_dev *dev, u32 base, in mt7615_efuse_read() 44 static int mt7615_efuse_init(struct mt7615_dev *dev, u32 base) in mt7615_efuse_init() 71 static int mt7615_eeprom_load(struct mt7615_dev *dev, u32 addr) in mt7615_eeprom_load() 97 mt7615_eeprom_parse_hw_band_cap(struct mt7615_dev *dev) in mt7615_eeprom_parse_hw_band_cap() 139 static void mt7615_eeprom_parse_hw_cap(struct mt7615_dev *dev) in mt7615_eeprom_parse_hw_cap() 168 static int mt7663_eeprom_get_target_power_index(struct mt7615_dev *dev, in mt7663_eeprom_get_target_power_index() 189 int mt7615_eeprom_get_target_power_index(struct mt7615_dev *dev, in mt7615_eeprom_get_target_power_index() 237 int mt7615_eeprom_get_power_delta_index(struct mt7615_dev *dev, in mt7615_eeprom_get_power_delta_index() 254 static void mt7615_apply_cal_free_data(struct mt7615_dev *dev) in mt7615_apply_cal_free_data() 290 static void mt7622_apply_cal_free_data(struct mt7615_dev *dev) in mt7622_apply_cal_free_data() [all …]
|
D | mcu.c | 62 void mt7615_mcu_fill_msg(struct mt7615_dev *dev, struct sk_buff *skb, in mt7615_mcu_fill_msg() 187 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_mcu_send_message() 199 u32 mt7615_rf_rr(struct mt7615_dev *dev, u32 wf, u32 reg) in mt7615_rf_rr() 214 int mt7615_rf_wr(struct mt7615_dev *dev, u32 wf, u32 reg, u32 val) in mt7615_rf_wr() 230 void mt7622_trigger_hif_int(struct mt7615_dev *dev, bool en) in mt7622_trigger_hif_int() 241 static int mt7615_mcu_drv_pmctrl(struct mt7615_dev *dev) in mt7615_mcu_drv_pmctrl() 281 static int mt7615_mcu_lp_drv_pmctrl(struct mt7615_dev *dev) in mt7615_mcu_lp_drv_pmctrl() 315 static int mt7615_mcu_fw_pmctrl(struct mt7615_dev *dev) in mt7615_mcu_fw_pmctrl() 360 mt7615_mcu_rx_csa_notify(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_rx_csa_notify() 380 mt7615_mcu_rx_radar_detected(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mcu_rx_radar_detected() [all …]
|
D | main.c | 15 static bool mt7615_dev_running(struct mt7615_dev *dev) in mt7615_dev_running() 29 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_start() 96 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_stop() 183 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_add_interface() 252 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_remove_interface() 287 struct mt7615_dev *dev = phy->dev; in mt7615_set_channel() 347 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_set_key() 438 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_config() 481 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_conf_tx() 500 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_configure_filter() [all …]
|
D | pci_init.c | 17 struct mt7615_dev *dev = container_of(work, struct mt7615_dev, in mt7615_pci_init_work() 33 static int mt7615_init_hardware(struct mt7615_dev *dev) in mt7615_init_hardware() 73 struct mt7615_dev *dev; in mt7615_led_set_config() 78 dev = container_of(mt76, struct mt7615_dev, mt76); in mt7615_led_set_config() 127 int mt7615_register_device(struct mt7615_dev *dev) in mt7615_register_device() 170 void mt7615_unregister_device(struct mt7615_dev *dev) in mt7615_unregister_device()
|
D | sdio.c | 32 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663s_txrx_worker() 44 struct mt7615_dev *dev; in mt7663s_init_work() 46 dev = container_of(work, struct mt7615_dev, mcu_work); in mt7663s_init_work() 103 struct mt7615_dev *dev; in mt7663s_probe() 116 dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663s_probe() 174 struct mt7615_dev *dev = sdio_get_drvdata(func); in mt7663s_remove() 187 struct mt7615_dev *mdev = sdio_get_drvdata(func); in mt7663s_suspend() 220 struct mt7615_dev *mdev = sdio_get_drvdata(func); in mt7663s_resume()
|
D | usb_sdio.c | 44 mt7663_usb_sdio_write_txwi(struct mt7615_dev *dev, struct mt76_wcid *wcid, in mt7663_usb_sdio_write_txwi() 56 static int mt7663_usb_sdio_set_rates(struct mt7615_dev *dev, in mt7663_usb_sdio_set_rates() 135 struct mt7615_dev *dev; in mt7663_usb_sdio_rate_work() 137 dev = (struct mt7615_dev *)container_of(work, struct mt7615_dev, in mt7663_usb_sdio_rate_work() 158 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663_usb_sdio_tx_status_data() 186 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663_usb_sdio_tx_prepare_skb() 226 static int mt7663u_dma_sched_init(struct mt7615_dev *dev) in mt7663u_dma_sched_init() 278 static int mt7663_usb_sdio_init_hardware(struct mt7615_dev *dev) in mt7663_usb_sdio_init_hardware() 306 int mt7663_usb_sdio_register_device(struct mt7615_dev *dev) in mt7663_usb_sdio_register_device()
|
D | pci_mac.c | 18 mt7615_write_fw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info, in mt7615_write_fw_txp() 65 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_tx_prepare_skb() 114 void mt7615_dma_reset(struct mt7615_dev *dev) in mt7615_dma_reset() 140 mt7615_hif_int_event_trigger(struct mt7615_dev *dev, u8 event) in mt7615_hif_int_event_trigger() 154 mt7615_wait_reset_state(struct mt7615_dev *dev, u32 state) in mt7615_wait_reset_state() 169 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_update_vif_beacon() 184 mt7615_update_beacons(struct mt7615_dev *dev) in mt7615_update_beacons() 204 struct mt7615_dev *dev; in mt7615_mac_reset_work() 208 dev = container_of(work, struct mt7615_dev, reset_work); in mt7615_mac_reset_work()
|
D | mac.c | 87 static struct mt76_wcid *mt7615_rx_get_wcid(struct mt7615_dev *dev, in mt7615_rx_get_wcid() 110 void mt7615_mac_reset_counters(struct mt7615_dev *dev) in mt7615_mac_reset_counters() 142 struct mt7615_dev *dev = phy->dev; in mt7615_mac_set_timing() 204 mt7615_get_status_freq_info(struct mt7615_dev *dev, struct mt76_phy *mphy, in mt7615_get_status_freq_info() 335 static int mt7615_mac_fill_rx(struct mt7615_dev *dev, struct sk_buff *skb) in mt7615_mac_fill_rx() 666 mt7615_mac_tx_rate_val(struct mt7615_dev *dev, in mt7615_mac_tx_rate_val() 722 int mt7615_mac_write_txwi(struct mt7615_dev *dev, __le32 *txwi, in mt7615_mac_write_txwi() 885 bool mt7615_mac_wtbl_update(struct mt7615_dev *dev, int idx, u32 mask) in mt7615_mac_wtbl_update() 894 void mt7615_mac_sta_poll(struct mt7615_dev *dev) in mt7615_mac_sta_poll() 973 struct mt7615_dev *dev = phy->dev; in mt7615_mac_update_rate_desc() [all …]
|
D | sdio_mcu.c | 19 static int mt7663s_mcu_init_sched(struct mt7615_dev *dev) in mt7663s_mcu_init_sched() 42 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663s_mcu_send_message() 55 static int __mt7663s_mcu_drv_pmctrl(struct mt7615_dev *dev) in __mt7663s_mcu_drv_pmctrl() 83 static int mt7663s_mcu_drv_pmctrl(struct mt7615_dev *dev) in mt7663s_mcu_drv_pmctrl() 98 static int mt7663s_mcu_fw_pmctrl(struct mt7615_dev *dev) in mt7663s_mcu_fw_pmctrl() 133 int mt7663s_mcu_init(struct mt7615_dev *dev) in mt7663s_mcu_init()
|
D | usb.c | 85 struct mt7615_dev *dev = hw->priv; in mt7663u_stop() 95 static void mt7663u_cleanup(struct mt7615_dev *dev) in mt7663u_cleanup() 103 struct mt7615_dev *dev; in mt7663u_init_work() 105 dev = container_of(work, struct mt7615_dev, mcu_work); in mt7663u_init_work() 138 struct mt7615_dev *dev; in mt7663u_probe() 153 dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663u_probe() 205 struct mt7615_dev *dev = usb_get_intfdata(usb_intf); in mt7663u_disconnect() 222 struct mt7615_dev *dev = usb_get_intfdata(intf); in mt7663u_suspend() 241 struct mt7615_dev *dev = usb_get_intfdata(intf); in mt7663u_resume()
|
D | init.c | 22 struct mt7615_dev *mdev = dev_get_drvdata(dev); in mt7615_thermal_show_temp() 48 int mt7615_thermal_init(struct mt7615_dev *dev) in mt7615_thermal_init() 69 mt7615_phy_init(struct mt7615_dev *dev) in mt7615_phy_init() 77 mt7615_init_mac_chain(struct mt7615_dev *dev, int chain) in mt7615_init_mac_chain() 136 mt7615_mac_init(struct mt7615_dev *dev) in mt7615_mac_init() 188 mt7615_check_offload_capability(struct mt7615_dev *dev) in mt7615_check_offload_capability() 222 bool mt7615_wait_for_mcu_init(struct mt7615_dev *dev) in mt7615_wait_for_mcu_init() 272 void mt7615_init_txpower(struct mt7615_dev *dev, in mt7615_init_txpower() 320 void mt7615_init_work(struct mt7615_dev *dev) in mt7615_init_work() 335 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_regd_notifier() [all …]
|
D | pci.c | 64 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_pci_remove() 75 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_pci_suspend() 142 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_pci_resume()
|
D | usb_mcu.c | 20 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663u_mcu_send_message() 45 int mt7663u_mcu_power_on(struct mt7615_dev *dev) in mt7663u_mcu_power_on() 65 int mt7663u_mcu_init(struct mt7615_dev *dev) in mt7663u_mcu_init()
|
D | testmode.c | 50 struct mt7615_dev *dev = phy->dev; in mt7615_tm_set_tx_power() 100 struct mt7615_dev *dev = phy->dev; in mt7615_tm_reg_backup_restore() 135 struct mt7615_dev *dev = phy->dev; in mt7615_tm_init() 152 mt7615_tm_set_rx_enable(struct mt7615_dev *dev, bool en) in mt7615_tm_set_rx_enable() 174 struct mt7615_dev *dev = phy->dev; in mt7615_tm_set_tx_antenna() 227 struct mt7615_dev *dev = phy->dev; in mt7615_tm_set_tx_frames() 244 struct mt7615_dev *dev = phy->dev; in mt7615_tm_update_params()
|
D | mt7615_trace.h | 28 TP_PROTO(struct mt7615_dev *dev, u16 token), 45 TP_PROTO(struct mt7615_dev *dev, u16 token),
|
D | soc.c | 16 int mt7622_wmac_init(struct mt7615_dev *dev) in mt7622_wmac_init() 50 struct mt7615_dev *dev = platform_get_drvdata(pdev); in mt7622_wmac_remove()
|
D | eeprom.h | 106 mt7615_ext_pa_enabled(struct mt7615_dev *dev, enum nl80211_band band) in mt7615_ext_pa_enabled()
|
D | mac.h | 332 static inline u32 mt7615_mac_wtbl_addr(struct mt7615_dev *dev, int wcid) in mt7615_mac_wtbl_addr()
|