Home
last modified time | relevance | path

Searched refs:mt7601u_dev (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt7601u/
A Dmt7601u.h68 struct mt7601u_dev *dev;
84 struct mt7601u_dev *dev;
152 struct mt7601u_dev { struct
336 void mt7601u_cleanup(struct mt7601u_dev *dev);
338 int mt7601u_mac_start(struct mt7601u_dev *dev);
339 void mt7601u_mac_stop(struct mt7601u_dev *dev);
342 int mt7601u_phy_init(struct mt7601u_dev *dev);
347 void mt7601u_agc_save(struct mt7601u_dev *dev);
348 void mt7601u_agc_restore(struct mt7601u_dev *dev);
352 int mt7601u_phy_get_rssi(struct mt7601u_dev *dev,
[all …]
A Dtrace.h30 TP_PROTO(struct mt7601u_dev *dev, u32 reg, u32 val),
47 TP_PROTO(struct mt7601u_dev *dev, u32 reg, u32 val),
52 TP_PROTO(struct mt7601u_dev *dev, u32 reg, u32 val),
57 TP_PROTO(struct mt7601u_dev *dev, struct urb *u),
79 TP_PROTO(struct mt7601u_dev *dev,
200 TP_PROTO(struct mt7601u_dev *dev, u8 val),
216 TP_PROTO(struct mt7601u_dev *dev, u8 val),
221 TP_PROTO(struct mt7601u_dev *dev, u8 val),
226 TP_PROTO(struct mt7601u_dev *dev, u8 val),
317 TP_PROTO(struct mt7601u_dev *dev, int cleaned),
[all …]
A Dphy.c16 static void mt7601u_agc_reset(struct mt7601u_dev *dev);
209 int mt7601u_wait_bbp_ready(struct mt7601u_dev *dev) in mt7601u_wait_bbp_ready()
233 int mt7601u_phy_get_rssi(struct mt7601u_dev *dev, in mt7601u_phy_get_rssi()
263 static void mt7601u_vco_cal(struct mt7601u_dev *dev) in mt7601u_vco_cal()
442 int mt7601u_phy_set_channel(struct mt7601u_dev *dev, in mt7601u_phy_set_channel()
806 mt7601u_tssi_params_get(struct mt7601u_dev *dev) in mt7601u_tssi_params_get()
960 void mt7601u_agc_save(struct mt7601u_dev *dev) in mt7601u_agc_save()
965 void mt7601u_agc_restore(struct mt7601u_dev *dev) in mt7601u_agc_restore()
1004 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, in mt7601u_phy_calibrate()
1078 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, in mt7601u_phy_freq_cal()
[all …]
A Dusb.c35 bool mt7601u_usb_alloc_buf(struct mt7601u_dev *dev, size_t len, in mt7601u_usb_alloc_buf()
119 void mt7601u_vendor_reset(struct mt7601u_dev *dev) in mt7601u_vendor_reset()
126 static u32 __mt7601u_rr(struct mt7601u_dev *dev, u32 offset) in __mt7601u_rr()
145 u32 mt7601u_rr(struct mt7601u_dev *dev, u32 offset) in mt7601u_rr()
181 void mt7601u_wr(struct mt7601u_dev *dev, u32 offset, u32 val) in mt7601u_wr()
213 void mt7601u_wr_copy(struct mt7601u_dev *dev, u32 offset, in mt7601u_wr_copy()
229 struct mt7601u_dev *dev) in mt7601u_assign_pipes()
269 struct mt7601u_dev *dev; in mt7601u_probe()
331 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); in mt7601u_disconnect()
345 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); in mt7601u_suspend()
[all …]
A Dinit.c99 static void mt7601u_init_usb_dma(struct mt7601u_dev *dev) in mt7601u_init_usb_dma()
118 static int mt7601u_init_bbp(struct mt7601u_dev *dev) in mt7601u_init_bbp()
136 mt76_init_beacon_offsets(struct mt7601u_dev *dev) in mt76_init_beacon_offsets()
193 static int mt7601u_init_key_mem(struct mt7601u_dev *dev) in mt7601u_init_key_mem()
230 int mt7601u_mac_start(struct mt7601u_dev *dev) in mt7601u_mac_start()
305 void mt7601u_mac_stop(struct mt7601u_dev *dev) in mt7601u_mac_stop()
317 int mt7601u_init_hardware(struct mt7601u_dev *dev) in mt7601u_init_hardware()
422 void mt7601u_cleanup(struct mt7601u_dev *dev) in mt7601u_cleanup()
435 struct mt7601u_dev *dev; in mt7601u_alloc_device()
556 mt76_init_sband_2g(struct mt7601u_dev *dev) in mt76_init_sband_2g()
[all …]
A Dusb.h43 static inline struct usb_device *mt7601u_to_usb_dev(struct mt7601u_dev *mt7601u) in mt7601u_to_usb_dev()
56 bool mt7601u_usb_alloc_buf(struct mt7601u_dev *dev, size_t len,
58 void mt7601u_usb_free_buf(struct mt7601u_dev *dev, struct mt7601u_dma_buf *buf);
59 int mt7601u_usb_submit_buf(struct mt7601u_dev *dev, int dir, int ep_idx,
64 int mt7601u_vendor_request(struct mt7601u_dev *dev, const u8 req,
67 void mt7601u_vendor_reset(struct mt7601u_dev *dev);
68 int mt7601u_vendor_single_wr(struct mt7601u_dev *dev, const u8 req,
A Ddma.c11 static int mt7601u_submit_rx_buf(struct mt7601u_dev *dev,
170 mt7601u_rx_get_pending_entry(struct mt7601u_dev *dev) in mt7601u_rx_get_pending_entry()
192 struct mt7601u_dev *dev = urb->context; in mt7601u_complete_rx()
241 struct mt7601u_dev *dev = q->dev; in mt7601u_complete_tx()
389 static void mt7601u_kill_rx(struct mt7601u_dev *dev) in mt7601u_kill_rx()
431 static void mt7601u_free_rx(struct mt7601u_dev *dev) in mt7601u_free_rx()
441 static int mt7601u_alloc_rx(struct mt7601u_dev *dev) in mt7601u_alloc_rx()
472 static void mt7601u_free_tx(struct mt7601u_dev *dev) in mt7601u_free_tx()
500 static int mt7601u_alloc_tx(struct mt7601u_dev *dev) in mt7601u_alloc_tx()
516 int mt7601u_dma_init(struct mt7601u_dev *dev) in mt7601u_dma_init()
[all …]
A Dmcu.h10 struct mt7601u_dev;
78 int mt7601u_mcu_init(struct mt7601u_dev *dev);
79 int mt7601u_mcu_cmd_init(struct mt7601u_dev *dev);
80 void mt7601u_mcu_cmd_deinit(struct mt7601u_dev *dev);
83 mt7601u_mcu_calibrate(struct mt7601u_dev *dev, enum mcu_calibrate cal, u32 val);
84 int mt7601u_mcu_tssi_read_kick(struct mt7601u_dev *dev, int use_hvga);
A Deeprom.c32 mt7601u_efuse_read(struct mt7601u_dev *dev, u16 addr, u8 *data, in mt7601u_efuse_read()
67 mt7601u_efuse_physical_size_check(struct mt7601u_dev *dev) in mt7601u_efuse_physical_size_check()
98 mt7601u_has_tssi(struct mt7601u_dev *dev, u8 *eeprom) in mt7601u_has_tssi()
106 mt7601u_set_chip_cap(struct mt7601u_dev *dev, u8 *eeprom) in mt7601u_set_chip_cap()
145 mt7601u_set_channel_power(struct mt7601u_dev *dev, u8 *eeprom) in mt7601u_set_channel_power()
169 mt7601u_set_country_reg(struct mt7601u_dev *dev, u8 *eeprom) in mt7601u_set_country_reg()
205 mt7601u_set_rf_freq_off(struct mt7601u_dev *dev, u8 *eeprom) in mt7601u_set_rf_freq_off()
219 mt7601u_set_rssi_offset(struct mt7601u_dev *dev, u8 *eeprom) in mt7601u_set_rssi_offset()
237 mt7601u_extra_power_over_mac(struct mt7601u_dev *dev) in mt7601u_extra_power_over_mac()
330 mt7601u_init_tssi_params(struct mt7601u_dev *dev, u8 *eeprom) in mt7601u_init_tssi_params()
[all …]
A Dmain.c13 struct mt7601u_dev *dev = hw->priv; in mt7601u_start()
33 struct mt7601u_dev *dev = hw->priv; in mt7601u_stop()
47 struct mt7601u_dev *dev = hw->priv; in mt7601u_add_interface()
74 struct mt7601u_dev *dev = hw->priv; in mt7601u_remove_interface()
83 struct mt7601u_dev *dev = hw->priv; in mt7601u_config()
103 struct mt7601u_dev *dev = hw->priv; in mt76_configure_filter()
137 struct mt7601u_dev *dev = hw->priv; in mt7601u_bss_info_changed()
212 struct mt7601u_dev *dev = hw->priv; in mt7601u_sta_add()
243 struct mt7601u_dev *dev = hw->priv; in mt7601u_sta_remove()
269 struct mt7601u_dev *dev = hw->priv; in mt7601u_sw_scan()
[all …]
A Dmac.h155 u32 mt76_mac_process_rx(struct mt7601u_dev *dev, struct sk_buff *skb,
157 int mt76_mac_wcid_set_key(struct mt7601u_dev *dev, u8 idx,
159 void mt76_mac_wcid_set_rate(struct mt7601u_dev *dev, struct mt76_wcid *wcid,
162 int mt76_mac_shared_key_setup(struct mt7601u_dev *dev, u8 vif_idx, u8 key_idx,
164 u16 mt76_mac_tx_rate_val(struct mt7601u_dev *dev,
167 mt7601u_mac_fetch_tx_status(struct mt7601u_dev *dev);
168 void mt76_send_tx_status(struct mt7601u_dev *dev, struct mt76_tx_status *stat);
169 void mt7601u_set_macaddr(struct mt7601u_dev *dev, const u8 *addr);
A Dmac.c11 void mt7601u_set_macaddr(struct mt7601u_dev *dev, const u8 *addr) in mt7601u_set_macaddr()
104 u16 mt76_mac_tx_rate_val(struct mt7601u_dev *dev, in mt76_mac_tx_rate_val()
146 void mt76_mac_wcid_set_rate(struct mt7601u_dev *dev, struct mt76_wcid *wcid, in mt76_mac_wcid_set_rate()
157 struct mt76_tx_status mt7601u_mac_fetch_tx_status(struct mt7601u_dev *dev) in mt7601u_mac_fetch_tx_status()
200 void mt7601u_mac_set_protection(struct mt7601u_dev *dev, bool legacy_prot, in mt7601u_mac_set_protection()
287 static void mt7601u_check_mac_err(struct mt7601u_dev *dev) in mt7601u_check_mac_err()
303 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, in mt7601u_mac_work()
371 void mt7601u_mac_set_ampdu_factor(struct mt7601u_dev *dev) in mt7601u_mac_set_ampdu_factor()
452 mt7601u_rx_is_our_beacon(struct mt7601u_dev *dev, u8 *data) in mt7601u_rx_is_our_beacon()
460 u32 mt76_mac_process_rx(struct mt7601u_dev *dev, struct sk_buff *skb, in mt76_mac_process_rx()
[all …]
A Dmcu.c24 static inline int firmware_running(struct mt7601u_dev *dev) in firmware_running()
42 static inline void trace_mt_mcu_msg_send_cs(struct mt7601u_dev *dev, in trace_mt_mcu_msg_send_cs()
68 static int mt7601u_mcu_wait_resp(struct mt7601u_dev *dev, u8 seq) in mt7601u_mcu_wait_resp()
110 mt7601u_mcu_msg_send(struct mt7601u_dev *dev, struct sk_buff *skb, in mt7601u_mcu_msg_send()
155 static int mt7601u_mcu_function_select(struct mt7601u_dev *dev, in mt7601u_mcu_function_select()
210 int mt7601u_write_reg_pairs(struct mt7601u_dev *dev, u32 base, in mt7601u_write_reg_pairs()
283 static int __mt7601u_dma_fw(struct mt7601u_dev *dev, in __mt7601u_dma_fw()
406 static int mt7601u_load_firmware(struct mt7601u_dev *dev) in mt7601u_load_firmware()
491 int mt7601u_mcu_init(struct mt7601u_dev *dev) in mt7601u_mcu_init()
506 int mt7601u_mcu_cmd_init(struct mt7601u_dev *dev) in mt7601u_mcu_cmd_init()
[all …]
A Dtx.c55 static u8 mt7601u_tx_pktid_enc(struct mt7601u_dev *dev, u8 rate, bool is_probe) in mt7601u_tx_pktid_enc()
71 mt7601u_tx_pktid_dec(struct mt7601u_dev *dev, struct mt76_tx_status *stat) in mt7601u_tx_pktid_dec()
102 void mt7601u_tx_status(struct mt7601u_dev *dev, struct sk_buff *skb) in mt7601u_tx_status()
117 static int mt7601u_skb_rooms(struct mt7601u_dev *dev, struct sk_buff *skb) in mt7601u_skb_rooms()
130 mt7601u_push_txwi(struct mt7601u_dev *dev, struct sk_buff *skb, in mt7601u_push_txwi()
194 struct mt7601u_dev *dev = hw->priv; in mt7601u_tx()
230 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, in mt7601u_tx_stat()
263 struct mt7601u_dev *dev = hw->priv; in mt7601u_conf_tx()
A Ddebugfs.c15 struct mt7601u_dev *dev = data; in mt76_reg_set()
24 struct mt7601u_dev *dev = data; in mt76_reg_get()
35 struct mt7601u_dev *dev = file->private; in mt7601u_ampdu_stat_show()
81 struct mt7601u_dev *dev = file->private; in mt7601u_eeprom_param_show()
125 void mt7601u_init_debugfs(struct mt7601u_dev *dev) in mt7601u_init_debugfs()
A Dcore.c9 int mt7601u_wait_asic_ready(struct mt7601u_dev *dev) in mt7601u_wait_asic_ready()
28 bool mt76_poll(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val, in mt76_poll()
50 bool mt76_poll_msec(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val, in mt76_poll_msec()
A Deeprom.h10 struct mt7601u_dev;
114 int mt7601u_eeprom_init(struct mt7601u_dev *dev);

Completed in 29 milliseconds