| /linux/drivers/net/wireless/mediatek/mt76/ |
| A D | mt76.h | 49 struct mt76_dev; 75 u32 (*rr)(struct mt76_dev *dev, u32 offset); 82 int (*wr_rp)(struct mt76_dev *dev, u32 base, 84 int (*rd_rp)(struct mt76_dev *dev, u32 base, 251 int (*mcu_restart)(struct mt76_dev *dev); 255 int (*init)(struct mt76_dev *dev, 412 struct mt76_dev *dev; 771 struct mt76_dev *dev; 825 struct mt76_dev { struct 1447 int mt76_get_rate(struct mt76_dev *dev, [all …]
|
| A D | mt76_connac.h | 175 static inline bool is_mt7925(struct mt76_dev *dev) in is_mt7925() 180 static inline bool is_mt7920(struct mt76_dev *dev) in is_mt7920() 185 static inline bool is_mt7922(struct mt76_dev *dev) in is_mt7922() 190 static inline bool is_mt7921(struct mt76_dev *dev) in is_mt7921() 195 static inline bool is_mt7663(struct mt76_dev *dev) in is_mt7663() 200 static inline bool is_mt7915(struct mt76_dev *dev) in is_mt7915() 205 static inline bool is_mt7916(struct mt76_dev *dev) in is_mt7916() 210 static inline bool is_mt7981(struct mt76_dev *dev) in is_mt7981() 215 static inline bool is_mt7986(struct mt76_dev *dev) in is_mt7986() 220 static inline bool is_mt798x(struct mt76_dev *dev) in is_mt798x() [all …]
|
| A D | usb.c | 230 mt76u_req_wr_rp(struct mt76_dev *dev, u32 base, in mt76u_req_wr_rp() 247 mt76u_wr_rp(struct mt76_dev *dev, u32 base, in mt76u_wr_rp() 274 mt76u_rd_rp(struct mt76_dev *dev, u32 base, in mt76u_rd_rp() 631 struct mt76_dev *dev = container_of(usb, struct mt76_dev, usb); in mt76u_rx_worker() 721 void mt76u_stop_rx(struct mt76_dev *dev) in mt76u_stop_rx() 737 int mt76u_resume_rx(struct mt76_dev *dev) in mt76u_resume_rx() 762 struct mt76_dev *dev = container_of(usb, struct mt76_dev, usb); in mt76u_status_worker() 799 struct mt76_dev *dev; in mt76u_tx_status_data() 860 struct mt76_dev *dev = phy->dev; in mt76u_tx_queue_skb() 994 void mt76u_stop_tx(struct mt76_dev *dev) in mt76u_stop_tx() [all …]
|
| A D | mmio.c | 10 static u32 mt76_mmio_rr(struct mt76_dev *dev, u32 offset) in mt76_mmio_rr() 20 static void mt76_mmio_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt76_mmio_wr() 26 static u32 mt76_mmio_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt76_mmio_rmw() 33 static void mt76_mmio_write_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_write_copy() 39 static void mt76_mmio_read_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_read_copy() 45 static int mt76_mmio_wr_rp(struct mt76_dev *dev, u32 base, in mt76_mmio_wr_rp() 57 static int mt76_mmio_rd_rp(struct mt76_dev *dev, u32 base, in mt76_mmio_rd_rp() 69 void mt76_set_irq_mask(struct mt76_dev *dev, u32 addr, in mt76_set_irq_mask() 88 void mt76_mmio_init(struct mt76_dev *dev, void __iomem *regs) in mt76_mmio_init()
|
| A D | sdio.c | 23 static u32 mt76s_read_whisr(struct mt76_dev *dev) in mt76s_read_whisr() 28 u32 mt76s_read_pcr(struct mt76_dev *dev) in mt76s_read_pcr() 144 u32 mt76s_rr(struct mt76_dev *dev, u32 offset) in mt76s_rr() 197 int mt76s_wr_rp(struct mt76_dev *dev, u32 base, in mt76s_wr_rp() 212 int mt76s_rd_rp(struct mt76_dev *dev, u32 base, in mt76s_rd_rp() 343 int mt76s_alloc_tx(struct mt76_dev *dev) in mt76s_alloc_tx() 412 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); in mt76s_net_worker() 465 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); in mt76s_status_worker() 494 struct mt76_dev *dev; in mt76s_tx_status_data() 525 struct mt76_dev *dev = phy->dev; in mt76s_tx_queue_skb() [all …]
|
| A D | wed.c | 11 struct mt76_dev *dev = container_of(wed, struct mt76_dev, mmio.wed); in mt76_wed_release_rx_buf() 34 struct mt76_dev *dev = container_of(wed, struct mt76_dev, mmio.wed); in mt76_wed_init_rx_buf() 87 struct mt76_dev *dev = container_of(wed, struct mt76_dev, mmio.wed); in mt76_wed_offload_enable() 97 int mt76_wed_dma_setup(struct mt76_dev *dev, struct mt76_queue *q, bool reset) in mt76_wed_dma_setup() 171 struct mt76_dev *dev = container_of(wed, struct mt76_dev, mmio.wed); in mt76_wed_offload_disable() 181 struct mt76_dev *dev = container_of(wed, struct mt76_dev, mmio.wed); in mt76_wed_reset_complete() 201 void mt76_wed_dma_reset(struct mt76_dev *dev) in mt76_wed_dma_reset()
|
| A D | dma.h | 80 void mt76_dma_attach(struct mt76_dev *dev); 81 void mt76_dma_cleanup(struct mt76_dev *dev); 82 int mt76_dma_rx_fill(struct mt76_dev *dev, struct mt76_queue *q, 84 void __mt76_dma_queue_reset(struct mt76_dev *dev, struct mt76_queue *q, 86 void mt76_dma_queue_reset(struct mt76_dev *dev, struct mt76_queue *q); 89 mt76_dma_reset_tx_queue(struct mt76_dev *dev, struct mt76_queue *q) in mt76_dma_reset_tx_queue() 121 struct mt76_dev **priv; in mt76_priv()
|
| A D | dma.c | 42 mt76_alloc_txwi(struct mt76_dev *dev) in mt76_alloc_txwi() 68 mt76_alloc_rxwi(struct mt76_dev *dev) in mt76_alloc_rxwi() 81 __mt76_get_txwi(struct mt76_dev *dev) in __mt76_get_txwi() 97 __mt76_get_rxwi(struct mt76_dev *dev) in __mt76_get_rxwi() 113 mt76_get_txwi(struct mt76_dev *dev) in mt76_get_txwi() 124 mt76_get_rxwi(struct mt76_dev *dev) in mt76_get_rxwi() 160 mt76_free_pending_txwi(struct mt76_dev *dev) in mt76_free_pending_txwi() 545 struct mt76_dev *dev = phy->dev; in mt76_dma_tx_queue_skb() 916 struct mt76_dev *dev; in mt76_dma_rx_poll() 940 mt76_dma_init(struct mt76_dev *dev, in mt76_dma_init() [all …]
|
| A 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),
|
| A D | debugfs.c | 10 struct mt76_dev *dev = data; in mt76_reg_set() 19 struct mt76_dev *dev = data; in mt76_reg_get() 31 struct mt76_dev *dev = data; in mt76_napi_threaded_set() 45 struct mt76_dev *dev = data; in mt76_napi_threaded_get() 56 struct mt76_dev *dev = dev_get_drvdata(s->private); in mt76_queues_read() 76 struct mt76_dev *dev = dev_get_drvdata(s->private); in mt76_rx_queues_read() 108 struct mt76_dev *dev = phy->dev; in mt76_register_debugfs_fops()
|
| A 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),
|
| A D | mt76x02.h | 89 struct mt76_dev mt76; 155 int mt76x02_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 157 void mt76x02_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, 189 bool mt76x02_tx_status_data(struct mt76_dev *mdev, u8 *update); 190 void mt76x02_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 192 void mt76x02_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q); 196 int mt76x02_tx_prepare_skb(struct mt76_dev *mdev, void *txwi, 202 void mt76x02_sta_ps(struct mt76_dev *dev, struct ieee80211_sta *sta, bool ps); 253 mt76x02_wait_for_txrx_idle(struct mt76_dev *dev) in mt76x02_wait_for_txrx_idle() 261 mt76x02_rx_get_sta(struct mt76_dev *dev, u8 idx) in mt76x02_rx_get_sta()
|
| A D | tx.c | 212 mt76_tx_status_check(struct mt76_dev *dev, bool flush) in mt76_tx_status_check() 305 struct mt76_dev *dev = phy->dev; in __mt76_tx_queue_skb() 411 struct mt76_dev *dev = phy->dev; in mt76_release_buffered_frames() 460 struct mt76_dev *dev = phy->dev; in mt76_txq_send_burst() 526 struct mt76_dev *dev = phy->dev; in mt76_txq_schedule_list() 602 struct mt76_dev *dev = phy->dev; in mt76_txq_schedule_pending_wcid() 691 void mt76_tx_worker_run(struct mt76_dev *dev) in mt76_tx_worker_run() 718 struct mt76_dev *dev = container_of(w, struct mt76_dev, tx_worker); in mt76_tx_worker() 749 struct mt76_dev *dev = phy->dev; in mt76_wake_tx_queue() 863 int mt76_rx_token_consume(struct mt76_dev *dev, void *ptr, in mt76_rx_token_consume() [all …]
|
| A D | mt76_connac_mcu.h | 1915 int mt76_connac_mcu_sta_update_hdr_trans(struct mt76_dev *dev, 1922 int mt76_connac_mcu_wtbl_update_hdr_trans(struct mt76_dev *dev, 1963 int mt76_connac_mcu_start_patch(struct mt76_dev *dev); 1977 int mt76_connac_mcu_update_arp_filter(struct mt76_dev *dev, 1987 int mt76_connac_mcu_set_suspend_mode(struct mt76_dev *dev, 1994 int mt76_connac_sta_state_dp(struct mt76_dev *dev, 1997 int mt76_connac_mcu_chip_config(struct mt76_dev *dev); 2007 u32 mt76_connac_mcu_reg_rr(struct mt76_dev *dev, u32 offset); 2039 int mt76_connac_mcu_restart(struct mt76_dev *dev); 2040 int mt76_connac_mcu_del_wtbl_all(struct mt76_dev *dev); [all …]
|
| A D | mcu.c | 9 __mt76_mcu_msg_alloc(struct mt76_dev *dev, const void *data, in __mt76_mcu_msg_alloc() 32 struct sk_buff *mt76_mcu_get_response(struct mt76_dev *dev, in mt76_mcu_get_response() 49 void mt76_mcu_rx_event(struct mt76_dev *dev, struct sk_buff *skb) in mt76_mcu_rx_event() 56 int mt76_mcu_send_and_get_msg(struct mt76_dev *dev, int cmd, const void *data, in mt76_mcu_send_and_get_msg() 72 int mt76_mcu_skb_send_and_get_msg(struct mt76_dev *dev, struct sk_buff *skb, in mt76_mcu_skb_send_and_get_msg() 134 int __mt76_mcu_send_firmware(struct mt76_dev *dev, int cmd, const void *data, in __mt76_mcu_send_firmware()
|
| A 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);
|
| A D | mac80211.c | 198 struct mt76_dev *dev = phy->dev; in mt76_led_init() 313 struct mt76_dev *dev = phy->dev; in mt76_init_sband() 426 struct mt76_dev *dev = phy->dev; in mt76_phy_init() 568 struct mt76_dev *dev = phy->dev; in mt76_unregister_phy() 630 struct mt76_dev * 637 struct mt76_dev *dev; in mt76_alloc_device() 791 struct mt76_dev *dev = phy->dev; in mt76_rx_release_amsdu() 912 struct mt76_dev *dev = phy->dev; in mt76_update_survey() 935 struct mt76_dev *dev = phy->dev; in mt76_set_channel() 987 struct mt76_dev *dev = phy->dev; in mt76_get_survey() [all …]
|
| A D | sdio_txrx.c | 21 static int mt76s_refill_sched_quota(struct mt76_dev *dev, u32 *data) in mt76s_refill_sched_quota() 81 mt76s_rx_run_queue(struct mt76_dev *dev, enum mt76_rxq_id qid, in mt76s_rx_run_queue() 149 static int mt76s_rx_handler(struct mt76_dev *dev) in mt76s_rx_handler() 221 static int __mt76s_xmit_queue(struct mt76_dev *dev, u8 *data, int len) in __mt76s_xmit_queue() 239 static int mt76s_tx_run_queue(struct mt76_dev *dev, struct mt76_queue *q) in mt76s_tx_run_queue() 311 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); in mt76s_txrx_worker() 355 struct mt76_dev *dev = sdio_get_drvdata(func); in mt76s_sdio_irq() 367 bool mt76s_txqs_empty(struct mt76_dev *dev) in mt76s_txqs_empty()
|
| A D | mt76x02_usb_mcu.c | 21 mt76x02u_multiple_mcu_reads(struct mt76_dev *dev, u8 *data, int len) in mt76x02u_multiple_mcu_reads() 37 static int mt76x02u_mcu_wait_resp(struct mt76_dev *dev, u8 seq) in mt76x02u_mcu_wait_resp() 70 __mt76x02u_mcu_send_msg(struct mt76_dev *dev, struct sk_buff *skb, in __mt76x02u_mcu_send_msg() 110 mt76x02u_mcu_send_msg(struct mt76_dev *dev, int cmd, const void *data, in mt76x02u_mcu_send_msg() 133 mt76x02u_mcu_wr_rp(struct mt76_dev *dev, u32 base, in mt76x02u_mcu_wr_rp() 166 mt76x02u_mcu_rd_rp(struct mt76_dev *dev, u32 base, in mt76x02u_mcu_rd_rp() 280 void mt76x02u_init_mcu(struct mt76_dev *dev) in mt76x02u_init_mcu()
|
| A D | eeprom.c | 13 static int mt76_get_of_eeprom_data(struct mt76_dev *dev, void *eep, int len) in mt76_get_of_eeprom_data() 31 int mt76_get_of_data_from_mtd(struct mt76_dev *dev, void *eep, int offset, int len) in mt76_get_of_data_from_mtd() 110 int mt76_get_of_data_from_nvmem(struct mt76_dev *dev, void *eep, in mt76_get_of_data_from_nvmem() 143 static int mt76_get_of_eeprom(struct mt76_dev *dev, void *eep, int len) in mt76_get_of_eeprom() 165 struct mt76_dev *dev = phy->dev; in mt76_eeprom_override() 194 mt76_find_power_limits_node(struct mt76_dev *dev) in mt76_find_power_limits_node() 338 struct mt76_dev *dev = phy->dev; in mt76_get_rate_power_limits() 410 mt76_eeprom_init(struct mt76_dev *dev, int len) in mt76_eeprom_init()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
| A D | mt7925.h | 219 int mt7925_mac_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 222 int mt7925_mac_sta_event(struct mt76_dev *mdev, struct ieee80211_vif *vif, 227 int mt7925e_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 233 bool mt7925_rx_check(struct mt76_dev *mdev, void *data, int len); 234 void mt7925_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 259 void mt7925_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi, 266 int mt7925_mcu_parse_response(struct mt76_dev *mdev, int cmd, 289 void mt7925_usb_sdio_tx_complete_skb(struct mt76_dev *mdev, 291 bool mt7925_usb_sdio_tx_status_data(struct mt76_dev *mdev, u8 *update); 311 int mt7925_mcu_fill_message(struct mt76_dev *mdev, struct sk_buff *skb, [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
| A D | mt7603.h | 104 struct mt76_dev mt76; 236 int mt7603_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 241 void mt7603_tx_complete_skb(struct mt76_dev *mdev, struct mt76_queue_entry *e); 243 void mt7603_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 245 void mt7603_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q); 246 void mt7603_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps); 247 int mt7603_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 249 int mt7603_sta_event(struct mt76_dev *mdev, struct ieee80211_vif *vif, 251 void mt7603_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif,
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
| A D | mt7921.h | 246 int mt7921_mac_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 248 int mt7921_mac_sta_event(struct mt76_dev *mdev, struct ieee80211_vif *vif, 250 void mt7921_mac_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, 253 int mt7921e_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 258 bool mt7921_rx_check(struct mt76_dev *mdev, void *data, int len); 259 void mt7921_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 283 int mt7921_mcu_parse_response(struct mt76_dev *mdev, int cmd, 308 int mt7921_usb_sdio_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 312 void mt7921_usb_sdio_tx_complete_skb(struct mt76_dev *mdev, 314 bool mt7921_usb_sdio_tx_status_data(struct mt76_dev *mdev, u8 *update);
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
| A D | mt7615.h | 243 struct mt76_dev mt76; 462 int mt7615_mcu_restart(struct mt76_dev *dev); 486 int mt7615_mcu_parse_response(struct mt76_dev *mdev, int cmd, 498 int mt7615_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 505 bool mt7615_rx_check(struct mt76_dev *mdev, void *data, int len); 506 void mt7615_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 508 int mt7615_mac_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 510 void mt7615_mac_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, 543 int mt7663_usb_sdio_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 547 bool mt7663_usb_sdio_tx_status_data(struct mt76_dev *mdev, u8 *update); [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
| A D | pci.c | 38 struct mt76_dev *mdev; in mt76x2e_probe() 102 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_remove() 113 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_suspend() 142 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_resume()
|