/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mt7921.h | 180 u32 mt7921_reg_map(struct mt792x_dev *dev, u32 addr); 183 int mt7921_register_device(struct mt792x_dev *dev); 184 void mt7921_unregister_device(struct mt792x_dev *dev); 185 int mt7921_run_firmware(struct mt792x_dev *dev); 186 int mt7921_mcu_set_bss_pm(struct mt792x_dev *dev, struct ieee80211_vif *vif, 188 int mt7921_mcu_sta_update(struct mt792x_dev *dev, struct ieee80211_sta *sta, 192 int mt7921_mcu_set_tx(struct mt792x_dev *dev, struct ieee80211_vif *vif); 193 int mt7921_mcu_set_eeprom(struct mt792x_dev *dev); 196 int mt7921_mcu_fw_log_2_host(struct mt792x_dev *dev, u8 ctrl); 197 void mt7921_mcu_rx_event(struct mt792x_dev *dev, struct sk_buff *skb); [all …]
|
D | debugfs.c | 9 struct mt792x_dev *dev = data; in mt7921_reg_set() 21 struct mt792x_dev *dev = data; in mt7921_reg_get() 35 struct mt792x_dev *dev = data; in mt7921_fw_debug_set() 50 struct mt792x_dev *dev = data; in mt7921_fw_debug_get() 93 struct mt792x_dev *dev = dev_get_drvdata(s->private); in mt7921_txpwr() 145 struct mt792x_dev *dev = data; in mt7921_pm_set() 178 struct mt792x_dev *dev = data; in mt7921_pm_get() 190 struct mt792x_dev *dev = data; in mt7921_deep_sleep_set() 214 struct mt792x_dev *dev = data; in mt7921_deep_sleep_get() 229 struct mt792x_dev *dev = data; in mt7921_chip_reset() [all …]
|
D | pci.c | 31 static int mt7921e_init_reset(struct mt792x_dev *dev) in mt7921e_init_reset() 36 static void mt7921e_unregister_device(struct mt792x_dev *dev) in mt7921e_unregister_device() 58 static u32 __mt7921_reg_addr(struct mt792x_dev *dev, u32 addr) in __mt7921_reg_addr() 137 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_rr() 145 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_wr() 153 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_rmw() 159 static int mt7921_dma_init(struct mt792x_dev *dev) in mt7921_dma_init() 267 struct mt792x_dev *dev; in mt7921_pci_probe() 314 dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_pci_probe() 385 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_pci_remove() [all …]
|
D | mcu.c | 72 static int mt7921_mcu_read_eeprom(struct mt792x_dev *dev, u32 offset, u8 *val) in mt7921_mcu_read_eeprom() 137 mt7921_mcu_uni_roc_event(struct mt792x_dev *dev, struct sk_buff *skb) in mt7921_mcu_uni_roc_event() 160 mt7921_mcu_scan_event(struct mt792x_dev *dev, struct sk_buff *skb) in mt7921_mcu_scan_event() 191 mt7921_mcu_connection_loss_event(struct mt792x_dev *dev, struct sk_buff *skb) in mt7921_mcu_connection_loss_event() 205 mt7921_mcu_debug_msg_event(struct mt792x_dev *dev, struct sk_buff *skb) in mt7921_mcu_debug_msg_event() 232 mt7921_mcu_low_power_event(struct mt792x_dev *dev, struct sk_buff *skb) in mt7921_mcu_low_power_event() 246 mt7921_mcu_tx_done_event(struct mt792x_dev *dev, struct sk_buff *skb) in mt7921_mcu_tx_done_event() 257 mt7921_mcu_rx_unsolicited_event(struct mt792x_dev *dev, struct sk_buff *skb) in mt7921_mcu_rx_unsolicited_event() 291 mt7921_mcu_uni_rx_unsolicited_event(struct mt792x_dev *dev, in mt7921_mcu_uni_rx_unsolicited_event() 308 void mt7921_mcu_rx_event(struct mt792x_dev *dev, struct sk_buff *skb) in mt7921_mcu_rx_event() [all …]
|
D | sdio_mcu.c | 19 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921s_mcu_send_message() 54 static u32 mt7921s_read_rm3r(struct mt792x_dev *dev) in mt7921s_read_rm3r() 61 static u32 mt7921s_clear_rm3r_drv_own(struct mt792x_dev *dev) in mt7921s_clear_rm3r_drv_own() 74 int mt7921s_mcu_init(struct mt792x_dev *dev) in mt7921s_mcu_init() 100 int mt7921s_mcu_drv_pmctrl(struct mt792x_dev *dev) in mt7921s_mcu_drv_pmctrl() 136 int mt7921s_mcu_fw_pmctrl(struct mt792x_dev *dev) in mt7921s_mcu_fw_pmctrl()
|
D | main.c | 267 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7921_stop() 288 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7921_add_interface() 441 struct mt792x_dev *dev = phy->dev; in mt7921_set_channel() 475 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7921_set_key() 547 struct mt792x_dev *dev = priv; in mt7921_pm_interface_iter() 568 struct mt792x_dev *dev = priv; in mt7921_sniffer_interface_iter() 583 void mt7921_set_runtime_pm(struct mt792x_dev *dev) in mt7921_set_runtime_pm() 599 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7921_config() 641 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7921_configure_filter() 666 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7921_bss_info_changed() [all …]
|
D | pci_mcu.c | 7 int mt7921e_driver_own(struct mt792x_dev *dev) in mt7921e_driver_own() 25 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_mcu_send_message() 41 int mt7921e_mcu_init(struct mt792x_dev *dev) in mt7921e_mcu_init()
|
D | usb.c | 31 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921u_mcu_send_message() 57 static int mt7921u_mcu_init(struct mt792x_dev *dev) in mt7921u_mcu_init() 81 static int mt7921u_mac_reset(struct mt792x_dev *dev) in mt7921u_mac_reset() 140 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7921u_stop() 182 struct mt792x_dev *dev; in mt7921u_probe() 197 dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921u_probe() 260 struct mt792x_dev *dev = usb_get_intfdata(intf); in mt7921u_suspend() 287 struct mt792x_dev *dev = usb_get_intfdata(intf); in mt7921u_resume()
|
D | mac.c | 18 bool mt7921_mac_wtbl_update(struct mt792x_dev *dev, int idx, u32 mask) in mt7921_mac_wtbl_update() 32 static void mt7921_mac_sta_poll(struct mt792x_dev *dev) in mt7921_mac_sta_poll() 165 mt7921_mac_fill_rx(struct mt792x_dev *dev, struct sk_buff *skb) in mt7921_mac_fill_rx() 445 void mt7921_mac_add_txs(struct mt792x_dev *dev, void *data) in mt7921_mac_add_txs() 486 static void mt7921_mac_tx_free(struct mt792x_dev *dev, void *data, int len) in mt7921_mac_tx_free() 568 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_rx_check() 593 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_queue_rx_skb() 638 struct mt792x_dev *dev = mvif->phy->dev; in mt7921_vif_connect_iter() 659 struct mt792x_dev *dev = container_of(work, struct mt792x_dev, in mt7921_mac_reset_work() 704 struct mt792x_dev *dev; in mt7921_coredump_work() [all …]
|
D | init.c | 20 struct mt792x_dev *mdev = phy->dev; in mt7921_thermal_temp_show() 69 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7921_regd_notifier() 82 int mt7921_mac_init(struct mt792x_dev *dev) in mt7921_mac_init() 102 static int __mt7921_init_hardware(struct mt792x_dev *dev) in __mt7921_init_hardware() 125 static int mt7921_init_hardware(struct mt792x_dev *dev) in mt7921_init_hardware() 149 struct mt792x_dev *dev = container_of(work, struct mt792x_dev, in mt7921_init_work() 185 int mt7921_register_device(struct mt792x_dev *dev) in mt7921_register_device()
|
D | sdio.c | 30 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921s_txrx_worker() 41 static void mt7921s_unregister_device(struct mt792x_dev *dev) in mt7921s_unregister_device() 125 struct mt792x_dev *dev; in mt7921s_probe() 139 dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921s_probe() 199 struct mt792x_dev *dev = sdio_get_drvdata(func); in mt7921s_remove() 207 struct mt792x_dev *dev = sdio_get_drvdata(func); in mt7921s_suspend() 280 struct mt792x_dev *dev = sdio_get_drvdata(func); in mt7921s_resume()
|
D | pci_mac.c | 13 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921e_tx_prepare_skb() 56 int mt7921e_mac_reset(struct mt792x_dev *dev) in mt7921e_mac_reset()
|
D | sdio_mac.c | 33 int mt7921s_wfsys_reset(struct mt792x_dev *dev) in mt7921s_wfsys_reset() 74 int mt7921s_init_reset(struct mt792x_dev *dev) in mt7921s_init_reset() 94 int mt7921s_mac_reset(struct mt792x_dev *dev) in mt7921s_mac_reset()
|
D | testmode.c | 34 mt7921_tm_set(struct mt792x_dev *dev, struct mt7921_tm_cmd *req) in mt7921_tm_set() 85 mt7921_tm_query(struct mt792x_dev *dev, struct mt7921_tm_cmd *req, in mt7921_tm_query()
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/ |
D | mt792x.h | 99 struct mt792x_dev *dev; 151 int (*init_reset)(struct mt792x_dev *dev); 152 int (*reset)(struct mt792x_dev *dev); 153 int (*mcu_init)(struct mt792x_dev *dev); 154 int (*drv_own)(struct mt792x_dev *dev); 155 int (*fw_own)(struct mt792x_dev *dev); 158 struct mt792x_dev { struct 192 static inline struct mt792x_dev * argument 197 return container_of(phy->dev, struct mt792x_dev, mt76); in mt792x_hw_dev() 222 static inline bool mt792x_dma_need_reinit(struct mt792x_dev *dev) in mt792x_dma_need_reinit() [all …]
|
D | mt792x_dma.c | 13 struct mt792x_dev *dev = dev_instance; in mt792x_irq_handler() 28 struct mt792x_dev *dev = (struct mt792x_dev *)data; in mt792x_irq_tasklet() 76 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt792x_rx_poll_complete() 89 static void mt792x_dma_prefetch(struct mt792x_dev *dev) in mt792x_dma_prefetch() 108 int mt792x_dma_enable(struct mt792x_dev *dev) in mt792x_dma_enable() 146 mt792x_dma_reset(struct mt792x_dev *dev, bool force) in mt792x_dma_reset() 169 int mt792x_wpdma_reset(struct mt792x_dev *dev, bool force) in mt792x_wpdma_reset() 199 int mt792x_wpdma_reinit_cond(struct mt792x_dev *dev) in mt792x_wpdma_reinit_cond() 225 int mt792x_dma_disable(struct mt792x_dev *dev, bool force) in mt792x_dma_disable() 260 void mt792x_dma_cleanup(struct mt792x_dev *dev) in mt792x_dma_cleanup() [all …]
|
D | mt792x_mac.c | 38 struct mt792x_dev *dev = phy->dev; in mt792x_mac_set_timeing() 80 struct mt792x_dev *dev = phy->dev; in mt792x_mac_update_mib_stats() 138 struct mt76_wcid *mt792x_rx_get_wcid(struct mt792x_dev *dev, u16 idx, in mt792x_rx_get_wcid() 179 void mt792x_mac_assoc_rssi(struct mt792x_dev *dev, struct sk_buff *skb) in mt792x_mac_assoc_rssi() 195 struct mt792x_dev *dev = phy->dev; in mt792x_mac_reset_counters() 225 struct mt792x_dev *dev = container_of(mphy->dev, struct mt792x_dev, mt76); in mt792x_phy_update_channel() 256 struct mt792x_dev *dev = container_of(mphy->dev, struct mt792x_dev, mt76); in mt792x_update_channel() 270 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt792x_reset() 286 void mt792x_mac_init_band(struct mt792x_dev *dev, u8 band) in mt792x_mac_init_band() 317 struct mt792x_dev *dev; in mt792x_pm_wake_work() [all …]
|
D | mt792x_debugfs.c | 10 struct mt792x_dev *dev = file->private; in mt792x_ampdu_stat_read_phy() 41 struct mt792x_dev *dev = file->private; in mt792x_tx_stats_show() 69 struct mt792x_dev *dev = dev_get_drvdata(s->private); in mt792x_queues_acq() 100 struct mt792x_dev *dev = dev_get_drvdata(s->private); in mt792x_queues_read() 129 struct mt792x_dev *dev = dev_get_drvdata(s->private); in mt792x_pm_stats() 152 struct mt792x_dev *dev = data; in mt792x_pm_idle_timeout_set() 162 struct mt792x_dev *dev = data; in mt792x_pm_idle_timeout_get()
|
D | mt792x_usb.c | 74 int mt792xu_mcu_power_on(struct mt792x_dev *dev) in mt792xu_mcu_power_on() 94 static void mt792xu_cleanup(struct mt792x_dev *dev) in mt792xu_cleanup() 122 static void mt792xu_dma_prefetch(struct mt792x_dev *dev) in mt792xu_dma_prefetch() 160 static void mt792xu_wfdma_init(struct mt792x_dev *dev) in mt792xu_wfdma_init() 180 static int mt792xu_dma_rx_evt_ep4(struct mt792x_dev *dev) in mt792xu_dma_rx_evt_ep4() 194 static void mt792xu_epctl_rst_opt(struct mt792x_dev *dev, bool reset) in mt792xu_epctl_rst_opt() 211 int mt792xu_dma_init(struct mt792x_dev *dev, bool resume) in mt792xu_dma_init() 239 int mt792xu_wfsys_reset(struct mt792x_dev *dev) in mt792xu_wfsys_reset() 272 int mt792xu_init_reset(struct mt792x_dev *dev) in mt792xu_init_reset() 292 struct mt792x_dev *dev = usb_get_intfdata(usb_intf); in mt792xu_disconnect()
|
D | mt792x_core.c | 57 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt792x_tx() 99 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt792x_remove_interface() 158 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt792x_get_tsf() 184 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt792x_set_tsf() 206 struct mt792x_dev *dev = container_of(w, struct mt792x_dev, in mt792x_tx_worker() 230 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt792x_flush() 243 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt792x_assign_vif_chanctx() 259 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt792x_unassign_vif_chanctx() 269 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt792x_set_wakeup() 397 struct mt792x_dev *dev = phy->dev; in mt792x_get_et_stats() [all …]
|
D | mt792x_acpi_sar.c | 8 mt792x_acpi_read(struct mt792x_dev *dev, u8 *method, u8 **tbl, u32 *len) in mt792x_acpi_read() 70 mt792x_asar_acpi_read_mtcl(struct mt792x_dev *dev, u8 **table, u8 *version) in mt792x_asar_acpi_read_mtcl() 80 mt792x_asar_acpi_read_mtds(struct mt792x_dev *dev, u8 **table, u8 version) in mt792x_asar_acpi_read_mtds() 115 mt792x_asar_acpi_read_mtgs(struct mt792x_dev *dev, u8 **table, u8 version) in mt792x_asar_acpi_read_mtgs() 146 mt792x_asar_acpi_read_mtfg(struct mt792x_dev *dev, u8 **table) in mt792x_asar_acpi_read_mtfg() 160 int mt792x_init_acpi_sar(struct mt792x_dev *dev) in mt792x_init_acpi_sar()
|
D | mt792x_trace.h | 24 TP_PROTO(struct mt792x_dev *dev, u8 lp_state),
|