| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt76_connac.h | 180 static inline bool is_connac3(struct mt76_dev *dev) in is_connac3() 185 static inline bool is_mt7925(struct mt76_dev *dev) in is_mt7925() 190 static inline bool is_mt7927(struct mt76_dev *dev) in is_mt7927() 195 static inline bool is_mt7928(struct mt76_dev *dev) in is_mt7928() 200 static inline bool is_320mhz_supported(struct mt76_dev *dev) in is_320mhz_supported() 205 static inline bool is_mt7920(struct mt76_dev *dev) in is_mt7920() 210 static inline bool is_mt7902(struct mt76_dev *dev) in is_mt7902() 215 static inline bool is_mt7922(struct mt76_dev *dev) in is_mt7922() 220 static inline bool is_connac2(struct mt76_dev *dev) in is_connac2() 226 static inline bool is_mt7663(struct mt76_dev *dev) in is_mt7663() [all …]
|
| H A D | mt76.h | 61 struct mt76_dev; 96 u32 (*rr)(struct mt76_dev *dev, u32 offset); 97 void (*wr)(struct mt76_dev *dev, u32 offset, u32 val); 98 u32 (*rmw)(struct mt76_dev *dev, u32 offset, u32 mask, u32 val); 99 void (*write_copy)(struct mt76_dev *dev, u32 offset, const void *data, 101 void (*read_copy)(struct mt76_dev *dev, u32 offset, void *data, 103 int (*wr_rp)(struct mt76_dev *dev, u32 base, 105 int (*rd_rp)(struct mt76_dev *dev, u32 base, 262 struct mt76_dev *dev; 275 int (*mcu_send_msg)(struct mt76_dev *de 924 struct mt76_dev { global() struct 948 init_wiphymt76_dev global() argument 949 devmt76_dev global() argument 950 dma_devmt76_dev global() argument 952 mcumt76_dev global() argument 954 napi_devmt76_dev global() argument 955 tx_napi_devmt76_dev global() argument 956 rx_lockmt76_dev global() argument 957 napimt76_dev global() argument 958 rx_skbmt76_dev global() argument 959 irq_taskletmt76_dev global() argument 961 txwi_cachemt76_dev global() argument 962 rxwi_cachemt76_dev global() argument 963 q_mcumt76_dev global() argument 964 q_rxmt76_dev global() argument 965 queue_opsmt76_dev global() argument 966 tx_dma_idxmt76_dev global() argument 967 hwrro_modemt76_dev global() argument 969 tx_workermt76_dev global() argument 970 tx_napimt76_dev global() argument 972 token_lockmt76_dev global() argument 973 tokenmt76_dev global() argument 974 wed_token_countmt76_dev global() argument 975 token_countmt76_dev global() argument 976 token_startmt76_dev global() argument 977 token_sizemt76_dev global() argument 979 rx_token_lockmt76_dev global() argument 980 rx_tokenmt76_dev global() argument 981 rx_token_sizemt76_dev global() argument 983 tx_waitmt76_dev global() argument 985 status_lockmt76_dev global() argument 987 wcid_maskmt76_dev global() argument 989 vif_maskmt76_dev global() argument 991 global_wcidmt76_dev global() argument 992 wcidmt76_dev global() argument 993 wcid_listmt76_dev global() argument 995 sta_poll_listmt76_dev global() argument 996 sta_poll_lockmt76_dev global() argument 998 revmt76_dev global() argument 1000 pre_tbtt_taskletmt76_dev global() argument 1001 beacon_intmt76_dev global() argument 1002 beacon_maskmt76_dev global() argument 1004 eeprommt76_dev global() argument 1005 otpmt76_dev global() argument 1007 alpha2mt76_dev global() argument 1008 regionmt76_dev global() argument 1010 rnrmt76_dev global() argument 1012 debugfs_regmt76_dev global() argument 1014 csa_completemt76_dev global() argument 1016 rxfiltermt76_dev global() argument 1018 scan_workmt76_dev global() argument 1019 scan_lockmt76_dev global() argument 1020 __anon7334294b0d08mt76_dev global() argument 1029 scanmt76_dev global() argument 1032 test_opsmt76_dev global() argument 1033 __anon7334294b0e08mt76_dev global() argument 1036 test_mtdmt76_dev global() argument 1038 wqmt76_dev global() argument 1040 __anon7334294b0f0amt76_dev global() argument 1046 bus_hungmt76_dev global() argument [all...] |
| H A D | usb.c | 18 int __mt76u_vendor_request(struct mt76_dev *dev, u8 req, u8 req_type, in __mt76u_vendor_request() 60 int mt76u_vendor_request(struct mt76_dev *dev, u8 req, in mt76u_vendor_request() 76 u32 ___mt76u_rr(struct mt76_dev *dev, u8 req, u8 req_type, u32 addr) in ___mt76u_rr() 92 static u32 __mt76u_rr(struct mt76_dev *dev, u32 addr) in __mt76u_rr() 112 static u32 mt76u_rr(struct mt76_dev *dev, u32 addr) in mt76u_rr() 123 void ___mt76u_wr(struct mt76_dev *dev, u8 req, u8 req_type, in ___mt76u_wr() 135 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 u32 mt76u_rmw(struct mt76_dev *dev, u32 addr, in mt76u_rmw() 169 static void mt76u_copy(struct mt76_dev *dev, u32 offset, in mt76u_copy() [all …]
|
| H 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() 36 static u32 mt76s_read_mailbox(struct mt76_dev *dev, u32 offset) in mt76s_read_mailbox() 91 static void mt76s_write_mailbox(struct mt76_dev *dev, u32 offset, u32 val) in mt76s_write_mailbox() 144 u32 mt76s_rr(struct mt76_dev *dev, u32 offset) in mt76s_rr() 153 void mt76s_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt76s_wr() 162 u32 mt76s_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt76s_rmw() 171 void mt76s_write_copy(struct mt76_dev *dev, u32 offset, in mt76s_write_copy() 184 void mt76s_read_copy(struct mt76_dev *dev, u32 offset, in mt76s_read_copy() 197 int mt76s_wr_rp(struct mt76_dev *dev, u32 base, in mt76s_wr_rp() [all …]
|
| H 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() 50 static void mt76_mmio_read_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_read_copy() 67 static int mt76_mmio_wr_rp(struct mt76_dev *dev, u32 base, in mt76_mmio_wr_rp() 79 static int mt76_mmio_rd_rp(struct mt76_dev *dev, u32 base, in mt76_mmio_rd_rp() 91 void mt76_set_irq_mask(struct mt76_dev *dev, u32 addr, in mt76_set_irq_mask() 110 void mt76_mmio_init(struct mt76_dev *dev, void __iomem *regs) in mt76_mmio_init()
|
| H A D | dma.c | 12 mt76_alloc_txwi(struct mt76_dev *dev) in mt76_alloc_txwi() 38 mt76_alloc_rxwi(struct mt76_dev *dev) in mt76_alloc_rxwi() 51 __mt76_get_txwi(struct mt76_dev *dev) in __mt76_get_txwi() 67 __mt76_get_rxwi(struct mt76_dev *dev) in __mt76_get_rxwi() 83 mt76_get_txwi(struct mt76_dev *dev) in mt76_get_txwi() 94 mt76_get_rxwi(struct mt76_dev *dev) in mt76_get_rxwi() 106 mt76_put_txwi(struct mt76_dev *dev, struct mt76_txwi_cache *t) in mt76_put_txwi() 118 mt76_put_rxwi(struct mt76_dev *dev, struct mt76_txwi_cache *t) in mt76_put_rxwi() 130 mt76_free_pending_txwi(struct mt76_dev *dev) in mt76_free_pending_txwi() 144 mt76_free_pending_rxwi(struct mt76_dev *dev) in mt76_free_pending_rxwi() [all …]
|
| H A D | mt76_connac_mcu.h | 1919 mt76_connac_mcu_gen_dl_mode(struct mt76_dev *dev, u8 feature_set, bool is_wa) in mt76_connac_mcu_gen_dl_mode() 1940 mt76_connac_mcu_get_wlan_idx(struct mt76_dev *dev, struct mt76_wcid *wcid, in mt76_connac_mcu_get_wlan_idx() 1956 mt76_connac_mcu_bss_deact_err(struct mt76_dev *mdev, int err, bool enable) in mt76_connac_mcu_bss_deact_err() 1977 __mt76_connac_mcu_alloc_sta_req(struct mt76_dev *dev, struct mt76_vif_link *mvif, 1980 mt76_connac_mcu_alloc_sta_req(struct mt76_dev *dev, struct mt76_vif_link *mvif, in mt76_connac_mcu_alloc_sta_req() 1988 mt76_connac_mcu_alloc_wtbl_req(struct mt76_dev *dev, struct mt76_wcid *wcid, 2000 int mt76_connac_mcu_set_vif_ps(struct mt76_dev *dev, struct ieee80211_vif *vif); 2001 void mt76_connac_mcu_sta_basic_tlv(struct mt76_dev *dev, struct sk_buff *skb, 2005 void mt76_connac_mcu_wtbl_generic_tlv(struct mt76_dev *dev, struct sk_buff *skb, 2013 int mt76_connac_mcu_sta_update_hdr_trans(struct mt76_dev *dev, [all …]
|
| H A 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() 89 __mt76_tx_status_skb_done(struct mt76_dev *dev, struct sk_buff *skb, u8 flags, in __mt76_tx_status_skb_done() 114 mt76_tx_status_skb_done(struct mt76_dev *dev, struct sk_buff *skb, in mt76_tx_status_skb_done() 122 mt76_tx_status_skb_add(struct mt76_dev *dev, struct mt76_wcid *wcid, in mt76_tx_status_skb_add() 171 mt76_tx_status_skb_get(struct mt76_dev *dev, struct mt76_wcid *wcid, int pktid, in mt76_tx_status_skb_get() 213 mt76_tx_status_check(struct mt76_dev *dev, bool flush) in mt76_tx_status_check() 226 mt76_tx_check_non_aql(struct mt76_dev *dev, struct mt76_wcid *wcid, in mt76_tx_check_non_aql() 255 void __mt76_tx_complete_skb(struct mt76_dev *dev, u16 wcid_idx, struct sk_buff *skb, in __mt76_tx_complete_skb() 334 struct mt76_dev *de in __mt76_tx_queue_skb() [all...] |
| H A D | channel.c | 8 mt76_alloc_mlink(struct mt76_dev *dev, struct mt76_vif_data *mvif) in mt76_alloc_mlink() 37 struct mt76_dev *dev = phy->dev; in mt76_add_chanctx() 63 struct mt76_dev *dev = phy->dev; in mt76_remove_chanctx() 85 struct mt76_dev *dev = phy->dev; in mt76_change_chanctx() 113 struct mt76_dev *dev = phy->dev; in mt76_assign_vif_chanctx() 162 struct mt76_dev *dev = phy->dev; in mt76_unassign_vif_chanctx() 192 struct mt76_dev *dev = phy->dev; in mt76_switch_vif_chanctx() 273 struct mt76_dev *dev = phy->dev; in mt76_get_vif_phy_link() 306 struct mt76_dev *dev = phy->dev; in mt76_put_vif_phy_link() 322 struct mt76_dev *dev = phy->dev; in mt76_roc_complete() [all …]
|
| H 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() 142 int __mt76_mcu_send_firmware(struct mt76_dev *dev, int cmd, const void *data, in __mt76_mcu_send_firmware()
|
| H A D | mt792x_usb.c | 17 static int mt792xu_read32(struct mt76_dev *dev, u32 addr, void *buf) in mt792xu_read32() 48 static u32 mt792xu_bus_hung_rr(struct mt76_dev *mdev, u32 offset) in mt792xu_bus_hung_rr() 53 static void mt792xu_bus_hung_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt792xu_bus_hung_wr() 57 static u32 mt792xu_bus_hung_rmw(struct mt76_dev *mdev, u32 offset, in mt792xu_bus_hung_rmw() 63 static void mt792xu_bus_hung_write_copy(struct mt76_dev *mdev, u32 offset, in mt792xu_bus_hung_write_copy() 68 static void mt792xu_bus_hung_read_copy(struct mt76_dev *mdev, u32 offset, in mt792xu_bus_hung_read_copy() 93 static void mt792xu_ctrl_timeout(struct mt76_dev *mdev, int err) in mt792xu_ctrl_timeout() 154 u32 mt792xu_rr(struct mt76_dev *dev, u32 addr) in mt792xu_rr() 167 void mt792xu_wr(struct mt76_dev *dev, u32 addr, u32 val) in mt792xu_wr() 176 u32 mt792xu_rmw(struct mt76_dev *dev, u32 addr, u32 mask, u32 val) in mt792xu_rmw() [all …]
|
| H A D | dma.h | 171 void mt76_dma_attach(struct mt76_dev *dev); 172 void mt76_dma_cleanup(struct mt76_dev *dev); 173 int mt76_dma_rx_fill(struct mt76_dev *dev, struct mt76_queue *q, 175 void mt76_dma_queue_reset(struct mt76_dev *dev, struct mt76_queue *q, 179 mt76_dma_reset_tx_queue(struct mt76_dev *dev, struct mt76_queue *q) in mt76_dma_reset_tx_queue() 213 struct mt76_dev **priv; in mt76_priv()
|
| H A D | wed.c | 11 struct mt76_dev *dev = mt76_wed_to_dev(wed); in mt76_wed_release_rx_buf() 35 struct mt76_dev *dev = mt76_wed_to_dev(wed); in mt76_wed_init_rx_buf() 88 struct mt76_dev *dev = mt76_wed_to_dev(wed); in mt76_wed_offload_enable() 98 int mt76_wed_dma_setup(struct mt76_dev *dev, struct mt76_queue *q, bool reset) in mt76_wed_dma_setup() 172 struct mt76_dev *dev = mt76_wed_to_dev(wed); in mt76_wed_offload_disable() 182 struct mt76_dev *dev = mt76_wed_to_dev(wed); in mt76_wed_reset_complete() 202 void mt76_wed_dma_reset(struct mt76_dev *dev) in mt76_wed_dma_reset()
|
| H 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() 429 struct mt76_dev *dev = phy->dev; in mt76_phy_init() 496 mt76_alloc_radio_phy(struct mt76_dev *dev, unsigned int size, in mt76_alloc_radio_phy() 518 mt76_alloc_phy(struct mt76_dev *dev, unsigned int size, in mt76_alloc_phy() 604 struct mt76_dev *dev = phy->dev; in mt76_unregister_phy() 617 int mt76_create_page_pool(struct mt76_dev *dev, struct mt76_queue *q) in mt76_create_page_pool() 668 struct mt76_dev * 675 struct mt76_dev *dev; in mt76_alloc_device() 748 int mt76_register_device(struct mt76_dev *dev, bool vht, in mt76_register_device() [all …]
|
| H A D | eeprom.c | 20 static int mt76_get_of_eeprom_data(struct mt76_dev *dev, void *eep, int len) in mt76_get_of_eeprom_data() 38 int mt76_get_of_data_from_mtd(struct mt76_dev *dev, void *eep, int offset, int len) in mt76_get_of_data_from_mtd() 121 int mt76_get_of_data_from_nvmem(struct mt76_dev *dev, void *eep, in mt76_get_of_data_from_nvmem() 154 static int mt76_get_of_eeprom(struct mt76_dev *dev, void *eep, int len) in mt76_get_of_eeprom() 176 struct mt76_dev *dev = phy->dev; in mt76_eeprom_override() 210 mt76_find_power_limits_node(struct mt76_dev *dev) in mt76_find_power_limits_node() 315 static inline u8 mt76_backoff_n_chains(struct mt76_dev *dev, u8 idx) in mt76_backoff_n_chains() 330 mt76_apply_array_limit(struct mt76_dev *dev, s8 *pwr, size_t pwr_len, in mt76_apply_array_limit() 378 mt76_apply_multi_array_limit(struct mt76_dev *dev, s8 *pwr, size_t pwr_len, in mt76_apply_multi_array_limit() 431 struct mt76_dev *dev = phy->dev; in mt76_get_rate_power_limits() [all …]
|
| H A D | scan.c | 7 static void mt76_scan_complete(struct mt76_dev *dev, bool abort) in mt76_scan_complete() 39 void mt76_abort_scan(struct mt76_dev *dev) in mt76_abort_scan() 54 mt76_scan_send_probe(struct mt76_dev *dev, struct cfg80211_ssid *ssid) in mt76_scan_send_probe() 103 void mt76_scan_rx_beacon(struct mt76_dev *dev, struct ieee80211_channel *chan) in mt76_scan_rx_beacon() 126 struct mt76_dev *dev = container_of(work, struct mt76_dev, in mt76_scan_work() 199 struct mt76_dev *dev = phy->dev; in mt76_hw_scan()
|
| H A D | mt76_connac_mcu.c | 9 int mt76_connac_mcu_start_firmware(struct mt76_dev *dev, u32 addr, u32 option) in mt76_connac_mcu_start_firmware() 24 int mt76_connac_mcu_patch_sem_ctrl(struct mt76_dev *dev, bool get) in mt76_connac_mcu_patch_sem_ctrl() 38 int mt76_connac_mcu_start_patch(struct mt76_dev *dev) in mt76_connac_mcu_start_patch() 54 int mt76_connac_mcu_init_download(struct mt76_dev *dev, u32 addr, u32 len, in mt76_connac_mcu_init_download() 81 int mt76_connac_cb_mcu_patch_sem_ctrl(struct mt76_dev *dev, bool get) in mt76_connac_cb_mcu_patch_sem_ctrl() 96 int mt76_connac_cb_mcu_start_patch(struct mt76_dev *dev) in mt76_connac_cb_mcu_start_patch() 109 int mt76_connac_cb_mcu_init_download(struct mt76_dev *dev, u32 len) in mt76_connac_cb_mcu_init_download() 151 struct mt76_dev *dev = phy->dev; in mt76_connac_mcu_set_channel_domain() 216 int mt76_connac_mcu_set_mac_enable(struct mt76_dev *dev, int band, bool enable, in mt76_connac_mcu_set_mac_enable() 233 int mt76_connac_mcu_set_vif_ps(struct mt76_dev *dev, struct ieee80211_vif *vif) in mt76_connac_mcu_set_vif_ps() [all …]
|
| H A D | mt76_connac_mac.c | 38 struct mt76_dev *dev = phy->dev; in mt76_connac_pm_wake() 65 struct mt76_dev *dev = phy->dev; in mt76_connac_power_save_sched() 149 void mt76_connac_tx_complete_skb(struct mt76_dev *mdev, in mt76_connac_tx_complete_skb() 162 void mt76_connac_write_hw_txp(struct mt76_dev *dev, in mt76_connac_write_hw_txp() 202 mt76_connac_txp_skb_unmap_fw(struct mt76_dev *mdev, in mt76_connac_txp_skb_unmap_fw() 214 mt76_connac_txp_skb_unmap_hw(struct mt76_dev *dev, in mt76_connac_txp_skb_unmap_hw() 248 void mt76_connac_txp_skb_unmap(struct mt76_dev *dev, in mt76_connac_txp_skb_unmap() 410 mt76_connac2_mac_write_txwi_80211(struct mt76_dev *dev, __le32 *txwi, in mt76_connac2_mac_write_txwi_80211() 504 void mt76_connac2_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi, in mt76_connac2_mac_write_txwi() 624 bool mt76_connac2_mac_fill_txs(struct mt76_dev *dev, struct mt76_wcid *wcid, in mt76_connac2_mac_fill_txs() [all …]
|
| H A D | mt792x.h | 295 struct mt76_dev mt76; 453 void mt792x_reset(struct mt76_dev *mdev); 511 void mt792x_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q); 608 u32 mt792xu_rr(struct mt76_dev *dev, u32 addr); 609 void mt792xu_wr(struct mt76_dev *dev, u32 addr, u32 val); 610 u32 mt792xu_rmw(struct mt76_dev *dev, u32 addr, u32 mask, u32 val); 611 void mt792xu_copy(struct mt76_dev *dev, u32 offset, const void *data, int len);
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
| H A D | mt7603.h | 105 struct mt76_dev mt76; 240 int mt7603_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 245 void mt7603_tx_complete_skb(struct mt76_dev *mdev, struct mt76_queue_entry *e); 247 void mt7603_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 249 void mt7603_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q); 250 void mt7603_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps); 251 int mt7603_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 253 int mt7603_sta_event(struct mt76_dev *mdev, struct ieee80211_vif *vif, 255 void mt7603_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif,
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | mt7925.h | 302 int mt7925_mac_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 305 int mt7925_mac_sta_event(struct mt76_dev *mdev, struct ieee80211_vif *vif, 307 void mt7925_mac_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, 310 int mt7925e_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 316 bool mt7925_rx_check(struct mt76_dev *mdev, void *data, int len); 317 void mt7925_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 344 void mt7925_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi, 351 int mt7925_mcu_parse_response(struct mt76_dev *mdev, int cmd, 371 int mt7925_usb_sdio_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 375 void mt7925_usb_sdio_tx_complete_skb(struct mt76_dev *mdev, [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
| H A D | pci.c | 147 static u32 mt7921_rr(struct mt76_dev *mdev, u32 offset) in mt7921_rr() 155 static void mt7921_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7921_wr() 163 static u32 mt7921_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7921_rmw() 309 struct mt76_dev *mdev; in mt7921_pci_probe() 455 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7921_pci_remove() 471 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7921_pci_suspend() 554 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7921_pci_resume() 610 static u32 mt7921_aer_rr(struct mt76_dev *mdev, u32 offset) in mt7921_aer_rr() 615 static void mt7921_aer_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7921_aer_wr() 620 static u32 mt791_aer_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt791_aer_rmw() [all …]
|
| H A D | regd.c | 37 struct mt76_dev *mdev = &dev->mt76; in mt7921_regd_channel_update() 89 struct mt76_dev *mdev = &dev->mt76; in __mt7921_mcu_regd_update() 139 struct mt76_dev *mdev = &dev->mt76; in mt7921_regd_notifier() 250 struct mt76_dev *mdev = &dev->mt76; in mt7921_regd_update() 356 struct mt76_dev *mdev = &dev->mt76; in mt7921_regd_change() 386 struct mt76_dev *mdev = &dev->mt76; in mt7921_regd_init()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | mt7915.h | 250 struct mt76_dev mt76; 597 void mt7915_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi, 602 int mt7915_mac_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, 604 int mt7915_mac_sta_event(struct mt76_dev *mdev, struct ieee80211_vif *vif, 606 void mt7915_mac_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, 619 int mt7915_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, 623 void mt7915_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, 625 bool mt7915_rx_check(struct mt76_dev *mdev, void *data, int len);
|
| H A D | mmio.c | 535 static u32 mt7915_rr(struct mt76_dev *mdev, u32 offset) in mt7915_rr() 550 static void mt7915_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7915_wr() 565 static u32 mt7915_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7915_rmw() 605 struct mt76_dev *mdev = container_of(wed, struct mt76_dev, mmio.wed); in mt7915_mmio_wed_reset() 740 static int mt7915_mmio_init(struct mt76_dev *mdev, in mt7915_mmio_init() 797 struct mt76_dev *mdev = &dev->mt76; in mt7915_dual_hif_set_irq_mask() 817 static void mt7915_rx_poll_complete(struct mt76_dev *mdev, in mt7915_rx_poll_complete() 942 struct mt76_dev *mdev; in mt7915_mmio_probe()
|