mt76_dev 88 drivers/net/wireless/mediatek/mt76/agg-rx.c struct mt76_dev *dev = tid->dev; mt76_dev 232 drivers/net/wireless/mediatek/mt76/agg-rx.c int mt76_rx_aggr_start(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tidno, mt76_dev 255 drivers/net/wireless/mediatek/mt76/agg-rx.c static void mt76_rx_aggr_shutdown(struct mt76_dev *dev, struct mt76_rx_tid *tid) mt76_dev 278 drivers/net/wireless/mediatek/mt76/agg-rx.c void mt76_rx_aggr_stop(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tidno) mt76_dev 10 drivers/net/wireless/mediatek/mt76/debugfs.c struct mt76_dev *dev = data; mt76_dev 19 drivers/net/wireless/mediatek/mt76/debugfs.c struct mt76_dev *dev = data; mt76_dev 31 drivers/net/wireless/mediatek/mt76/debugfs.c struct mt76_dev *dev = dev_get_drvdata(s->private); mt76_dev 63 drivers/net/wireless/mediatek/mt76/debugfs.c struct mt76_dev *dev = dev_get_drvdata(s->private); mt76_dev 78 drivers/net/wireless/mediatek/mt76/debugfs.c struct dentry *mt76_register_debugfs(struct mt76_dev *dev) mt76_dev 11 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_alloc_queue(struct mt76_dev *dev, struct mt76_queue *q, mt76_dev 48 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_add_buf(struct mt76_dev *dev, struct mt76_queue *q, mt76_dev 95 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_tx_cleanup_idx(struct mt76_dev *dev, struct mt76_queue *q, int idx, mt76_dev 129 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_sync_idx(struct mt76_dev *dev, struct mt76_queue *q) mt76_dev 139 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_tx_cleanup(struct mt76_dev *dev, enum mt76_txq_id qid, bool flush) mt76_dev 206 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_get_buf(struct mt76_dev *dev, struct mt76_queue *q, int idx, mt76_dev 232 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_dequeue(struct mt76_dev *dev, struct mt76_queue *q, bool flush, mt76_dev 251 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_kick_queue(struct mt76_dev *dev, struct mt76_queue *q) mt76_dev 257 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_tx_queue_skb_raw(struct mt76_dev *dev, enum mt76_txq_id qid, mt76_dev 281 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_tx_queue_skb(struct mt76_dev *dev, enum mt76_txq_id qid, mt76_dev 361 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_rx_fill(struct mt76_dev *dev, struct mt76_queue *q) mt76_dev 400 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_rx_cleanup(struct mt76_dev *dev, struct mt76_queue *q) mt76_dev 425 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_rx_reset(struct mt76_dev *dev, enum mt76_rxq_id qid) mt76_dev 445 drivers/net/wireless/mediatek/mt76/dma.c mt76_add_fragment(struct mt76_dev *dev, struct mt76_queue *q, void *data, mt76_dev 467 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_rx_process(struct mt76_dev *dev, struct mt76_queue *q, int budget) mt76_dev 529 drivers/net/wireless/mediatek/mt76/dma.c struct mt76_dev *dev; mt76_dev 532 drivers/net/wireless/mediatek/mt76/dma.c dev = container_of(napi->dev, struct mt76_dev, napi_dev); mt76_dev 554 drivers/net/wireless/mediatek/mt76/dma.c mt76_dma_init(struct mt76_dev *dev) mt76_dev 581 drivers/net/wireless/mediatek/mt76/dma.c void mt76_dma_attach(struct mt76_dev *dev) mt76_dev 587 drivers/net/wireless/mediatek/mt76/dma.c void mt76_dma_cleanup(struct mt76_dev *dev) mt76_dev 48 drivers/net/wireless/mediatek/mt76/dma.h void mt76_dma_attach(struct mt76_dev *dev); mt76_dev 49 drivers/net/wireless/mediatek/mt76/dma.h void mt76_dma_cleanup(struct mt76_dev *dev); mt76_dev 13 drivers/net/wireless/mediatek/mt76/eeprom.c mt76_get_of_eeprom(struct mt76_dev *dev, int len) mt76_dev 76 drivers/net/wireless/mediatek/mt76/eeprom.c mt76_eeprom_override(struct mt76_dev *dev) mt76_dev 100 drivers/net/wireless/mediatek/mt76/eeprom.c mt76_eeprom_init(struct mt76_dev *dev, int len) mt76_dev 82 drivers/net/wireless/mediatek/mt76/mac80211.c static int mt76_led_init(struct mt76_dev *dev) mt76_dev 111 drivers/net/wireless/mediatek/mt76/mac80211.c static void mt76_init_stream_cap(struct mt76_dev *dev, mt76_dev 148 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_set_stream_caps(struct mt76_dev *dev, bool vht) mt76_dev 158 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_init_sband(struct mt76_dev *dev, struct mt76_sband *msband, mt76_dev 214 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_init_sband_2g(struct mt76_dev *dev, struct ieee80211_rate *rates, mt76_dev 226 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_init_sband_5g(struct mt76_dev *dev, struct ieee80211_rate *rates, mt76_dev 238 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_check_sband(struct mt76_dev *dev, int band) mt76_dev 262 drivers/net/wireless/mediatek/mt76/mac80211.c struct mt76_dev * mt76_dev 268 drivers/net/wireless/mediatek/mt76/mac80211.c struct mt76_dev *dev; mt76_dev 292 drivers/net/wireless/mediatek/mt76/mac80211.c int mt76_register_device(struct mt76_dev *dev, bool vht, mt76_dev 359 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_unregister_device(struct mt76_dev *dev) mt76_dev 368 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_free_device(struct mt76_dev *dev) mt76_dev 375 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_rx(struct mt76_dev *dev, enum mt76_rxq_id q, struct sk_buff *skb) mt76_dev 386 drivers/net/wireless/mediatek/mt76/mac80211.c bool mt76_has_tx_pending(struct mt76_dev *dev) mt76_dev 401 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_set_channel(struct mt76_dev *dev) mt76_dev 429 drivers/net/wireless/mediatek/mt76/mac80211.c struct mt76_dev *dev = hw->priv; mt76_dev 465 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_wcid_key_setup(struct mt76_dev *dev, struct mt76_wcid *wcid, mt76_dev 555 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_check_sta(struct mt76_dev *dev, struct sk_buff *skb) mt76_dev 625 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_rx_complete(struct mt76_dev *dev, struct sk_buff_head *frames, mt76_dev 644 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_rx_poll_complete(struct mt76_dev *dev, enum mt76_rxq_id q, mt76_dev 662 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_sta_add(struct mt76_dev *dev, struct ieee80211_vif *vif, mt76_dev 696 drivers/net/wireless/mediatek/mt76/mac80211.c void __mt76_sta_remove(struct mt76_dev *dev, struct ieee80211_vif *vif, mt76_dev 719 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_sta_remove(struct mt76_dev *dev, struct ieee80211_vif *vif, mt76_dev 732 drivers/net/wireless/mediatek/mt76/mac80211.c struct mt76_dev *dev = hw->priv; mt76_dev 754 drivers/net/wireless/mediatek/mt76/mac80211.c struct mt76_dev *dev = hw->priv; mt76_dev 787 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_csa_finish(struct mt76_dev *dev) mt76_dev 803 drivers/net/wireless/mediatek/mt76/mac80211.c struct mt76_dev *dev = priv; mt76_dev 811 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_csa_check(struct mt76_dev *dev) mt76_dev 849 drivers/net/wireless/mediatek/mt76/mac80211.c int mt76_get_rate(struct mt76_dev *dev, mt76_dev 876 drivers/net/wireless/mediatek/mt76/mac80211.c struct mt76_dev *dev = hw->priv; mt76_dev 884 drivers/net/wireless/mediatek/mt76/mac80211.c struct mt76_dev *dev = hw->priv; mt76_dev 28 drivers/net/wireless/mediatek/mt76/mcu.c struct sk_buff *mt76_mcu_get_response(struct mt76_dev *dev, mt76_dev 44 drivers/net/wireless/mediatek/mt76/mcu.c void mt76_mcu_rx_event(struct mt76_dev *dev, struct sk_buff *skb) mt76_dev 9 drivers/net/wireless/mediatek/mt76/mmio.c static u32 mt76_mmio_rr(struct mt76_dev *dev, u32 offset) mt76_dev 19 drivers/net/wireless/mediatek/mt76/mmio.c static void mt76_mmio_wr(struct mt76_dev *dev, u32 offset, u32 val) mt76_dev 25 drivers/net/wireless/mediatek/mt76/mmio.c static u32 mt76_mmio_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) mt76_dev 32 drivers/net/wireless/mediatek/mt76/mmio.c static void mt76_mmio_write_copy(struct mt76_dev *dev, u32 offset, mt76_dev 38 drivers/net/wireless/mediatek/mt76/mmio.c static void mt76_mmio_read_copy(struct mt76_dev *dev, u32 offset, mt76_dev 44 drivers/net/wireless/mediatek/mt76/mmio.c static int mt76_mmio_wr_rp(struct mt76_dev *dev, u32 base, mt76_dev 56 drivers/net/wireless/mediatek/mt76/mmio.c static int mt76_mmio_rd_rp(struct mt76_dev *dev, u32 base, mt76_dev 68 drivers/net/wireless/mediatek/mt76/mmio.c void mt76_set_irq_mask(struct mt76_dev *dev, u32 addr, mt76_dev 81 drivers/net/wireless/mediatek/mt76/mmio.c void mt76_mmio_init(struct mt76_dev *dev, void __iomem *regs) mt76_dev 24 drivers/net/wireless/mediatek/mt76/mt76.h struct mt76_dev; mt76_dev 38 drivers/net/wireless/mediatek/mt76/mt76.h u32 (*rr)(struct mt76_dev *dev, u32 offset); mt76_dev 39 drivers/net/wireless/mediatek/mt76/mt76.h void (*wr)(struct mt76_dev *dev, u32 offset, u32 val); mt76_dev 40 drivers/net/wireless/mediatek/mt76/mt76.h u32 (*rmw)(struct mt76_dev *dev, u32 offset, u32 mask, u32 val); mt76_dev 41 drivers/net/wireless/mediatek/mt76/mt76.h void (*write_copy)(struct mt76_dev *dev, u32 offset, const void *data, mt76_dev 43 drivers/net/wireless/mediatek/mt76/mt76.h void (*read_copy)(struct mt76_dev *dev, u32 offset, void *data, mt76_dev 45 drivers/net/wireless/mediatek/mt76/mt76.h int (*wr_rp)(struct mt76_dev *dev, u32 base, mt76_dev 47 drivers/net/wireless/mediatek/mt76/mt76.h int (*rd_rp)(struct mt76_dev *dev, u32 base, mt76_dev 139 drivers/net/wireless/mediatek/mt76/mt76.h int (*mcu_send_msg)(struct mt76_dev *dev, int cmd, const void *data, mt76_dev 141 drivers/net/wireless/mediatek/mt76/mt76.h int (*mcu_wr_rp)(struct mt76_dev *dev, u32 base, mt76_dev 143 drivers/net/wireless/mediatek/mt76/mt76.h int (*mcu_rd_rp)(struct mt76_dev *dev, u32 base, mt76_dev 145 drivers/net/wireless/mediatek/mt76/mt76.h int (*mcu_restart)(struct mt76_dev *dev); mt76_dev 149 drivers/net/wireless/mediatek/mt76/mt76.h int (*init)(struct mt76_dev *dev); mt76_dev 151 drivers/net/wireless/mediatek/mt76/mt76.h int (*alloc)(struct mt76_dev *dev, struct mt76_queue *q, mt76_dev 155 drivers/net/wireless/mediatek/mt76/mt76.h int (*add_buf)(struct mt76_dev *dev, struct mt76_queue *q, mt76_dev 159 drivers/net/wireless/mediatek/mt76/mt76.h int (*tx_queue_skb)(struct mt76_dev *dev, enum mt76_txq_id qid, mt76_dev 163 drivers/net/wireless/mediatek/mt76/mt76.h int (*tx_queue_skb_raw)(struct mt76_dev *dev, enum mt76_txq_id qid, mt76_dev 166 drivers/net/wireless/mediatek/mt76/mt76.h void *(*dequeue)(struct mt76_dev *dev, struct mt76_queue *q, bool flush, mt76_dev 169 drivers/net/wireless/mediatek/mt76/mt76.h void (*rx_reset)(struct mt76_dev *dev, enum mt76_rxq_id qid); mt76_dev 171 drivers/net/wireless/mediatek/mt76/mt76.h void (*tx_cleanup)(struct mt76_dev *dev, enum mt76_txq_id qid, mt76_dev 174 drivers/net/wireless/mediatek/mt76/mt76.h void (*kick)(struct mt76_dev *dev, struct mt76_queue *q); mt76_dev 237 drivers/net/wireless/mediatek/mt76/mt76.h struct mt76_dev *dev; mt76_dev 292 drivers/net/wireless/mediatek/mt76/mt76.h void (*update_survey)(struct mt76_dev *dev); mt76_dev 294 drivers/net/wireless/mediatek/mt76/mt76.h int (*tx_prepare_skb)(struct mt76_dev *dev, void *txwi_ptr, mt76_dev 299 drivers/net/wireless/mediatek/mt76/mt76.h void (*tx_complete_skb)(struct mt76_dev *dev, enum mt76_txq_id qid, mt76_dev 302 drivers/net/wireless/mediatek/mt76/mt76.h bool (*tx_status_data)(struct mt76_dev *dev, u8 *update); mt76_dev 304 drivers/net/wireless/mediatek/mt76/mt76.h void (*rx_skb)(struct mt76_dev *dev, enum mt76_rxq_id q, mt76_dev 307 drivers/net/wireless/mediatek/mt76/mt76.h void (*rx_poll_complete)(struct mt76_dev *dev, enum mt76_rxq_id q); mt76_dev 309 drivers/net/wireless/mediatek/mt76/mt76.h void (*sta_ps)(struct mt76_dev *dev, struct ieee80211_sta *sta, mt76_dev 312 drivers/net/wireless/mediatek/mt76/mt76.h int (*sta_add)(struct mt76_dev *dev, struct ieee80211_vif *vif, mt76_dev 315 drivers/net/wireless/mediatek/mt76/mt76.h void (*sta_assoc)(struct mt76_dev *dev, struct ieee80211_vif *vif, mt76_dev 318 drivers/net/wireless/mediatek/mt76/mt76.h void (*sta_remove)(struct mt76_dev *dev, struct ieee80211_vif *vif, mt76_dev 571 drivers/net/wireless/mediatek/mt76/mt76.h bool __mt76_poll(struct mt76_dev *dev, u32 offset, u32 mask, u32 val, mt76_dev 576 drivers/net/wireless/mediatek/mt76/mt76.h bool __mt76_poll_msec(struct mt76_dev *dev, u32 offset, u32 mask, u32 val, mt76_dev 581 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_mmio_init(struct mt76_dev *dev, void __iomem *regs); mt76_dev 584 drivers/net/wireless/mediatek/mt76/mt76.h static inline u16 mt76_chip(struct mt76_dev *dev) mt76_dev 589 drivers/net/wireless/mediatek/mt76/mt76.h static inline u16 mt76_rev(struct mt76_dev *dev) mt76_dev 606 drivers/net/wireless/mediatek/mt76/mt76.h mt76_channel_state(struct mt76_dev *dev, struct ieee80211_channel *c) mt76_dev 620 drivers/net/wireless/mediatek/mt76/mt76.h struct mt76_dev *mt76_alloc_device(struct device *pdev, unsigned int size, mt76_dev 623 drivers/net/wireless/mediatek/mt76/mt76.h int mt76_register_device(struct mt76_dev *dev, bool vht, mt76_dev 625 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_unregister_device(struct mt76_dev *dev); mt76_dev 626 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_free_device(struct mt76_dev *dev); mt76_dev 628 drivers/net/wireless/mediatek/mt76/mt76.h struct dentry *mt76_register_debugfs(struct mt76_dev *dev); mt76_dev 632 drivers/net/wireless/mediatek/mt76/mt76.h int mt76_eeprom_init(struct mt76_dev *dev, int len); mt76_dev 633 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_eeprom_override(struct mt76_dev *dev); mt76_dev 636 drivers/net/wireless/mediatek/mt76/mt76.h mt76_get_txwi_ptr(struct mt76_dev *dev, struct mt76_txwi_cache *t) mt76_dev 703 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_rx(struct mt76_dev *dev, enum mt76_rxq_id q, struct sk_buff *skb); mt76_dev 704 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_tx(struct mt76_dev *dev, struct ieee80211_sta *sta, mt76_dev 706 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_txq_init(struct mt76_dev *dev, struct ieee80211_txq *txq); mt76_dev 707 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_txq_remove(struct mt76_dev *dev, struct ieee80211_txq *txq); mt76_dev 709 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_stop_tx_queues(struct mt76_dev *dev, struct ieee80211_sta *sta, mt76_dev 711 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_txq_schedule(struct mt76_dev *dev, enum mt76_txq_id qid); mt76_dev 712 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_txq_schedule_all(struct mt76_dev *dev); mt76_dev 719 drivers/net/wireless/mediatek/mt76/mt76.h bool mt76_has_tx_pending(struct mt76_dev *dev); mt76_dev 720 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_set_channel(struct mt76_dev *dev); mt76_dev 723 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_set_stream_caps(struct mt76_dev *dev, bool vht); mt76_dev 725 drivers/net/wireless/mediatek/mt76/mt76.h int mt76_rx_aggr_start(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tid, mt76_dev 727 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_rx_aggr_stop(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tid); mt76_dev 729 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_wcid_key_setup(struct mt76_dev *dev, struct mt76_wcid *wcid, mt76_dev 732 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_tx_status_lock(struct mt76_dev *dev, struct sk_buff_head *list) mt76_dev 734 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_tx_status_unlock(struct mt76_dev *dev, struct sk_buff_head *list) mt76_dev 737 drivers/net/wireless/mediatek/mt76/mt76.h int mt76_tx_status_skb_add(struct mt76_dev *dev, struct mt76_wcid *wcid, mt76_dev 739 drivers/net/wireless/mediatek/mt76/mt76.h struct sk_buff *mt76_tx_status_skb_get(struct mt76_dev *dev, mt76_dev 742 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_tx_status_skb_done(struct mt76_dev *dev, struct sk_buff *skb, mt76_dev 744 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_tx_complete_skb(struct mt76_dev *dev, struct sk_buff *skb); mt76_dev 745 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_tx_status_check(struct mt76_dev *dev, struct mt76_wcid *wcid, mt76_dev 751 drivers/net/wireless/mediatek/mt76/mt76.h void __mt76_sta_remove(struct mt76_dev *dev, struct ieee80211_vif *vif, mt76_dev 754 drivers/net/wireless/mediatek/mt76/mt76.h int mt76_get_min_avg_rssi(struct mt76_dev *dev); mt76_dev 759 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_csa_check(struct mt76_dev *dev); mt76_dev 760 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_csa_finish(struct mt76_dev *dev); mt76_dev 764 drivers/net/wireless/mediatek/mt76/mt76.h int mt76_get_rate(struct mt76_dev *dev, mt76_dev 773 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_tx_free(struct mt76_dev *dev); mt76_dev 774 drivers/net/wireless/mediatek/mt76/mt76.h struct mt76_txwi_cache *mt76_get_txwi(struct mt76_dev *dev); mt76_dev 775 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_put_txwi(struct mt76_dev *dev, struct mt76_txwi_cache *t); mt76_dev 776 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_rx_complete(struct mt76_dev *dev, struct sk_buff_head *frames, mt76_dev 778 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_rx_poll_complete(struct mt76_dev *dev, enum mt76_rxq_id q, mt76_dev 799 drivers/net/wireless/mediatek/mt76/mt76.h mt76u_bulk_msg(struct mt76_dev *dev, void *data, int len, int *actual_len, mt76_dev 815 drivers/net/wireless/mediatek/mt76/mt76.h int mt76u_vendor_request(struct mt76_dev *dev, u8 req, mt76_dev 818 drivers/net/wireless/mediatek/mt76/mt76.h void mt76u_single_wr(struct mt76_dev *dev, const u8 req, mt76_dev 820 drivers/net/wireless/mediatek/mt76/mt76.h int mt76u_init(struct mt76_dev *dev, struct usb_interface *intf); mt76_dev 821 drivers/net/wireless/mediatek/mt76/mt76.h int mt76u_alloc_queues(struct mt76_dev *dev); mt76_dev 822 drivers/net/wireless/mediatek/mt76/mt76.h void mt76u_stop_tx(struct mt76_dev *dev); mt76_dev 823 drivers/net/wireless/mediatek/mt76/mt76.h void mt76u_stop_rx(struct mt76_dev *dev); mt76_dev 824 drivers/net/wireless/mediatek/mt76/mt76.h int mt76u_resume_rx(struct mt76_dev *dev); mt76_dev 825 drivers/net/wireless/mediatek/mt76/mt76.h void mt76u_queues_deinit(struct mt76_dev *dev); mt76_dev 830 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_mcu_rx_event(struct mt76_dev *dev, struct sk_buff *skb); mt76_dev 831 drivers/net/wireless/mediatek/mt76/mt76.h struct sk_buff *mt76_mcu_get_response(struct mt76_dev *dev, mt76_dev 834 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_set_irq_mask(struct mt76_dev *dev, u32 addr, u32 clear, u32 set); mt76_dev 5 drivers/net/wireless/mediatek/mt76/mt7603/core.c void mt7603_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q) mt76_dev 83 drivers/net/wireless/mediatek/mt76/mt7603/dma.c void mt7603_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, mt76_dev 132 drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c static int mt7603_check_eeprom(struct mt76_dev *dev) mt76_dev 357 drivers/net/wireless/mediatek/mt76/mt7603/init.c static void mt7603_led_set_config(struct mt76_dev *mt76, u8 delay_on, mt76_dev 385 drivers/net/wireless/mediatek/mt76/mt7603/init.c struct mt76_dev *mt76 = container_of(led_cdev, struct mt76_dev, mt76_dev 399 drivers/net/wireless/mediatek/mt76/mt7603/init.c struct mt76_dev *mt76 = container_of(led_cdev, struct mt76_dev, mt76_dev 416 drivers/net/wireless/mediatek/mt76/mt7603/init.c static u32 mt7603_rr(struct mt76_dev *mdev, u32 offset) mt76_dev 424 drivers/net/wireless/mediatek/mt76/mt7603/init.c static void mt7603_wr(struct mt76_dev *mdev, u32 offset, u32 val) mt76_dev 432 drivers/net/wireless/mediatek/mt76/mt7603/init.c static u32 mt7603_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) mt76_dev 907 drivers/net/wireless/mediatek/mt76/mt7603/mac.c int mt7603_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, mt76_dev 1085 drivers/net/wireless/mediatek/mt76/mt7603/mac.c struct mt76_dev *mdev = &dev->mt76; mt76_dev 1153 drivers/net/wireless/mediatek/mt76/mt7603/mac.c void mt7603_tx_complete_skb(struct mt76_dev *mdev, enum mt76_txq_id qid, mt76_dev 1462 drivers/net/wireless/mediatek/mt76/mt7603/mac.c void mt7603_update_channel(struct mt76_dev *mdev) mt76_dev 314 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 342 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_sta_assoc(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 351 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 377 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps) mt76_dev 21 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c struct mt76_dev *mdev = &dev->mt76; mt76_dev 57 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c mt7603_mcu_msg_send(struct mt76_dev *mdev, int cmd, const void *data, mt76_dev 159 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c mt7603_mcu_restart(struct mt76_dev *dev) mt76_dev 98 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h struct mt76_dev mt76; /* must be first */ mt76_dev 227 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h int mt7603_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, mt76_dev 232 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_tx_complete_skb(struct mt76_dev *mdev, enum mt76_txq_id qid, mt76_dev 235 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, mt76_dev 237 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q); mt76_dev 238 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps); mt76_dev 239 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h int mt7603_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 241 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_sta_assoc(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 243 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 248 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_update_channel(struct mt76_dev *mdev); mt76_dev 18 drivers/net/wireless/mediatek/mt76/mt7603/pci.c struct mt76_dev *mdev; mt76_dev 65 drivers/net/wireless/mediatek/mt76/mt7603/pci.c struct mt76_dev *mdev = pci_get_drvdata(pdev); mt76_dev 14 drivers/net/wireless/mediatek/mt76/mt7603/soc.c struct mt76_dev *mdev; mt76_dev 58 drivers/net/wireless/mediatek/mt76/mt7603/soc.c struct mt76_dev *mdev = platform_get_drvdata(pdev); mt76_dev 59 drivers/net/wireless/mediatek/mt76/mt7615/dma.c void mt7615_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, mt76_dev 81 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c static int mt7615_check_eeprom(struct mt76_dev *dev) mt76_dev 218 drivers/net/wireless/mediatek/mt76/mt7615/mac.c void mt7615_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps) mt76_dev 222 drivers/net/wireless/mediatek/mt76/mt7615/mac.c void mt7615_tx_complete_skb(struct mt76_dev *mdev, enum mt76_txq_id qid, mt76_dev 446 drivers/net/wireless/mediatek/mt76/mt7615/mac.c void mt7615_txp_skb_unmap(struct mt76_dev *dev, mt76_dev 762 drivers/net/wireless/mediatek/mt76/mt7615/mac.c int mt7615_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, mt76_dev 976 drivers/net/wireless/mediatek/mt76/mt7615/mac.c struct mt76_dev *mdev = &dev->mt76; mt76_dev 1047 drivers/net/wireless/mediatek/mt76/mt7615/mac.c struct mt76_dev *mdev = &dev->mt76; mt76_dev 1240 drivers/net/wireless/mediatek/mt76/mt7615/mac.c void mt7615_update_channel(struct mt76_dev *mdev) mt76_dev 1267 drivers/net/wireless/mediatek/mt76/mt7615/mac.c dev = (struct mt7615_dev *)container_of(work, struct mt76_dev, mt76_dev 321 drivers/net/wireless/mediatek/mt76/mt7615/mac.h mt7615_txwi_to_txp(struct mt76_dev *dev, struct mt76_txwi_cache *t) mt76_dev 339 drivers/net/wireless/mediatek/mt76/mt7615/main.c int mt7615_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 361 drivers/net/wireless/mediatek/mt76/mt7615/main.c void mt7615_sta_assoc(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 370 drivers/net/wireless/mediatek/mt76/mt7615/main.c void mt7615_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 143 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_msg_send(struct mt76_dev *mdev, int cmd, const void *data, mt76_dev 291 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c static int mt7615_mcu_restart(struct mt76_dev *dev) mt76_dev 80 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h struct mt76_dev mt76; /* must be first */ mt76_dev 205 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h static inline bool is_mt7622(struct mt76_dev *dev) mt76_dev 231 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_update_channel(struct mt76_dev *mdev); mt76_dev 253 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, mt76_dev 258 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_tx_complete_skb(struct mt76_dev *mdev, enum mt76_txq_id qid, mt76_dev 261 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, mt76_dev 263 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps); mt76_dev 264 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 266 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_sta_assoc(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 268 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 271 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_txp_skb_unmap(struct mt76_dev *dev, mt76_dev 31 drivers/net/wireless/mediatek/mt76/mt7615/pci.c mt7615_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q) mt76_dev 87 drivers/net/wireless/mediatek/mt76/mt7615/pci.c struct mt76_dev *mdev; mt76_dev 133 drivers/net/wireless/mediatek/mt76/mt7615/pci.c struct mt76_dev *mdev = pci_get_drvdata(pdev); mt76_dev 169 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c struct mt76_dev *mdev; mt76_dev 228 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c struct mt76_dev *mdev = pci_get_drvdata(pdev); mt76_dev 225 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c struct mt76_dev *mdev; mt76_dev 73 drivers/net/wireless/mediatek/mt76/mt76x02.h struct mt76_dev mt76; /* must be first */ mt76_dev 136 drivers/net/wireless/mediatek/mt76/mt76x02.h int mt76x02_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 138 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 169 drivers/net/wireless/mediatek/mt76/mt76x02.h bool mt76x02_tx_status_data(struct mt76_dev *mdev, u8 *update); mt76_dev 170 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, mt76_dev 172 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q); mt76_dev 176 drivers/net/wireless/mediatek/mt76/mt76x02.h int mt76x02_tx_prepare_skb(struct mt76_dev *mdev, void *txwi, mt76_dev 182 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_sta_ps(struct mt76_dev *dev, struct ieee80211_sta *sta, bool ps); mt76_dev 231 drivers/net/wireless/mediatek/mt76/mt76x02.h mt76x02_wait_for_txrx_idle(struct mt76_dev *dev) mt76_dev 239 drivers/net/wireless/mediatek/mt76/mt76x02.h mt76x02_rx_get_sta(struct mt76_dev *dev, u8 idx) mt76_dev 54 drivers/net/wireless/mediatek/mt76/mt76x02_dma.h mt76x02_wait_for_wpdma(struct mt76_dev *dev, int timeout) mt76_dev 521 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c struct mt76_dev *mdev = &dev->mt76; mt76_dev 826 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_tx_complete_skb(struct mt76_dev *mdev, enum mt76_txq_id qid, mt76_dev 947 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_update_channel(struct mt76_dev *mdev) mt76_dev 143 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h static inline bool mt76x02_wait_for_mac(struct mt76_dev *dev) mt76_dev 190 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_tx_complete_skb(struct mt76_dev *mdev, enum mt76_txq_id qid, mt76_dev 192 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_update_channel(struct mt76_dev *mdev); mt76_dev 13 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c int mt76x02_mcu_msg_send(struct mt76_dev *mdev, int cmd, const void *data, mt76_dev 96 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h int mt76x02_mcu_msg_send(struct mt76_dev *mdev, int cmd, const void *data, mt76_dev 247 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c void mt76x02_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q) mt76_dev 35 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c void mt76x02_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, mt76_dev 124 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c bool mt76x02_tx_status_data(struct mt76_dev *mdev, u8 *update) mt76_dev 138 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c int mt76x02_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, mt76_dev 11 drivers/net/wireless/mediatek/mt76/mt76x02_usb.h void mt76x02u_init_mcu(struct mt76_dev *dev); mt76_dev 17 drivers/net/wireless/mediatek/mt76/mt76x02_usb.h int mt76x02u_tx_prepare_skb(struct mt76_dev *mdev, void *data, mt76_dev 21 drivers/net/wireless/mediatek/mt76/mt76x02_usb.h void mt76x02u_tx_complete_skb(struct mt76_dev *mdev, enum mt76_txq_id qid, mt76_dev 18 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c void mt76x02u_tx_complete_skb(struct mt76_dev *mdev, enum mt76_txq_id qid, mt76_dev 63 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c int mt76x02u_tx_prepare_skb(struct mt76_dev *mdev, void *data, mt76_dev 21 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mt76x02u_multiple_mcu_reads(struct mt76_dev *dev, u8 *data, int len) mt76_dev 50 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c static int mt76x02u_mcu_wait_resp(struct mt76_dev *dev, u8 seq) mt76_dev 82 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c __mt76x02u_mcu_send_msg(struct mt76_dev *dev, struct sk_buff *skb, mt76_dev 119 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mt76x02u_mcu_send_msg(struct mt76_dev *dev, int cmd, const void *data, mt76_dev 143 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mt76x02u_mcu_wr_rp(struct mt76_dev *dev, u32 base, mt76_dev 177 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mt76x02u_mcu_rd_rp(struct mt76_dev *dev, u32 base, mt76_dev 291 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c void mt76x02u_init_mcu(struct mt76_dev *dev) mt76_dev 92 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_led_set_config(struct mt76_dev *mdev, u8 delay_on, mt76_dev 118 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76_dev *mdev = container_of(led_cdev, struct mt76_dev, mt76_dev 134 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76_dev *mdev = container_of(led_cdev, struct mt76_dev, mt76_dev 247 drivers/net/wireless/mediatek/mt76/mt76x02_util.c int mt76x02_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 275 drivers/net/wireless/mediatek/mt76/mt76x02_util.c void mt76x02_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, mt76_dev 619 drivers/net/wireless/mediatek/mt76/mt76x02_util.c void mt76x02_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, mt76_dev 35 drivers/net/wireless/mediatek/mt76/mt76x2/pci.c struct mt76_dev *mdev; mt76_dev 96 drivers/net/wireless/mediatek/mt76/mt76x2/pci.c struct mt76_dev *mdev = pci_get_drvdata(pdev); mt76_dev 158 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76pci_mcu_restart(struct mt76_dev *mdev) mt76_dev 40 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c struct mt76_dev *mdev; mt76_dev 28 drivers/net/wireless/mediatek/mt76/trace.h TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), mt76_dev 45 drivers/net/wireless/mediatek/mt76/trace.h TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), mt76_dev 50 drivers/net/wireless/mediatek/mt76/trace.h TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), mt76_dev 9 drivers/net/wireless/mediatek/mt76/tx.c mt76_alloc_txwi(struct mt76_dev *dev) mt76_dev 30 drivers/net/wireless/mediatek/mt76/tx.c __mt76_get_txwi(struct mt76_dev *dev) mt76_dev 46 drivers/net/wireless/mediatek/mt76/tx.c mt76_get_txwi(struct mt76_dev *dev) mt76_dev 57 drivers/net/wireless/mediatek/mt76/tx.c mt76_put_txwi(struct mt76_dev *dev, struct mt76_txwi_cache *t) mt76_dev 68 drivers/net/wireless/mediatek/mt76/tx.c void mt76_tx_free(struct mt76_dev *dev) mt76_dev 99 drivers/net/wireless/mediatek/mt76/tx.c mt76_tx_status_lock(struct mt76_dev *dev, struct sk_buff_head *list) mt76_dev 109 drivers/net/wireless/mediatek/mt76/tx.c mt76_tx_status_unlock(struct mt76_dev *dev, struct sk_buff_head *list) mt76_dev 123 drivers/net/wireless/mediatek/mt76/tx.c __mt76_tx_status_skb_done(struct mt76_dev *dev, struct sk_buff *skb, u8 flags, mt76_dev 149 drivers/net/wireless/mediatek/mt76/tx.c mt76_tx_status_skb_done(struct mt76_dev *dev, struct sk_buff *skb, mt76_dev 157 drivers/net/wireless/mediatek/mt76/tx.c mt76_tx_status_skb_add(struct mt76_dev *dev, struct mt76_wcid *wcid, mt76_dev 195 drivers/net/wireless/mediatek/mt76/tx.c mt76_tx_status_skb_get(struct mt76_dev *dev, struct mt76_wcid *wcid, int pktid, mt76_dev 222 drivers/net/wireless/mediatek/mt76/tx.c mt76_tx_status_check(struct mt76_dev *dev, struct mt76_wcid *wcid, bool flush) mt76_dev 232 drivers/net/wireless/mediatek/mt76/tx.c void mt76_tx_complete_skb(struct mt76_dev *dev, struct sk_buff *skb) mt76_dev 248 drivers/net/wireless/mediatek/mt76/tx.c mt76_tx(struct mt76_dev *dev, struct ieee80211_sta *sta, mt76_dev 294 drivers/net/wireless/mediatek/mt76/tx.c mt76_txq_dequeue(struct mt76_dev *dev, struct mt76_txq *mtxq, bool ps) mt76_dev 317 drivers/net/wireless/mediatek/mt76/tx.c mt76_queue_ps_skb(struct mt76_dev *dev, struct ieee80211_sta *sta, mt76_dev 338 drivers/net/wireless/mediatek/mt76/tx.c struct mt76_dev *dev = hw->priv; mt76_dev 380 drivers/net/wireless/mediatek/mt76/tx.c mt76_txq_send_burst(struct mt76_dev *dev, struct mt76_sw_queue *sq, mt76_dev 473 drivers/net/wireless/mediatek/mt76/tx.c mt76_txq_schedule_list(struct mt76_dev *dev, enum mt76_txq_id qid) mt76_dev 526 drivers/net/wireless/mediatek/mt76/tx.c void mt76_txq_schedule(struct mt76_dev *dev, enum mt76_txq_id qid) mt76_dev 549 drivers/net/wireless/mediatek/mt76/tx.c void mt76_txq_schedule_all(struct mt76_dev *dev) mt76_dev 560 drivers/net/wireless/mediatek/mt76/tx.c struct mt76_dev *dev = (struct mt76_dev *)data; mt76_dev 565 drivers/net/wireless/mediatek/mt76/tx.c void mt76_stop_tx_queues(struct mt76_dev *dev, struct ieee80211_sta *sta, mt76_dev 590 drivers/net/wireless/mediatek/mt76/tx.c struct mt76_dev *dev = hw->priv; mt76_dev 599 drivers/net/wireless/mediatek/mt76/tx.c void mt76_txq_remove(struct mt76_dev *dev, struct ieee80211_txq *txq) mt76_dev 614 drivers/net/wireless/mediatek/mt76/tx.c void mt76_txq_init(struct mt76_dev *dev, struct ieee80211_txq *txq) mt76_dev 19 drivers/net/wireless/mediatek/mt76/usb.c static int __mt76u_vendor_request(struct mt76_dev *dev, u8 req, mt76_dev 48 drivers/net/wireless/mediatek/mt76/usb.c int mt76u_vendor_request(struct mt76_dev *dev, u8 req, mt76_dev 65 drivers/net/wireless/mediatek/mt76/usb.c static u32 __mt76u_rr(struct mt76_dev *dev, u32 addr) mt76_dev 96 drivers/net/wireless/mediatek/mt76/usb.c static u32 mt76u_rr(struct mt76_dev *dev, u32 addr) mt76_dev 108 drivers/net/wireless/mediatek/mt76/usb.c static void __mt76u_wr(struct mt76_dev *dev, u32 addr, u32 val) mt76_dev 131 drivers/net/wireless/mediatek/mt76/usb.c static void mt76u_wr(struct mt76_dev *dev, u32 addr, u32 val) mt76_dev 138 drivers/net/wireless/mediatek/mt76/usb.c static u32 mt76u_rmw(struct mt76_dev *dev, u32 addr, mt76_dev 149 drivers/net/wireless/mediatek/mt76/usb.c static void mt76u_copy(struct mt76_dev *dev, u32 offset, mt76_dev 169 drivers/net/wireless/mediatek/mt76/usb.c void mt76u_single_wr(struct mt76_dev *dev, const u8 req, mt76_dev 184 drivers/net/wireless/mediatek/mt76/usb.c mt76u_req_wr_rp(struct mt76_dev *dev, u32 base, mt76_dev 201 drivers/net/wireless/mediatek/mt76/usb.c mt76u_wr_rp(struct mt76_dev *dev, u32 base, mt76_dev 211 drivers/net/wireless/mediatek/mt76/usb.c mt76u_req_rd_rp(struct mt76_dev *dev, u32 base, struct mt76_reg_pair *data, mt76_dev 228 drivers/net/wireless/mediatek/mt76/usb.c mt76u_rd_rp(struct mt76_dev *dev, u32 base, mt76_dev 237 drivers/net/wireless/mediatek/mt76/usb.c static bool mt76u_check_sg(struct mt76_dev *dev) mt76_dev 275 drivers/net/wireless/mediatek/mt76/usb.c mt76u_fill_rx_sg(struct mt76_dev *dev, struct mt76_queue *q, struct urb *urb, mt76_dev 310 drivers/net/wireless/mediatek/mt76/usb.c mt76u_refill_rx(struct mt76_dev *dev, struct urb *urb, int nsgs, gfp_t gfp) mt76_dev 324 drivers/net/wireless/mediatek/mt76/usb.c mt76u_urb_alloc(struct mt76_dev *dev, struct mt76_queue_entry *e, mt76_dev 345 drivers/net/wireless/mediatek/mt76/usb.c mt76u_rx_urb_alloc(struct mt76_dev *dev, struct mt76_queue_entry *e) mt76_dev 371 drivers/net/wireless/mediatek/mt76/usb.c mt76u_fill_bulk_urb(struct mt76_dev *dev, int dir, int index, mt76_dev 391 drivers/net/wireless/mediatek/mt76/usb.c mt76u_get_next_rx_entry(struct mt76_dev *dev) mt76_dev 460 drivers/net/wireless/mediatek/mt76/usb.c mt76u_process_rx_entry(struct mt76_dev *dev, struct urb *urb) mt76_dev 497 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_dev *dev = urb->context; mt76_dev 528 drivers/net/wireless/mediatek/mt76/usb.c mt76u_submit_rx_buf(struct mt76_dev *dev, struct urb *urb) mt76_dev 539 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_dev *dev = (struct mt76_dev *)data; mt76_dev 563 drivers/net/wireless/mediatek/mt76/usb.c static int mt76u_submit_rx_buffers(struct mt76_dev *dev) mt76_dev 582 drivers/net/wireless/mediatek/mt76/usb.c static int mt76u_alloc_rx(struct mt76_dev *dev) mt76_dev 611 drivers/net/wireless/mediatek/mt76/usb.c static void mt76u_free_rx(struct mt76_dev *dev) mt76_dev 628 drivers/net/wireless/mediatek/mt76/usb.c void mt76u_stop_rx(struct mt76_dev *dev) mt76_dev 640 drivers/net/wireless/mediatek/mt76/usb.c int mt76u_resume_rx(struct mt76_dev *dev) mt76_dev 654 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_dev *dev = (struct mt76_dev *)data; mt76_dev 713 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_dev *dev; mt76_dev 718 drivers/net/wireless/mediatek/mt76/usb.c dev = container_of(usb, struct mt76_dev, usb); mt76_dev 738 drivers/net/wireless/mediatek/mt76/usb.c struct mt76_dev *dev = dev_get_drvdata(&urb->dev->dev); mt76_dev 749 drivers/net/wireless/mediatek/mt76/usb.c mt76u_tx_setup_buffers(struct mt76_dev *dev, struct sk_buff *skb, mt76_dev 768 drivers/net/wireless/mediatek/mt76/usb.c mt76u_tx_queue_skb(struct mt76_dev *dev, enum mt76_txq_id qid, mt76_dev 802 drivers/net/wireless/mediatek/mt76/usb.c static void mt76u_tx_kick(struct mt76_dev *dev, struct mt76_queue *q) mt76_dev 824 drivers/net/wireless/mediatek/mt76/usb.c static int mt76u_alloc_tx(struct mt76_dev *dev) mt76_dev 862 drivers/net/wireless/mediatek/mt76/usb.c static void mt76u_free_tx(struct mt76_dev *dev) mt76_dev 874 drivers/net/wireless/mediatek/mt76/usb.c void mt76u_stop_tx(struct mt76_dev *dev) mt76_dev 919 drivers/net/wireless/mediatek/mt76/usb.c void mt76u_queues_deinit(struct mt76_dev *dev) mt76_dev 929 drivers/net/wireless/mediatek/mt76/usb.c int mt76u_alloc_queues(struct mt76_dev *dev) mt76_dev 946 drivers/net/wireless/mediatek/mt76/usb.c int mt76u_init(struct mt76_dev *dev, mt76_dev 28 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), mt76_dev 45 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), mt76_dev 50 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), mt76_dev 55 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_PROTO(struct mt76_dev *dev, struct urb *u), mt76_dev 70 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_PROTO(struct mt76_dev *dev, struct urb *u), mt76_dev 75 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_PROTO(struct mt76_dev *dev, struct urb *u), mt76_dev 9 drivers/net/wireless/mediatek/mt76/util.c bool __mt76_poll(struct mt76_dev *dev, u32 offset, u32 mask, u32 val, mt76_dev 27 drivers/net/wireless/mediatek/mt76/util.c bool __mt76_poll_msec(struct mt76_dev *dev, u32 offset, u32 mask, u32 val, mt76_dev 67 drivers/net/wireless/mediatek/mt76/util.c int mt76_get_min_avg_rssi(struct mt76_dev *dev)