Home
last modified time | relevance | path

Searched refs:mt792x_dev (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmt7921.h185 int mt7921_run_firmware(struct mt792x_dev *dev);
215 mt7921_l1_rr(struct mt792x_dev *dev, u32 addr) in mt7921_l1_rr()
252 int mt7921_mac_init(struct mt792x_dev *dev);
271 int mt7921_init_debugfs(struct mt792x_dev *dev);
276 int mt7921_mcu_uni_tx_ba(struct mt792x_dev *dev,
294 int mt7921e_driver_own(struct mt792x_dev *dev);
295 int mt7921e_mac_reset(struct mt792x_dev *dev);
296 int mt7921e_mcu_init(struct mt792x_dev *dev);
298 int mt7921s_mac_reset(struct mt792x_dev *dev);
299 int mt7921s_init_reset(struct mt792x_dev *dev);
[all …]
H A Ddebugfs.c9 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 …]
H A Dpci.c33 static int mt7921e_init_reset(struct mt792x_dev *dev) in mt7921e_init_reset()
38 static void mt7921e_unregister_device(struct mt792x_dev *dev) in mt7921e_unregister_device()
139 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_rr()
147 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_wr()
155 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_rmw()
161 static int mt7921_dma_init(struct mt792x_dev *dev) in mt7921_dma_init()
269 struct mt792x_dev *dev; in mt7921_pci_probe()
316 dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_pci_probe()
387 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_pci_remove()
400 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_pci_suspend()
[all …]
H A Dsdio_mcu.c19 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()
H A Dmcu.c291 mt7921_mcu_uni_rx_unsolicited_event(struct mt792x_dev *dev, in mt7921_mcu_uni_rx_unsolicited_event()
342 int mt7921_mcu_uni_tx_ba(struct mt792x_dev *dev, in mt7921_mcu_uni_tx_ba()
356 int mt7921_mcu_uni_rx_ba(struct mt792x_dev *dev, in mt7921_mcu_uni_rx_ba()
464 int mt7921_run_firmware(struct mt792x_dev *dev) in mt7921_run_firmware()
584 struct mt792x_dev *dev = phy->dev; in mt7921_mcu_set_roc()
649 struct mt792x_dev *dev = phy->dev; in mt7921_mcu_abort_roc()
678 struct mt792x_dev *dev = phy->dev; in mt7921_mcu_set_chan_info()
735 int mt7921_mcu_set_eeprom(struct mt792x_dev *dev) in mt7921_mcu_set_eeprom()
886 int mt7921_mcu_set_beacon_filter(struct mt792x_dev *dev, in mt7921_mcu_set_beacon_filter()
1043 mt7921_mcu_uni_add_beacon_offload(struct mt792x_dev *dev, in mt7921_mcu_uni_add_beacon_offload()
[all …]
H A Dpci_mcu.c7 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()
H A Dmain.c267 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()
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()
710 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_mac_sta_add()
751 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_mac_sta_assoc()
[all …]
H A Dusb.c31 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()
H A Dinit.c20 struct mt792x_dev *mdev = phy->dev; in mt7921_thermal_temp_show()
71 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7921_regd_notifier()
84 int mt7921_mac_init(struct mt792x_dev *dev) in mt7921_mac_init()
104 static int __mt7921_init_hardware(struct mt792x_dev *dev) in __mt7921_init_hardware()
127 static int mt7921_init_hardware(struct mt792x_dev *dev) in mt7921_init_hardware()
151 struct mt792x_dev *dev = container_of(work, struct mt792x_dev, in mt7921_init_work()
187 int mt7921_register_device(struct mt792x_dev *dev) in mt7921_register_device()
H A Dmac.c32 static void mt7921_mac_sta_poll(struct mt792x_dev *dev) in mt7921_mac_sta_poll()
445 void mt7921_mac_add_txs(struct mt792x_dev *dev, void *data) in mt7921_mac_add_txs()
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()
706 struct mt792x_dev *dev; in mt7921_coredump_work()
709 dev = (struct mt792x_dev *)container_of(work, struct mt792x_dev, in mt7921_coredump_work()
770 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_usb_sdio_tx_prepare_skb()
836 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_usb_sdio_tx_status_data()
[all …]
H A Dsdio.c30 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()
281 struct mt792x_dev *dev = sdio_get_drvdata(func); in mt7921s_resume()
H A Dpci_mac.c13 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()
H A Dsdio_mac.c33 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()
H A Dtestmode.c34 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()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x.h98 struct mt792x_dev *dev;
150 int (*init_reset)(struct mt792x_dev *dev);
151 int (*reset)(struct mt792x_dev *dev);
152 int (*mcu_init)(struct mt792x_dev *dev);
153 int (*drv_own)(struct mt792x_dev *dev);
154 int (*fw_own)(struct mt792x_dev *dev);
157 struct mt792x_dev { struct
191 static inline struct mt792x_dev * argument
280 int mt792x_dma_enable(struct mt792x_dev *dev);
289 int mt792x_wfsys_reset(struct mt792x_dev *dev);
[all …]
H A Dmt792x_dma.c13 struct mt792x_dev *dev = dev_instance; in mt792x_irq_handler()
30 struct mt792x_dev *dev = (struct mt792x_dev *)data; in mt792x_irq_tasklet()
78 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt792x_rx_poll_complete()
91 static void mt792x_dma_prefetch(struct mt792x_dev *dev) in mt792x_dma_prefetch()
110 int mt792x_dma_enable(struct mt792x_dev *dev) in mt792x_dma_enable()
148 mt792x_dma_reset(struct mt792x_dev *dev, bool force) in mt792x_dma_reset()
201 int mt792x_wpdma_reinit_cond(struct mt792x_dev *dev) in mt792x_wpdma_reinit_cond()
262 void mt792x_dma_cleanup(struct mt792x_dev *dev) in mt792x_dma_cleanup()
292 struct mt792x_dev *dev; in mt792x_poll_tx()
314 struct mt792x_dev *dev; in mt792x_poll_rx()
[all …]
H A Dmt792x_mac.c38 struct mt792x_dev *dev = phy->dev; in mt792x_mac_set_timeing()
80 struct mt792x_dev *dev = phy->dev; in mt792x_mac_update_mib_stats()
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()
320 dev = (struct mt792x_dev *)container_of(work, struct mt792x_dev, in mt792x_pm_wake_work()
351 struct mt792x_dev *dev; in mt792x_pm_power_save_work()
[all …]
H A Dmt792x_debugfs.c10 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()
H A Dmt792x_usb.c74 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()
H A Dmt792x_core.c57 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()
398 struct mt792x_dev *dev = phy->dev; in mt792x_get_et_stats()
503 struct mt792x_dev *dev = phy->dev; in mt792x_set_coverage_class()
[all …]
H A Dmt792x_acpi_sar.c8 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()
82 mt792x_asar_acpi_read_mtds(struct mt792x_dev *dev, u8 **table, u8 version) in mt792x_asar_acpi_read_mtds()
117 mt792x_asar_acpi_read_mtgs(struct mt792x_dev *dev, u8 **table, u8 version) in mt792x_asar_acpi_read_mtgs()
148 mt792x_asar_acpi_read_mtfg(struct mt792x_dev *dev, u8 **table) in mt792x_asar_acpi_read_mtfg()
162 int mt792x_init_acpi_sar(struct mt792x_dev *dev) in mt792x_init_acpi_sar()
H A Dmt792x_trace.h24 TP_PROTO(struct mt792x_dev *dev, u8 lp_state),