/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | mt76.h | 27 struct mt76_dev; 43 u32 (*rr)(struct mt76_dev *dev, u32 offset); 44 void (*wr)(struct mt76_dev *dev, u32 offset, u32 val); 45 u32 (*rmw)(struct mt76_dev *dev, u32 offset, u32 mask, u32 val); 46 void (*write_copy)(struct mt76_dev *dev, u32 offset, const void *data, 48 void (*read_copy)(struct mt76_dev *dev, u32 offset, void *data, 50 int (*wr_rp)(struct mt76_dev *dev, u32 base, 52 int (*rd_rp)(struct mt76_dev *dev, u32 base, 147 int (*mcu_send_msg)(struct mt76_dev *dev, int cmd, const void *data, 149 int (*mcu_skb_send_msg)(struct mt76_dev *dev, struct sk_buff *skb, [all …]
|
D | usb.c | 18 static int __mt76u_vendor_request(struct mt76_dev *dev, u8 req, in __mt76u_vendor_request() 49 int mt76u_vendor_request(struct mt76_dev *dev, u8 req, in mt76u_vendor_request() 65 static u32 ___mt76u_rr(struct mt76_dev *dev, u8 req, u32 addr) in ___mt76u_rr() 82 static u32 __mt76u_rr(struct mt76_dev *dev, u32 addr) in __mt76u_rr() 101 static u32 mt76u_rr(struct mt76_dev *dev, u32 addr) in mt76u_rr() 112 static u32 mt76u_rr_ext(struct mt76_dev *dev, u32 addr) in mt76u_rr_ext() 123 static void ___mt76u_wr(struct mt76_dev *dev, u8 req, in ___mt76u_wr() 136 static void __mt76u_wr(struct mt76_dev *dev, u32 addr, u32 val) in __mt76u_wr() 151 static void mt76u_wr(struct mt76_dev *dev, u32 addr, u32 val) in mt76u_wr() 158 static void mt76u_wr_ext(struct mt76_dev *dev, u32 addr, u32 val) in mt76u_wr_ext() [all …]
|
D | mmio.c | 9 static u32 mt76_mmio_rr(struct mt76_dev *dev, u32 offset) in mt76_mmio_rr() 19 static void mt76_mmio_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt76_mmio_wr() 25 static u32 mt76_mmio_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt76_mmio_rmw() 32 static void mt76_mmio_write_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_write_copy() 38 static void mt76_mmio_read_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_read_copy() 44 static int mt76_mmio_wr_rp(struct mt76_dev *dev, u32 base, in mt76_mmio_wr_rp() 56 static int mt76_mmio_rd_rp(struct mt76_dev *dev, u32 base, in mt76_mmio_rd_rp() 68 void mt76_set_irq_mask(struct mt76_dev *dev, u32 addr, in mt76_set_irq_mask() 82 void mt76_mmio_init(struct mt76_dev *dev, void __iomem *regs) in mt76_mmio_init()
|
D | sdio.c | 21 mt76s_alloc_rx_queue(struct mt76_dev *dev, enum mt76_rxq_id qid) in mt76s_alloc_rx_queue() 39 static int mt76s_alloc_tx(struct mt76_dev *dev) in mt76s_alloc_tx() 65 void mt76s_stop_txrx(struct mt76_dev *dev) in mt76s_stop_txrx() 80 int mt76s_alloc_queues(struct mt76_dev *dev) in mt76s_alloc_queues() 109 mt76s_process_rx_queue(struct mt76_dev *dev, struct mt76_queue *q) in mt76s_process_rx_queue() 134 static void mt76s_process_tx_queue(struct mt76_dev *dev, enum mt76_txq_id qid) in mt76s_process_tx_queue() 174 struct mt76_dev *dev; in mt76s_tx_status_data() 179 dev = container_of(sdio, struct mt76_dev, sdio); in mt76s_tx_status_data() 197 mt76s_tx_queue_skb(struct mt76_dev *dev, enum mt76_txq_id qid, in mt76s_tx_queue_skb() 228 mt76s_tx_queue_skb_raw(struct mt76_dev *dev, enum mt76_txq_id qid, in mt76s_tx_queue_skb_raw() [all …]
|
D | dma.c | 11 mt76_alloc_txwi(struct mt76_dev *dev) in mt76_alloc_txwi() 32 __mt76_get_txwi(struct mt76_dev *dev) in __mt76_get_txwi() 48 mt76_get_txwi(struct mt76_dev *dev) in mt76_get_txwi() 59 mt76_put_txwi(struct mt76_dev *dev, struct mt76_txwi_cache *t) in mt76_put_txwi() 71 mt76_free_pending_txwi(struct mt76_dev *dev) in mt76_free_pending_txwi() 83 mt76_dma_alloc_queue(struct mt76_dev *dev, struct mt76_queue *q, in mt76_dma_alloc_queue() 120 mt76_dma_add_buf(struct mt76_dev *dev, struct mt76_queue *q, in mt76_dma_add_buf() 180 mt76_dma_tx_cleanup_idx(struct mt76_dev *dev, struct mt76_queue *q, int idx, in mt76_dma_tx_cleanup_idx() 204 mt76_dma_sync_idx(struct mt76_dev *dev, struct mt76_queue *q) in mt76_dma_sync_idx() 213 mt76_dma_kick_queue(struct mt76_dev *dev, struct mt76_queue *q) in mt76_dma_kick_queue() [all …]
|
D | usb_trace.h | 28 TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), 45 TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), 50 TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), 55 TP_PROTO(struct mt76_dev *dev, struct urb *u), 70 TP_PROTO(struct mt76_dev *dev, struct urb *u), 75 TP_PROTO(struct mt76_dev *dev, struct urb *u),
|
D | tx.c | 40 mt76_tx_status_lock(struct mt76_dev *dev, struct sk_buff_head *list) in mt76_tx_status_lock() 49 mt76_tx_status_unlock(struct mt76_dev *dev, struct sk_buff_head *list) in mt76_tx_status_unlock() 66 __mt76_tx_status_skb_done(struct mt76_dev *dev, struct sk_buff *skb, u8 flags, in __mt76_tx_status_skb_done() 92 mt76_tx_status_skb_done(struct mt76_dev *dev, struct sk_buff *skb, in mt76_tx_status_skb_done() 100 mt76_tx_status_skb_add(struct mt76_dev *dev, struct mt76_wcid *wcid, in mt76_tx_status_skb_add() 138 mt76_tx_status_skb_get(struct mt76_dev *dev, struct mt76_wcid *wcid, int pktid, in mt76_tx_status_skb_get() 165 mt76_tx_status_check(struct mt76_dev *dev, struct mt76_wcid *wcid, bool flush) in mt76_tx_status_check() 176 mt76_tx_check_non_aql(struct mt76_dev *dev, u16 wcid_idx, struct sk_buff *skb) in mt76_tx_check_non_aql() 200 void mt76_tx_complete_skb(struct mt76_dev *dev, u16 wcid_idx, struct sk_buff *skb) in mt76_tx_complete_skb() 228 __mt76_tx_queue_skb(struct mt76_dev *dev, int qid, struct sk_buff *skb, in __mt76_tx_queue_skb() [all …]
|
D | mac80211.c | 86 static int mt76_led_init(struct mt76_dev *dev) in mt76_led_init() 115 static void mt76_led_cleanup(struct mt76_dev *dev) in mt76_led_cleanup() 170 mt76_init_sband(struct mt76_dev *dev, struct mt76_sband *msband, in mt76_init_sband() 224 mt76_init_sband_2g(struct mt76_dev *dev, struct ieee80211_rate *rates, in mt76_init_sband_2g() 236 mt76_init_sband_5g(struct mt76_dev *dev, struct ieee80211_rate *rates, in mt76_init_sband_5g() 277 mt76_phy_init(struct mt76_dev *dev, struct ieee80211_hw *hw) in mt76_phy_init() 333 mt76_alloc_phy(struct mt76_dev *dev, unsigned int size, in mt76_alloc_phy() 397 struct mt76_dev *dev = phy->dev; in mt76_unregister_phy() 405 struct mt76_dev * 412 struct mt76_dev *dev; in mt76_alloc_device() [all …]
|
D | mt76x02.h | 77 struct mt76_dev mt76; 142 int mt76x02_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 144 void mt76x02_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, 175 bool mt76x02_tx_status_data(struct mt76_dev *mdev, u8 *update); 176 void mt76x02_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 178 void mt76x02_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q); 182 int mt76x02_tx_prepare_skb(struct mt76_dev *mdev, void *txwi, 188 void mt76x02_sta_ps(struct mt76_dev *dev, struct ieee80211_sta *sta, bool ps); 239 mt76x02_wait_for_txrx_idle(struct mt76_dev *dev) in mt76x02_wait_for_txrx_idle() 247 mt76x02_rx_get_sta(struct mt76_dev *dev, u8 idx) in mt76x02_rx_get_sta()
|
D | trace.h | 33 TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), 50 TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), 55 TP_PROTO(struct mt76_dev *dev, u32 reg, u32 val), 60 TP_PROTO(struct mt76_dev *dev, u32 val, u32 mask), 83 TP_PROTO(struct mt76_dev *dev, u8 wcid, u8 pktid), 100 TP_PROTO(struct mt76_dev *dev, u8 wcid, u8 pktid),
|
D | debugfs.c | 10 struct mt76_dev *dev = data; in mt76_reg_set() 19 struct mt76_dev *dev = data; in mt76_reg_get() 30 struct mt76_dev *dev = dev_get_drvdata(s->private); in mt76_queues_read() 50 struct mt76_dev *dev = dev_get_drvdata(s->private); in mt76_rx_queues_read() 78 struct mt76_dev *dev = dev_get_drvdata(s->private); in mt76_read_rate_txpower() 93 struct dentry *mt76_register_debugfs(struct mt76_dev *dev) in mt76_register_debugfs()
|
D | mt76x02_usb.h | 12 void mt76x02u_init_mcu(struct mt76_dev *dev); 18 int mt76x02u_tx_prepare_skb(struct mt76_dev *mdev, void *data, 22 void mt76x02u_tx_complete_skb(struct mt76_dev *mdev, struct mt76_queue_entry *e);
|
D | mcu.c | 9 mt76_mcu_msg_alloc(struct mt76_dev *dev, const void *data, in mt76_mcu_msg_alloc() 30 struct sk_buff *mt76_mcu_get_response(struct mt76_dev *dev, in mt76_mcu_get_response() 47 void mt76_mcu_rx_event(struct mt76_dev *dev, struct sk_buff *skb) in mt76_mcu_rx_event()
|
D | mt76x02_usb_mcu.c | 21 mt76x02u_multiple_mcu_reads(struct mt76_dev *dev, u8 *data, int len) in mt76x02u_multiple_mcu_reads() 50 static int mt76x02u_mcu_wait_resp(struct mt76_dev *dev, u8 seq) in mt76x02u_mcu_wait_resp() 83 __mt76x02u_mcu_send_msg(struct mt76_dev *dev, struct sk_buff *skb, in __mt76x02u_mcu_send_msg() 123 mt76x02u_mcu_send_msg(struct mt76_dev *dev, int cmd, const void *data, in mt76x02u_mcu_send_msg() 146 mt76x02u_mcu_wr_rp(struct mt76_dev *dev, u32 base, in mt76x02u_mcu_wr_rp() 179 mt76x02u_mcu_rd_rp(struct mt76_dev *dev, u32 base, in mt76x02u_mcu_rd_rp() 294 void mt76x02u_init_mcu(struct mt76_dev *dev) in mt76x02u_init_mcu()
|
D | testmode.c | 20 void mt76_testmode_tx_pending(struct mt76_dev *dev) in mt76_testmode_tx_pending() 55 mt76_testmode_tx_init(struct mt76_dev *dev) in mt76_testmode_tx_init() 157 mt76_testmode_tx_start(struct mt76_dev *dev) in mt76_testmode_tx_start() 168 mt76_testmode_tx_stop(struct mt76_dev *dev) in mt76_testmode_tx_stop() 197 mt76_testmode_init_defaults(struct mt76_dev *dev) in mt76_testmode_init_defaults() 211 __mt76_testmode_set_state(struct mt76_dev *dev, enum mt76_testmode_state state) in __mt76_testmode_set_state() 244 int mt76_testmode_set_state(struct mt76_dev *dev, enum mt76_testmode_state state) in mt76_testmode_set_state() 291 struct mt76_dev *dev = phy->dev; in mt76_testmode_cmd() 392 mt76_testmode_dump_stats(struct mt76_dev *dev, struct sk_buff *msg) in mt76_testmode_dump_stats() 423 struct mt76_dev *dev = phy->dev; in mt76_testmode_dump()
|
D | util.c | 9 bool __mt76_poll(struct mt76_dev *dev, u32 offset, u32 mask, u32 val, in __mt76_poll() 27 bool __mt76_poll_msec(struct mt76_dev *dev, u32 offset, u32 mask, u32 val, in __mt76_poll_msec() 67 int mt76_get_min_avg_rssi(struct mt76_dev *dev, bool ext_phy) in mt76_get_min_avg_rssi()
|
D | dma.h | 48 void mt76_dma_attach(struct mt76_dev *dev); 49 void mt76_dma_cleanup(struct mt76_dev *dev);
|
D | eeprom.c | 13 mt76_get_of_eeprom(struct mt76_dev *dev, int len) in mt76_get_of_eeprom() 91 mt76_eeprom_override(struct mt76_dev *dev) in mt76_eeprom_override() 113 mt76_eeprom_init(struct mt76_dev *dev, int len) in mt76_eeprom_init()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mt7603.h | 105 struct mt76_dev mt76; 241 int mt7603_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 246 void mt7603_tx_complete_skb(struct mt76_dev *mdev, struct mt76_queue_entry *e); 248 void mt7603_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 250 void mt7603_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q); 251 void mt7603_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps); 252 int mt7603_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 254 void mt7603_sta_assoc(struct mt76_dev *mdev, struct ieee80211_vif *vif, 256 void mt7603_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, 261 void mt7603_update_channel(struct mt76_dev *mdev);
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mt7615.h | 249 struct mt76_dev mt76; 471 static inline bool is_mt7622(struct mt76_dev *dev) in is_mt7622() 479 static inline bool is_mt7615(struct mt76_dev *dev) in is_mt7615() 484 static inline bool is_mt7663(struct mt76_dev *dev) in is_mt7663() 489 static inline bool is_mt7611(struct mt76_dev *dev) in is_mt7611() 558 int mt7615_mcu_restart(struct mt76_dev *dev); 559 void mt7615_update_channel(struct mt76_dev *mdev); 591 int mt7615_mcu_msg_send(struct mt76_dev *mdev, int cmd, const void *data, 616 int mt7615_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 621 void mt7615_tx_complete_skb(struct mt76_dev *mdev, struct mt76_queue_entry *e); [all …]
|
D | sdio.c | 26 static u32 mt7663s_read_whisr(struct mt76_dev *dev) in mt7663s_read_whisr() 38 static u32 mt7663s_read_mailbox(struct mt76_dev *dev, u32 offset) in mt7663s_read_mailbox() 93 static void mt7663s_write_mailbox(struct mt76_dev *dev, u32 offset, u32 val) in mt7663s_write_mailbox() 146 static u32 mt7663s_rr(struct mt76_dev *dev, u32 offset) in mt7663s_rr() 154 static void mt7663s_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt7663s_wr() 162 static u32 mt7663s_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt7663s_rmw() 170 static void mt7663s_write_copy(struct mt76_dev *dev, u32 offset, in mt7663s_write_copy() 182 static void mt7663s_read_copy(struct mt76_dev *dev, u32 offset, in mt7663s_read_copy() 194 static int mt7663s_wr_rp(struct mt76_dev *dev, u32 base, in mt7663s_wr_rp() 208 static int mt7663s_rd_rp(struct mt76_dev *dev, u32 base, in mt7663s_rd_rp() [all …]
|
D | sdio_txrx.c | 22 static int mt7663s_refill_sched_quota(struct mt76_dev *dev, u32 *data) in mt7663s_refill_sched_quota() 83 static int mt7663s_rx_run_queue(struct mt76_dev *dev, enum mt76_rxq_id qid, in mt7663s_rx_run_queue() 175 static int __mt7663s_xmit_queue(struct mt76_dev *dev, u8 *data, int len) in __mt7663s_xmit_queue() 193 static int mt7663s_tx_run_queue(struct mt76_dev *dev, enum mt76_txq_id qid) in mt7663s_tx_run_queue() 260 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); in mt7663s_tx_work() 282 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); in mt7663s_rx_work()
|
D | mmio.c | 80 mt7615_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q) in mt7615_rx_poll_complete() 147 static u32 mt7615_rr(struct mt76_dev *mdev, u32 offset) in mt7615_rr() 155 static void mt7615_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7615_wr() 163 static u32 mt7615_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7615_rmw() 193 struct mt76_dev *mdev; in mt7615_mmio_probe()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mt7915.h | 140 struct mt76_dev mt76; 339 static inline bool is_mt7915(struct mt76_dev *dev) in is_mt7915() 437 int mt7915_mac_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 439 void mt7915_mac_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, 444 int mt7915_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 448 void mt7915_tx_complete_skb(struct mt76_dev *mdev, struct mt76_queue_entry *e); 449 void mt7915_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 451 void mt7915_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps); 453 void mt7915_txp_skb_unmap(struct mt76_dev *dev, 459 void mt7915_update_channel(struct mt76_dev *mdev);
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | pci.c | 37 struct mt76_dev *mdev; in mt76x2e_probe() 101 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_remove() 112 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_suspend() 141 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_resume()
|