Lines Matching defs:mt76_dev
767 struct mt76_dev { struct
768 struct mt76_phy phy; /* must be first */
769 struct mt76_phy *phys[__MT_MAX_BAND];
771 struct ieee80211_hw *hw;
773 spinlock_t wed_lock;
774 spinlock_t lock;
775 spinlock_t cc_lock;
777 u32 cur_cc_bss_rx;
779 struct mt76_rx_status rx_ampdu_status;
780 u32 rx_ampdu_len;
781 u32 rx_ampdu_ref;
783 struct mutex mutex;
785 const struct mt76_bus_ops *bus;
786 const struct mt76_driver_ops *drv;
787 const struct mt76_mcu_ops *mcu_ops;
788 struct device *dev;
789 struct device *dma_dev;
791 struct mt76_mcu mcu;
793 struct net_device napi_dev;
794 struct net_device tx_napi_dev;
795 spinlock_t rx_lock;
796 struct napi_struct napi[__MT_RXQ_MAX];
797 struct sk_buff_head rx_skb[__MT_RXQ_MAX];
798 struct tasklet_struct irq_tasklet;
800 struct list_head txwi_cache;
801 struct list_head rxwi_cache;
802 struct mt76_queue *q_mcu[__MT_MCUQ_MAX];
803 struct mt76_queue q_rx[__MT_RXQ_MAX];
804 const struct mt76_queue_ops *queue_ops;
805 int tx_dma_idx[4];
807 struct mt76_worker tx_worker;
808 struct napi_struct tx_napi;
810 spinlock_t token_lock;
811 struct idr token;
812 u16 wed_token_count;
813 u16 token_count;
814 u16 token_size;
816 spinlock_t rx_token_lock;
817 struct idr rx_token;
818 u16 rx_token_size;
820 wait_queue_head_t tx_wait;
822 spinlock_t status_lock;
824 u32 wcid_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
825 u32 wcid_phy_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)];
827 u64 vif_mask;
829 struct mt76_wcid global_wcid;
830 struct mt76_wcid __rcu *wcid[MT76_N_WCIDS];
831 struct list_head wcid_list;
833 struct list_head sta_poll_list;
834 spinlock_t sta_poll_lock;
836 u32 rev;
838 struct tasklet_struct pre_tbtt_tasklet;
839 int beacon_int;
840 u8 beacon_mask;
842 struct debugfs_blob_wrapper eeprom;
843 struct debugfs_blob_wrapper otp;
845 char alpha2[3];
846 enum nl80211_dfs_regions region;
848 u32 debugfs_reg;
850 u8 csa_complete;
852 u32 rxfilter;
855 const struct mt76_testmode_ops *test_ops;
856 struct {
859 } test_mtd;
861 struct workqueue_struct *wq;
863 union {