Home
last modified time | relevance | path

Searched refs:mt7915_dev (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmt7915.h111 struct mt7915_dev *dev;
138 struct mt7915_dev { struct
240 static inline struct mt7915_dev *
245 return container_of(phy->dev, struct mt7915_dev, mt76); in mt7915_hw_dev()
249 mt7915_ext_phy(struct mt7915_dev *dev) in mt7915_ext_phy()
259 static inline u8 mt7915_lmac_mapping(struct mt7915_dev *dev, u8 ac) in mt7915_lmac_mapping()
268 u32 mt7915_reg_map(struct mt7915_dev *dev, u32 addr);
270 int mt7915_register_device(struct mt7915_dev *dev);
271 void mt7915_unregister_device(struct mt7915_dev *dev);
272 int mt7915_register_ext_phy(struct mt7915_dev *dev);
[all …]
H A Ddma.c9 mt7915_init_tx_queues(struct mt7915_dev *dev, int n_desc) in mt7915_init_tx_queues()
30 mt7915_init_mcu_queue(struct mt7915_dev *dev, int qid, int idx, int n_desc) in mt7915_init_mcu_queue()
51 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_queue_rx_skb()
77 mt7915_tx_cleanup(struct mt7915_dev *dev) in mt7915_tx_cleanup()
85 struct mt7915_dev *dev; in mt7915_poll_tx()
87 dev = container_of(napi, struct mt7915_dev, mt76.tx_napi); in mt7915_poll_tx()
97 void mt7915_dma_prefetch(struct mt7915_dev *dev) in mt7915_dma_prefetch()
127 static u32 __mt7915_reg_addr(struct mt7915_dev *dev, u32 addr) in __mt7915_reg_addr()
201 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_rr()
209 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_wr()
[all …]
H A Deeprom.c12 u32 mt7915_eeprom_read(struct mt7915_dev *dev, u32 offset) in mt7915_eeprom_read()
22 static int mt7915_eeprom_load(struct mt7915_dev *dev) in mt7915_eeprom_load()
35 static int mt7915_check_eeprom(struct mt7915_dev *dev) in mt7915_check_eeprom()
51 static void mt7915_eeprom_parse_hw_cap(struct mt7915_dev *dev) in mt7915_eeprom_parse_hw_cap()
82 int mt7915_eeprom_init(struct mt7915_dev *dev) in mt7915_eeprom_init()
103 int mt7915_eeprom_get_target_power(struct mt7915_dev *dev, in mt7915_eeprom_get_target_power()
198 mt7915_get_sku_delta(struct mt7915_dev *dev, u32 addr) in mt7915_get_sku_delta()
210 mt7915_eeprom_init_sku_band(struct mt7915_dev *dev, in mt7915_eeprom_init_sku_band()
246 void mt7915_eeprom_init_sku(struct mt7915_dev *dev) in mt7915_eeprom_init_sku()
H A Dpci.c23 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_rx_poll_complete()
31 struct mt7915_dev *dev = dev_instance; in mt7915_irq_handler()
76 mt7915_alloc_device(struct pci_dev *pdev, struct mt7915_dev *dev) in mt7915_alloc_device()
117 struct mt7915_dev *dev; in mt7915_pci_probe()
140 dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_pci_probe()
174 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_pci_remove()
H A Ddebugfs.c18 struct mt7915_dev *dev = data; in mt7915_ser_trigger_set()
42 struct mt7915_dev *dev = data; in mt7915_radar_trigger()
53 struct mt7915_dev *dev = data; in mt7915_dbdc_set()
66 struct mt7915_dev *dev = data; in mt7915_dbdc_get()
79 struct mt7915_dev *dev = data; in mt7915_fw_debug_set()
101 struct mt7915_dev *dev = data; in mt7915_fw_debug_get()
115 struct mt7915_dev *dev = file->private; in mt7915_ampdu_stat_read_phy()
148 struct mt7915_dev *dev = s->private; in mt7915_txbf_stat_read_phy()
197 struct mt7915_dev *dev = file->private; in mt7915_tx_stats_read()
241 struct mt7915_dev *dev = dev_get_drvdata(s->private); in mt7915_read_temperature()
[all …]
H A Dmain.c11 static bool mt7915_dev_running(struct mt7915_dev *dev) in mt7915_dev_running()
25 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_start()
63 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_stop()
120 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_add_interface()
185 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_remove_interface()
227 struct mt7915_dev *dev = phy->dev; in mt7915_set_channel()
264 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_set_key()
313 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_config()
352 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_conf_tx()
367 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_configure_filter()
[all …]
H A Dmcu.c153 mt7915_get_phy_mode(struct mt7915_dev *dev, struct ieee80211_vif *vif, in mt7915_get_phy_mode()
218 static int __mt7915_mcu_msg_send(struct mt7915_dev *dev, struct sk_buff *skb, in __mt7915_mcu_msg_send()
291 mt7915_mcu_parse_eeprom(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_parse_eeprom()
309 mt7915_mcu_parse_response(struct mt7915_dev *dev, int cmd, in mt7915_mcu_parse_response()
342 mt7915_mcu_wait_response(struct mt7915_dev *dev, int cmd, int seq) in mt7915_mcu_wait_response()
368 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_mcu_send_message()
407 mt7915_mcu_rx_radar_detected(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_radar_detected()
508 mt7915_mcu_tx_rate_report(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_tx_rate_report()
550 mt7915_mcu_rx_log_message(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_log_message()
572 mt7915_mcu_rx_ext_event(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mcu_rx_ext_event()
[all …]
H A Dmac.c55 static struct mt76_wcid *mt7915_rx_get_wcid(struct mt7915_dev *dev, in mt7915_rx_get_wcid()
82 bool mt7915_mac_wtbl_update(struct mt7915_dev *dev, int idx, u32 mask) in mt7915_mac_wtbl_update()
91 static u32 mt7915_mac_wtbl_lmac_addr(struct mt7915_dev *dev, u16 wcid) in mt7915_mac_wtbl_lmac_addr()
100 static void mt7915_mac_sta_poll(struct mt7915_dev *dev) in mt7915_mac_sta_poll()
310 int mt7915_mac_fill_rx(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mac_fill_rx()
565 void mt7915_mac_write_txwi(struct mt7915_dev *dev, __le32 *txwi, in mt7915_mac_write_txwi()
713 struct mt7915_dev *dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_tx_prepare_skb()
864 void mt7915_mac_tx_free(struct mt7915_dev *dev, struct sk_buff *skb) in mt7915_mac_tx_free()
954 struct mt7915_dev *dev; in mt7915_tx_complete_skb()
961 dev = container_of(mdev, struct mt7915_dev, mt76); in mt7915_tx_complete_skb()
[all …]
H A Dinit.c10 mt7915_mac_init_band(struct mt7915_dev *dev, u8 band) in mt7915_mac_init_band()
40 static void mt7915_mac_init(struct mt7915_dev *dev) in mt7915_mac_init()
60 static int mt7915_txbf_init(struct mt7915_dev *dev) in mt7915_txbf_init()
80 mt7915_init_txpower_band(struct mt7915_dev *dev, in mt7915_init_txpower_band()
103 static void mt7915_init_txpower(struct mt7915_dev *dev) in mt7915_init_txpower()
113 struct mt7915_dev *dev = container_of(work, struct mt7915_dev, in mt7915_init_work()
122 static int mt7915_init_hardware(struct mt7915_dev *dev) in mt7915_init_hardware()
228 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_regd_notifier()
554 mt7915_cap_dbdc_enable(struct mt7915_dev *dev) in mt7915_cap_dbdc_enable()
575 mt7915_cap_dbdc_disable(struct mt7915_dev *dev) in mt7915_cap_dbdc_disable()
[all …]
H A Deeprom.h112 mt7915_tssi_enabled(struct mt7915_dev *dev, enum nl80211_band band) in mt7915_tssi_enabled()