mt76x02_dev 20 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c mt76x0_efuse_physical_size_check(struct mt76x02_dev *dev) mt76x02_dev 48 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c static void mt76x0_set_chip_cap(struct mt76x02_dev *dev) mt76x02_dev 82 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c static void mt76x0_set_temp_offset(struct mt76x02_dev *dev) mt76x02_dev 93 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c static void mt76x0_set_freq_offset(struct mt76x02_dev *dev) mt76x02_dev 110 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c void mt76x0_read_rx_gain(struct mt76x02_dev *dev) mt76x02_dev 130 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c static s8 mt76x0_get_delta(struct mt76x02_dev *dev) mt76x02_dev 152 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c void mt76x0_get_tx_power_per_rate(struct mt76x02_dev *dev, mt76x02_dev 212 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c void mt76x0_get_power_info(struct mt76x02_dev *dev, mt76x02_dev 285 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c static int mt76x0_check_eeprom(struct mt76x02_dev *dev) mt76x02_dev 305 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c static int mt76x0_load_eeprom(struct mt76x02_dev *dev) mt76x02_dev 324 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c int mt76x0_eeprom_init(struct mt76x02_dev *dev) mt76x02_dev 13 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h struct mt76x02_dev; mt76x02_dev 18 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h int mt76x0_eeprom_init(struct mt76x02_dev *dev); mt76x02_dev 19 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h void mt76x0_read_rx_gain(struct mt76x02_dev *dev); mt76x02_dev 20 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h void mt76x0_get_tx_power_per_rate(struct mt76x02_dev *dev, mt76x02_dev 23 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h void mt76x0_get_power_info(struct mt76x02_dev *dev, mt76x02_dev 35 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h static inline bool mt76x0_tssi_enabled(struct mt76x02_dev *dev) mt76x02_dev 34 drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76x0_set_wlan_state(struct mt76x02_dev *dev, u32 val, bool enable) mt76x02_dev 61 drivers/net/wireless/mediatek/mt76/mt76x0/init.c void mt76x0_chip_onoff(struct mt76x02_dev *dev, bool enable, bool reset) mt76x02_dev 89 drivers/net/wireless/mediatek/mt76/mt76x0/init.c static void mt76x0_reset_csr_bbp(struct mt76x02_dev *dev) mt76x02_dev 104 drivers/net/wireless/mediatek/mt76/mt76x0/init.c static int mt76x0_init_bbp(struct mt76x02_dev *dev) mt76x02_dev 127 drivers/net/wireless/mediatek/mt76/mt76x0/init.c static void mt76x0_init_mac_registers(struct mt76x02_dev *dev) mt76x02_dev 153 drivers/net/wireless/mediatek/mt76/mt76x0/init.c static void mt76x0_reset_counters(struct mt76x02_dev *dev) mt76x02_dev 163 drivers/net/wireless/mediatek/mt76/mt76x0/init.c int mt76x0_mac_start(struct mt76x02_dev *dev) mt76x02_dev 178 drivers/net/wireless/mediatek/mt76/mt76x0/init.c void mt76x0_mac_stop(struct mt76x02_dev *dev) mt76x02_dev 213 drivers/net/wireless/mediatek/mt76/mt76x0/init.c int mt76x0_init_hardware(struct mt76x02_dev *dev) mt76x02_dev 260 drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76x0_init_txpower(struct mt76x02_dev *dev, mt76x02_dev 280 drivers/net/wireless/mediatek/mt76/mt76x0/init.c int mt76x0_register_device(struct mt76x02_dev *dev) mt76x02_dev 12 drivers/net/wireless/mediatek/mt76/mt76x0/main.c mt76x0_set_channel(struct mt76x02_dev *dev, struct cfg80211_chan_def *chandef) mt76x02_dev 39 drivers/net/wireless/mediatek/mt76/mt76x0/main.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 12 drivers/net/wireless/mediatek/mt76/mt76x0/mcu.h struct mt76x02_dev; mt76x02_dev 39 drivers/net/wireless/mediatek/mt76/mt76x0/mcu.h int mt76x0e_mcu_init(struct mt76x02_dev *dev); mt76x02_dev 40 drivers/net/wireless/mediatek/mt76/mt76x0/mcu.h int mt76x0u_mcu_init(struct mt76x02_dev *dev); mt76x02_dev 41 drivers/net/wireless/mediatek/mt76/mt76x0/mcu.h static inline int mt76x0_firmware_running(struct mt76x02_dev *dev) mt76x02_dev 31 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h static inline bool is_mt7610e(struct mt76x02_dev *dev) mt76x02_dev 39 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h static inline bool is_mt7630(struct mt76x02_dev *dev) mt76x02_dev 45 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h int mt76x0_init_hardware(struct mt76x02_dev *dev); mt76x02_dev 46 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h int mt76x0_register_device(struct mt76x02_dev *dev); mt76x02_dev 47 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h void mt76x0_chip_onoff(struct mt76x02_dev *dev, bool enable, bool reset); mt76x02_dev 49 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h int mt76x0_mac_start(struct mt76x02_dev *dev); mt76x02_dev 50 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h void mt76x0_mac_stop(struct mt76x02_dev *dev); mt76x02_dev 55 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h void mt76x0_phy_init(struct mt76x02_dev *dev); mt76x02_dev 56 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h int mt76x0_phy_wait_bbp_ready(struct mt76x02_dev *dev); mt76x02_dev 57 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h void mt76x0_phy_set_channel(struct mt76x02_dev *dev, mt76x02_dev 59 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h void mt76x0_phy_set_txpower(struct mt76x02_dev *dev); mt76x02_dev 60 drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h void mt76x0_phy_calibrate(struct mt76x02_dev *dev, bool power_on); mt76x02_dev 15 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 28 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c static void mt76x0e_stop_hw(struct mt76x02_dev *dev) mt76x02_dev 48 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 59 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 99 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c static int mt76x0e_register_device(struct mt76x02_dev *dev) mt76x02_dev 168 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c struct mt76x02_dev *dev; mt76x02_dev 191 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 215 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c static void mt76x0e_cleanup(struct mt76x02_dev *dev) mt76x02_dev 229 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 13 drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c static int mt76x0e_load_firmware(struct mt76x02_dev *dev) mt76x02_dev 116 drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c int mt76x0e_mcu_init(struct mt76x02_dev *dev) mt76x02_dev 21 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_rf_csr_wr(struct mt76x02_dev *dev, u32 offset, u8 value) mt76x02_dev 59 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static int mt76x0_rf_csr_rr(struct mt76x02_dev *dev, u32 offset) mt76x02_dev 103 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_rf_wr(struct mt76x02_dev *dev, u32 offset, u8 val) mt76x02_dev 119 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static int mt76x0_rf_rr(struct mt76x02_dev *dev, u32 offset) mt76x02_dev 141 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_rf_rmw(struct mt76x02_dev *dev, u32 offset, u8 mask, u8 val) mt76x02_dev 156 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_rf_set(struct mt76x02_dev *dev, u32 offset, u8 val) mt76x02_dev 162 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_rf_clear(struct mt76x02_dev *dev, u32 offset, u8 mask) mt76x02_dev 168 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_rf_csr_wr_rp(struct mt76x02_dev *dev, mt76x02_dev 185 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c int mt76x0_phy_wait_bbp_ready(struct mt76x02_dev *dev) mt76x02_dev 206 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_set_band(struct mt76x02_dev *dev, enum nl80211_band band) mt76x02_dev 233 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_set_chan_rf_params(struct mt76x02_dev *dev, u8 channel, mt76x02_dev 400 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_set_chan_bbp_params(struct mt76x02_dev *dev, u16 rf_bw_band) mt76x02_dev 426 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static void mt76x0_phy_ant_select(struct mt76x02_dev *dev) mt76x02_dev 473 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_bbp_set_bw(struct mt76x02_dev *dev, enum nl80211_chan_width width) mt76x02_dev 503 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static void mt76x0_phy_tssi_dc_calibrate(struct mt76x02_dev *dev) mt76x02_dev 543 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_tssi_adc_calibrate(struct mt76x02_dev *dev, s16 *ltssi, mt76x02_dev 576 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static u8 mt76x0_phy_get_rf_pa_mode(struct mt76x02_dev *dev, mt76x02_dev 587 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_get_target_power(struct mt76x02_dev *dev, u8 tx_mode, mt76x02_dev 695 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_get_delta_power(struct mt76x02_dev *dev, u8 tx_mode, mt76x02_dev 822 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static void mt76x0_phy_tssi_calibrate(struct mt76x02_dev *dev) mt76x02_dev 842 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c void mt76x0_phy_set_txpower(struct mt76x02_dev *dev) mt76x02_dev 859 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c void mt76x0_phy_calibrate(struct mt76x02_dev *dev, bool power_on) mt76x02_dev 912 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c void mt76x0_phy_set_channel(struct mt76x02_dev *dev, mt76x02_dev 1017 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static void mt76x0_phy_temp_sensor(struct mt76x02_dev *dev) mt76x02_dev 1055 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static void mt76x0_phy_set_gain_val(struct mt76x02_dev *dev) mt76x02_dev 1067 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_update_channel_gain(struct mt76x02_dev *dev) mt76x02_dev 1102 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c struct mt76x02_dev *dev = container_of(work, struct mt76x02_dev, mt76x02_dev 1115 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static void mt76x0_rf_patch_reg_array(struct mt76x02_dev *dev, mt76x02_dev 1156 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static void mt76x0_phy_rf_init(struct mt76x02_dev *dev) mt76x02_dev 1207 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c void mt76x0_phy_init(struct mt76x02_dev *dev) mt76x02_dev 45 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c static void mt76x0_init_usb_dma(struct mt76x02_dev *dev) mt76x02_dev 72 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c static void mt76x0u_cleanup(struct mt76x02_dev *dev) mt76x02_dev 81 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 103 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 143 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c static int mt76x0u_init_hardware(struct mt76x02_dev *dev, bool reset) mt76x02_dev 178 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c static int mt76x0u_register_device(struct mt76x02_dev *dev) mt76x02_dev 224 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c struct mt76x02_dev *dev; mt76x02_dev 234 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 288 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); mt76x02_dev 306 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); mt76x02_dev 317 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); mt76x02_dev 17 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76x0u_upload_firmware(struct mt76x02_dev *dev, mt76x02_dev 67 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c static int mt76x0_get_firmware(struct mt76x02_dev *dev, mt76x02_dev 85 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c static int mt76x0u_load_firmware(struct mt76x02_dev *dev) mt76x02_dev 163 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c int mt76x0u_mcu_init(struct mt76x02_dev *dev) mt76x02_dev 63 drivers/net/wireless/mediatek/mt76/mt76x02.h void (*pre_tbtt_enable)(struct mt76x02_dev *dev, bool en); mt76x02_dev 64 drivers/net/wireless/mediatek/mt76/mt76x02.h void (*beacon_enable)(struct mt76x02_dev *dev, bool en); mt76x02_dev 132 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_init_device(struct mt76x02_dev *dev); mt76x02_dev 141 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_config_mac_addr_list(struct mt76x02_dev *dev); mt76x02_dev 158 drivers/net/wireless/mediatek/mt76/mt76x02.h s8 mt76x02_tx_get_max_txpwr_adj(struct mt76x02_dev *dev, mt76x02_dev 160 drivers/net/wireless/mediatek/mt76/mt76x02.h s8 mt76x02_tx_get_txpwr_adj(struct mt76x02_dev *dev, s8 txpwr, mt76x02_dev 163 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_tx_set_txpwr_auto(struct mt76x02_dev *dev, s8 txpwr); mt76x02_dev 164 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_set_tx_ackto(struct mt76x02_dev *dev); mt76x02_dev 188 drivers/net/wireless/mediatek/mt76/mt76x02.h struct mt76x02_dev *dev; mt76x02_dev 193 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_init_beacon_config(struct mt76x02_dev *dev); mt76x02_dev 194 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02e_init_beacon_config(struct mt76x02_dev *dev); mt76x02_dev 195 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_resync_beacon_timer(struct mt76x02_dev *dev); mt76x02_dev 197 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_enqueue_buffered_bc(struct mt76x02_dev *dev, mt76x02_dev 201 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_mac_start(struct mt76x02_dev *dev); mt76x02_dev 203 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_init_debugfs(struct mt76x02_dev *dev); mt76x02_dev 205 drivers/net/wireless/mediatek/mt76/mt76x02.h static inline bool is_mt76x0(struct mt76x02_dev *dev) mt76x02_dev 212 drivers/net/wireless/mediatek/mt76/mt76x02.h static inline bool is_mt76x2(struct mt76x02_dev *dev) mt76x02_dev 220 drivers/net/wireless/mediatek/mt76/mt76x02.h static inline void mt76x02_irq_enable(struct mt76x02_dev *dev, u32 mask) mt76x02_dev 225 drivers/net/wireless/mediatek/mt76/mt76x02.h static inline void mt76x02_irq_disable(struct mt76x02_dev *dev, u32 mask) mt76x02_dev 10 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c static void mt76x02_set_beacon_offsets(struct mt76x02_dev *dev) mt76x02_dev 26 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76x02_write_beacon(struct mt76x02_dev *dev, int offset, struct sk_buff *skb) mt76x02_dev 44 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c __mt76x02_mac_set_beacon(struct mt76x02_dev *dev, u8 bcn_idx, mt76x02_dev 70 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c int mt76x02_mac_set_beacon(struct mt76x02_dev *dev, u8 vif_idx, mt76x02_dev 107 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c void mt76x02_mac_set_beacon_enable(struct mt76x02_dev *dev, mt76x02_dev 145 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76x02_resync_beacon_timer(struct mt76x02_dev *dev) mt76x02_dev 177 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c struct mt76x02_dev *dev = (struct mt76x02_dev *)priv; mt76x02_dev 196 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c struct mt76x02_dev *dev = data->dev; mt76x02_dev 217 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76x02_enqueue_buffered_bc(struct mt76x02_dev *dev, mt76x02_dev 245 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c void mt76x02_init_beacon_config(struct mt76x02_dev *dev) mt76x02_dev 12 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c struct mt76x02_dev *dev = file->private; mt76x02_dev 41 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c struct mt76x02_dev *dev = dev_get_drvdata(file->private); mt76x02_dev 60 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c struct mt76x02_dev *dev = file->private; mt76x02_dev 98 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c struct mt76x02_dev *dev = dev_get_drvdata(file->private); mt76x02_dev 111 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c struct mt76x02_dev *dev = data; mt76x02_dev 129 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c struct mt76x02_dev *dev = data; mt76x02_dev 138 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c void mt76x02_init_debugfs(struct mt76x02_dev *dev) mt76x02_dev 143 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76x02_dfs_set_capture_mode_ctrl(struct mt76x02_dev *dev, u8 enable) mt76x02_dev 151 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static void mt76x02_dfs_seq_pool_put(struct mt76x02_dev *dev, mt76x02_dev 163 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76x02_dfs_seq_pool_get(struct mt76x02_dev *dev) mt76x02_dev 205 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static void mt76x02_dfs_detector_reset(struct mt76x02_dev *dev) mt76x02_dev 226 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static bool mt76x02_dfs_check_chirp(struct mt76x02_dev *dev) mt76x02_dev 247 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static void mt76x02_dfs_get_hw_pulse(struct mt76x02_dev *dev, mt76x02_dev 267 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static bool mt76x02_dfs_check_hw_pulse(struct mt76x02_dev *dev, mt76x02_dev 362 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static bool mt76x02_dfs_fetch_event(struct mt76x02_dev *dev, mt76x02_dev 389 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static bool mt76x02_dfs_check_event(struct mt76x02_dev *dev, mt76x02_dev 408 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static void mt76x02_dfs_queue_event(struct mt76x02_dev *dev, mt76x02_dev 426 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static int mt76x02_dfs_create_sequence(struct mt76x02_dev *dev, mt76x02_dev 513 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static u16 mt76x02_dfs_add_event_to_sequence(struct mt76x02_dev *dev, mt76x02_dev 545 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static bool mt76x02_dfs_check_detection(struct mt76x02_dev *dev) mt76x02_dev 562 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static void mt76x02_dfs_add_events(struct mt76x02_dev *dev) mt76x02_dev 589 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static void mt76x02_dfs_check_event_window(struct mt76x02_dev *dev) mt76x02_dev 614 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dev *dev = (struct mt76x02_dev *)arg; mt76x02_dev 673 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static void mt76x02_dfs_init_sw_detector(struct mt76x02_dev *dev) mt76x02_dev 699 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c static void mt76x02_dfs_set_bbp_params(struct mt76x02_dev *dev) mt76x02_dev 794 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c void mt76x02_phy_dfs_adjust_agc(struct mt76x02_dev *dev) mt76x02_dev 823 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c void mt76x02_dfs_init_params(struct mt76x02_dev *dev) mt76x02_dev 855 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c void mt76x02_dfs_init_detector(struct mt76x02_dev *dev) mt76x02_dev 868 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76x02_dfs_set_domain(struct mt76x02_dev *dev, mt76x02_dev 892 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 127 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h void mt76x02_dfs_init_params(struct mt76x02_dev *dev); mt76x02_dev 128 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h void mt76x02_dfs_init_detector(struct mt76x02_dev *dev); mt76x02_dev 131 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h void mt76x02_phy_dfs_adjust_agc(struct mt76x02_dev *dev); mt76x02_dev 62 drivers/net/wireless/mediatek/mt76/mt76x02_dma.h int mt76x02_dma_init(struct mt76x02_dev *dev); mt76x02_dev 63 drivers/net/wireless/mediatek/mt76/mt76x02_dma.h void mt76x02_dma_disable(struct mt76x02_dev *dev); mt76x02_dev 64 drivers/net/wireless/mediatek/mt76/mt76x02_dma.h void mt76x02_dma_cleanup(struct mt76x02_dev *dev); mt76x02_dev 12 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c mt76x02_efuse_read(struct mt76x02_dev *dev, u16 addr, u8 *data, mt76x02_dev 45 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c int mt76x02_eeprom_copy(struct mt76x02_dev *dev, mt76x02_dev 57 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c int mt76x02_get_efuse_data(struct mt76x02_dev *dev, u16 base, void *buf, mt76x02_dev 72 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c void mt76x02_eeprom_parse_hw_cap(struct mt76x02_dev *dev) mt76x02_dev 91 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c bool mt76x02_ext_pa_enabled(struct mt76x02_dev *dev, enum nl80211_band band) mt76x02_dev 102 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c void mt76x02_get_rx_gain(struct mt76x02_dev *dev, enum nl80211_band band, mt76x02_dev 130 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c u8 mt76x02_get_lna_gain(struct mt76x02_dev *dev, mt76x02_dev 165 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h mt76x02_eeprom_get(struct mt76x02_dev *dev, mt76x02_dev 174 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h bool mt76x02_ext_pa_enabled(struct mt76x02_dev *dev, enum nl80211_band band); mt76x02_dev 175 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h int mt76x02_get_efuse_data(struct mt76x02_dev *dev, u16 base, void *buf, mt76x02_dev 177 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h void mt76x02_get_rx_gain(struct mt76x02_dev *dev, enum nl80211_band band, mt76x02_dev 179 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h u8 mt76x02_get_lna_gain(struct mt76x02_dev *dev, mt76x02_dev 182 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h void mt76x02_eeprom_parse_hw_cap(struct mt76x02_dev *dev); mt76x02_dev 183 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h int mt76x02_eeprom_copy(struct mt76x02_dev *dev, mt76x02_dev 36 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c int mt76x02_mac_shared_key_setup(struct mt76x02_dev *dev, u8 vif_idx, mt76x02_dev 59 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_wcid_sync_pn(struct mt76x02_dev *dev, u8 idx, mt76x02_dev 84 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c int mt76x02_mac_wcid_set_key(struct mt76x02_dev *dev, u8 idx, mt76x02_dev 126 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_wcid_setup(struct mt76x02_dev *dev, u8 idx, mt76x02_dev 147 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_wcid_set_drop(struct mt76x02_dev *dev, u8 idx, bool drop) mt76x02_dev 158 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_mac_tx_rate_val(struct mt76x02_dev *dev, mt76x02_dev 206 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_wcid_set_rate(struct mt76x02_dev *dev, struct mt76_wcid *wcid, mt76x02_dev 222 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_set_short_preamble(struct mt76x02_dev *dev, bool enable) mt76x02_dev 230 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c bool mt76x02_mac_load_tx_status(struct mt76x02_dev *dev, mt76x02_dev 313 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_write_txwi(struct mt76x02_dev *dev, struct mt76x02_txwi *txwi, mt76x02_dev 448 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_mac_fill_tx_status(struct mt76x02_dev *dev, struct mt76x02_sta *msta, mt76x02_dev 512 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_send_tx_status(struct mt76x02_dev *dev, mt76x02_dev 593 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_mac_process_rate(struct mt76x02_dev *dev, mt76x02_dev 665 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_setaddr(struct mt76x02_dev *dev, const u8 *addr) mt76x02_dev 697 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_mac_get_rssi(struct mt76x02_dev *dev, s8 rssi, int chain) mt76x02_dev 707 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c int mt76x02_mac_process_rx(struct mt76x02_dev *dev, struct sk_buff *skb, mt76x02_dev 796 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_poll_tx_status(struct mt76x02_dev *dev, bool irq) mt76x02_dev 829 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 848 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_set_rts_thresh(struct mt76x02_dev *dev, u32 val) mt76x02_dev 864 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_set_tx_protection(struct mt76x02_dev *dev, bool legacy_prot, mt76x02_dev 949 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 965 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c static void mt76x02_check_mac_err(struct mt76x02_dev *dev) mt76x02_dev 981 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_edcca_tx_enable(struct mt76x02_dev *dev, bool enable) mt76x02_dev 1005 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_edcca_init(struct mt76x02_dev *dev) mt76x02_dev 1047 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c static void mt76x02_edcca_check(struct mt76x02_dev *dev) mt76x02_dev 1091 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c struct mt76x02_dev *dev = container_of(work, struct mt76x02_dev, mt76x02_dev 1119 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c void mt76x02_mac_set_bssid(struct mt76x02_dev *dev, u8 idx, const u8 *addr) mt76x02_dev 10 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h struct mt76x02_dev; mt76x02_dev 164 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_set_short_preamble(struct mt76x02_dev *dev, bool enable); mt76x02_dev 165 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h int mt76x02_mac_shared_key_setup(struct mt76x02_dev *dev, u8 vif_idx, mt76x02_dev 167 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h int mt76x02_mac_wcid_set_key(struct mt76x02_dev *dev, u8 idx, mt76x02_dev 169 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_wcid_sync_pn(struct mt76x02_dev *dev, u8 idx, mt76x02_dev 171 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_wcid_setup(struct mt76x02_dev *dev, u8 idx, u8 vif_idx, mt76x02_dev 173 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_wcid_set_drop(struct mt76x02_dev *dev, u8 idx, bool drop); mt76x02_dev 174 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_wcid_set_rate(struct mt76x02_dev *dev, struct mt76_wcid *wcid, mt76x02_dev 176 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h bool mt76x02_mac_load_tx_status(struct mt76x02_dev *dev, mt76x02_dev 178 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_send_tx_status(struct mt76x02_dev *dev, mt76x02_dev 180 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h int mt76x02_mac_process_rx(struct mt76x02_dev *dev, struct sk_buff *skb, mt76x02_dev 182 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_set_tx_protection(struct mt76x02_dev *dev, bool legacy_prot, mt76x02_dev 184 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_set_rts_thresh(struct mt76x02_dev *dev, u32 val); mt76x02_dev 185 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_setaddr(struct mt76x02_dev *dev, const u8 *addr); mt76x02_dev 186 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_write_txwi(struct mt76x02_dev *dev, struct mt76x02_txwi *txwi, mt76x02_dev 189 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_poll_tx_status(struct mt76x02_dev *dev, bool irq); mt76x02_dev 195 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_set_bssid(struct mt76x02_dev *dev, u8 idx, const u8 *addr); mt76x02_dev 196 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h int mt76x02_mac_set_beacon(struct mt76x02_dev *dev, u8 vif_idx, mt76x02_dev 198 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_mac_set_beacon_enable(struct mt76x02_dev *dev, mt76x02_dev 201 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h void mt76x02_edcca_init(struct mt76x02_dev *dev); mt76x02_dev 16 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 74 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c int mt76x02_mcu_function_select(struct mt76x02_dev *dev, enum mcu_function func, mt76x02_dev 93 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c int mt76x02_mcu_set_radio_state(struct mt76x02_dev *dev, bool on) mt76x02_dev 108 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c int mt76x02_mcu_calibrate(struct mt76x02_dev *dev, int type, u32 param) mt76x02_dev 137 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c int mt76x02_mcu_cleanup(struct mt76x02_dev *dev) mt76x02_dev 151 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c void mt76x02_set_ethtool_fwver(struct mt76x02_dev *dev, mt76x02_dev 94 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h int mt76x02_mcu_cleanup(struct mt76x02_dev *dev); mt76x02_dev 95 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h int mt76x02_mcu_calibrate(struct mt76x02_dev *dev, int type, u32 param); mt76x02_dev 98 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h int mt76x02_mcu_function_select(struct mt76x02_dev *dev, enum mcu_function func, mt76x02_dev 100 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h int mt76x02_mcu_set_radio_state(struct mt76x02_dev *dev, bool on); mt76x02_dev 101 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h void mt76x02_set_ethtool_fwver(struct mt76x02_dev *dev, mt76x02_dev 16 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_dev *dev = (struct mt76x02_dev *)arg; mt76x02_dev 60 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c static void mt76x02e_pre_tbtt_enable(struct mt76x02_dev *dev, bool en) mt76x02_dev 68 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c static void mt76x02e_beacon_enable(struct mt76x02_dev *dev, bool en) mt76x02_dev 77 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c void mt76x02e_init_beacon_config(struct mt76x02_dev *dev) mt76x02_dev 100 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76x02_init_tx_queue(struct mt76x02_dev *dev, struct mt76_sw_queue *q, mt76x02_dev 123 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76x02_init_rx_queue(struct mt76x02_dev *dev, struct mt76_queue *q, mt76x02_dev 138 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c static void mt76x02_process_tx_status_fifo(struct mt76x02_dev *dev) mt76x02_dev 149 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_dev *dev = (struct mt76x02_dev *)data; mt76x02_dev 159 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_dev *dev = container_of(napi, struct mt76x02_dev, mt76x02_dev 179 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c int mt76x02_dma_init(struct mt76x02_dev *dev) mt76x02_dev 249 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_dev *dev; mt76x02_dev 251 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 258 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_dev *dev = dev_instance; mt76x02_dev 309 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c static void mt76x02_dma_enable(struct mt76x02_dev *dev) mt76x02_dev 325 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c void mt76x02_dma_cleanup(struct mt76x02_dev *dev) mt76x02_dev 332 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c void mt76x02_dma_disable(struct mt76x02_dev *dev) mt76x02_dev 344 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c void mt76x02_mac_start(struct mt76x02_dev *dev) mt76x02_dev 357 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c static bool mt76x02_tx_hang(struct mt76x02_dev *dev) mt76x02_dev 384 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 398 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c static void mt76x02_reset_state(struct mt76x02_dev *dev) mt76x02_dev 436 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c static void mt76x02_watchdog_reset(struct mt76x02_dev *dev) mt76x02_dev 520 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c static void mt76x02_check_tx_hang(struct mt76x02_dev *dev) mt76x02_dev 549 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_dev *dev = container_of(work, struct mt76x02_dev, mt76x02_dev 12 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c void mt76x02_phy_set_rxpath(struct mt76x02_dev *dev) mt76x02_dev 34 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c void mt76x02_phy_set_txdac(struct mt76x02_dev *dev) mt76x02_dev 93 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c void mt76x02_phy_set_txpower(struct mt76x02_dev *dev, int txp_0, int txp_1) mt76x02_dev 124 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c void mt76x02_phy_set_bw(struct mt76x02_dev *dev, int width, u8 ctrl) mt76x02_dev 150 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c void mt76x02_phy_set_band(struct mt76x02_dev *dev, int band, mt76x02_dev 169 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c bool mt76x02_phy_adjust_vga_gain(struct mt76x02_dev *dev) mt76x02_dev 193 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c void mt76x02_init_agc_gain(struct mt76x02_dev *dev) mt76x02_dev 12 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h mt76x02_get_rssi_gain_thresh(struct mt76x02_dev *dev) mt76x02_dev 25 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h mt76x02_get_low_rssi_gain_thresh(struct mt76x02_dev *dev) mt76x02_dev 38 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h void mt76x02_phy_set_txpower(struct mt76x02_dev *dev, int txp_0, int txp_2); mt76x02_dev 41 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h void mt76x02_phy_set_rxpath(struct mt76x02_dev *dev); mt76x02_dev 42 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h void mt76x02_phy_set_txdac(struct mt76x02_dev *dev); mt76x02_dev 43 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h void mt76x02_phy_set_bw(struct mt76x02_dev *dev, int width, u8 ctrl); mt76x02_dev 44 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h void mt76x02_phy_set_band(struct mt76x02_dev *dev, int band, mt76x02_dev 46 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h bool mt76x02_phy_adjust_vga_gain(struct mt76x02_dev *dev); mt76x02_dev 47 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h void mt76x02_init_agc_gain(struct mt76x02_dev *dev); mt76x02_dev 28 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h TP_PROTO(struct mt76x02_dev *dev), mt76x02_dev 40 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h TP_PROTO(struct mt76x02_dev *dev, u8 wcid, u8 pktid), mt76x02_dev 57 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h TP_PROTO(struct mt76x02_dev *dev, u8 wcid, u8 pktid), mt76x02_dev 62 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h TP_PROTO(struct mt76x02_dev *dev), mt76x02_dev 67 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h TP_PROTO(struct mt76x02_dev *dev, mt76x02_dev 104 drivers/net/wireless/mediatek/mt76/mt76x02_trace.h TP_PROTO(struct mt76x02_dev *dev, u32 val, u32 mask), mt76x02_dev 15 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 38 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 57 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c s8 mt76x02_tx_get_max_txpwr_adj(struct mt76x02_dev *dev, mt76x02_dev 97 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c s8 mt76x02_tx_get_txpwr_adj(struct mt76x02_dev *dev, s8 txpwr, s8 max_txpwr_adj) mt76x02_dev 111 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c void mt76x02_tx_set_txpwr_auto(struct mt76x02_dev *dev, s8 txpwr) mt76x02_dev 126 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 143 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 12 drivers/net/wireless/mediatek/mt76/mt76x02_usb.h void mt76x02u_mcu_fw_reset(struct mt76x02_dev *dev); mt76x02_dev 13 drivers/net/wireless/mediatek/mt76/mt76x02_usb.h int mt76x02u_mcu_fw_send_data(struct mt76x02_dev *dev, const void *data, mt76x02_dev 23 drivers/net/wireless/mediatek/mt76/mt76x02_usb.h void mt76x02u_init_beacon_config(struct mt76x02_dev *dev); mt76x02_dev 24 drivers/net/wireless/mediatek/mt76/mt76x02_usb.h void mt76x02u_exit_beacon_config(struct mt76x02_dev *dev); mt76x02_dev 68 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 113 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c static void mt76x02u_start_pre_tbtt_timer(struct mt76x02_dev *dev) mt76x02_dev 131 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c static void mt76x02u_restart_pre_tbtt_timer(struct mt76x02_dev *dev) mt76x02_dev 157 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c static void mt76x02u_stop_pre_tbtt_timer(struct mt76x02_dev *dev) mt76x02_dev 168 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c struct mt76x02_dev *dev = mt76x02_dev 169 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c container_of(work, struct mt76x02_dev, pre_tbtt_work); mt76x02_dev 199 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c struct mt76x02_dev *dev = mt76x02_dev 200 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c container_of(timer, struct mt76x02_dev, pre_tbtt_timer); mt76x02_dev 207 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c static void mt76x02u_pre_tbtt_enable(struct mt76x02_dev *dev, bool en) mt76x02_dev 216 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c static void mt76x02u_beacon_enable(struct mt76x02_dev *dev, bool en) mt76x02_dev 234 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c void mt76x02u_init_beacon_config(struct mt76x02_dev *dev) mt76x02_dev 252 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c void mt76x02u_exit_beacon_config(struct mt76x02_dev *dev) mt76x02_dev 219 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c void mt76x02u_mcu_fw_reset(struct mt76x02_dev *dev) mt76x02_dev 228 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c __mt76x02u_mcu_fw_send_data(struct mt76x02_dev *dev, u8 *data, mt76x02_dev 264 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c int mt76x02u_mcu_fw_send_data(struct mt76x02_dev *dev, const void *data, mt76x02_dev 95 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76x02_dev 143 drivers/net/wireless/mediatek/mt76/mt76x02_util.c void mt76x02_init_device(struct mt76x02_dev *dev) mt76x02_dev 217 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 250 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 278 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 288 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_vif_init(struct mt76x02_dev *dev, struct ieee80211_vif *vif, mt76x02_dev 308 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 349 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 362 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 412 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 488 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 529 drivers/net/wireless/mediatek/mt76/mt76x02_util.c void mt76x02_set_tx_ackto(struct mt76x02_dev *dev) mt76x02_dev 550 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 561 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 578 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 608 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 622 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 638 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 673 drivers/net/wireless/mediatek/mt76/mt76x02_util.c void mt76x02_config_mac_addr_list(struct mt76x02_dev *dev) mt76x02_dev 14 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x2_eeprom_get_macaddr(struct mt76x02_dev *dev) mt76x02_dev 23 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x2_has_cal_free_data(struct mt76x02_dev *dev, u8 *efuse) mt76x02_dev 49 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x2_apply_cal_free_data(struct mt76x02_dev *dev, u8 *efuse) mt76x02_dev 118 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c static int mt76x2_check_eeprom(struct mt76x02_dev *dev) mt76x02_dev 136 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x2_eeprom_load(struct mt76x02_dev *dev) mt76x02_dev 178 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x2_set_rx_gain_group(struct mt76x02_dev *dev, u8 val) mt76x02_dev 193 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x2_set_rssi_offset(struct mt76x02_dev *dev, int chain, u8 val) mt76x02_dev 222 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x2_get_5g_rx_gain(struct mt76x02_dev *dev, u8 channel) mt76x02_dev 249 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c void mt76x2_read_rx_gain(struct mt76x02_dev *dev) mt76x02_dev 278 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c void mt76x2_get_rate_power(struct mt76x02_dev *dev, struct mt76_rate_power *t, mt76x02_dev 342 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x2_get_power_info_2g(struct mt76x02_dev *dev, mt76x02_dev 372 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x2_get_power_info_5g(struct mt76x02_dev *dev, mt76x02_dev 423 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c void mt76x2_get_power_info(struct mt76x02_dev *dev, mt76x02_dev 456 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c int mt76x2_get_temp_comp(struct mt76x02_dev *dev, struct mt76x2_temp_comp *t) mt76x02_dev 490 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c int mt76x2_eeprom_init(struct mt76x02_dev *dev) mt76x02_dev 43 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.h void mt76x2_get_rate_power(struct mt76x02_dev *dev, struct mt76_rate_power *t, mt76x02_dev 45 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.h void mt76x2_get_power_info(struct mt76x02_dev *dev, mt76x02_dev 48 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.h int mt76x2_get_temp_comp(struct mt76x02_dev *dev, struct mt76x2_temp_comp *t); mt76x02_dev 49 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.h void mt76x2_read_rx_gain(struct mt76x02_dev *dev); mt76x02_dev 52 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.h mt76x2_has_ext_lna(struct mt76x02_dev *dev) mt76x02_dev 63 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.h mt76x2_temp_tx_alc_enabled(struct mt76x02_dev *dev) mt76x02_dev 76 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.h mt76x2_tssi_enabled(struct mt76x02_dev *dev) mt76x02_dev 12 drivers/net/wireless/mediatek/mt76/mt76x2/init.c mt76x2_set_wlan_state(struct mt76x02_dev *dev, bool enable) mt76x02_dev 27 drivers/net/wireless/mediatek/mt76/mt76x2/init.c void mt76x2_reset_wlan(struct mt76x02_dev *dev, bool enable) mt76x02_dev 54 drivers/net/wireless/mediatek/mt76/mt76x2/init.c void mt76_write_mac_initvals(struct mt76x02_dev *dev) mt76x02_dev 151 drivers/net/wireless/mediatek/mt76/mt76x2/init.c void mt76x2_init_txpower(struct mt76x02_dev *dev, mt76x02_dev 9 drivers/net/wireless/mediatek/mt76/mt76x2/mac.c void mt76x2_mac_stop(struct mt76x02_dev *dev, bool force) mt76x02_dev 11 drivers/net/wireless/mediatek/mt76/mt76x2/mac.h struct mt76x02_dev; mt76x02_dev 15 drivers/net/wireless/mediatek/mt76/mt76x2/mac.h int mt76x2_mac_start(struct mt76x02_dev *dev); mt76x02_dev 16 drivers/net/wireless/mediatek/mt76/mt76x2/mac.h void mt76x2_mac_stop(struct mt76x02_dev *dev, bool force); mt76x02_dev 18 drivers/net/wireless/mediatek/mt76/mt76x2/mac.h static inline void mt76x2_mac_resume(struct mt76x02_dev *dev) mt76x02_dev 15 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c int mt76x2_mcu_set_channel(struct mt76x02_dev *dev, u8 channel, u8 bw, mt76x02_dev 46 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c int mt76x2_mcu_load_cr(struct mt76x02_dev *dev, u8 type, u8 temp_level, mt76x02_dev 73 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c int mt76x2_mcu_init_gain(struct mt76x02_dev *dev, u8 channel, u32 gain, mt76x02_dev 92 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c int mt76x2_mcu_tssi_comp(struct mt76x02_dev *dev, mt76x02_dev 63 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.h int mt76x2_mcu_tssi_comp(struct mt76x02_dev *dev, mt76x02_dev 65 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.h int mt76x2_mcu_init_gain(struct mt76x02_dev *dev, u8 channel, u32 gain, mt76x02_dev 26 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h static inline bool is_mt7612(struct mt76x02_dev *dev) mt76x02_dev 31 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h static inline bool mt76x2_channel_silent(struct mt76x02_dev *dev) mt76x02_dev 41 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h int mt76x2_register_device(struct mt76x02_dev *dev); mt76x02_dev 43 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_phy_power_on(struct mt76x02_dev *dev); mt76x02_dev 44 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_stop_hardware(struct mt76x02_dev *dev); mt76x02_dev 45 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h int mt76x2_eeprom_init(struct mt76x02_dev *dev); mt76x02_dev 46 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h int mt76x2_apply_calibration_data(struct mt76x02_dev *dev, int channel); mt76x02_dev 48 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_phy_set_antenna(struct mt76x02_dev *dev); mt76x02_dev 49 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h int mt76x2_phy_start(struct mt76x02_dev *dev); mt76x02_dev 50 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h int mt76x2_phy_set_channel(struct mt76x02_dev *dev, mt76x02_dev 53 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_phy_set_txpower(struct mt76x02_dev *dev); mt76x02_dev 55 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h int mt76x2_mcu_init(struct mt76x02_dev *dev); mt76x02_dev 56 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h int mt76x2_mcu_set_channel(struct mt76x02_dev *dev, u8 channel, u8 bw, mt76x02_dev 58 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h int mt76x2_mcu_load_cr(struct mt76x02_dev *dev, u8 type, u8 temp_level, mt76x02_dev 61 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_cleanup(struct mt76x02_dev *dev); mt76x02_dev 63 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h int mt76x2_mac_reset(struct mt76x02_dev *dev, bool hard); mt76x02_dev 64 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_reset_wlan(struct mt76x02_dev *dev, bool enable); mt76x02_dev 65 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_init_txpower(struct mt76x02_dev *dev, mt76x02_dev 67 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76_write_mac_initvals(struct mt76x02_dev *dev); mt76x02_dev 69 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_phy_tssi_compensate(struct mt76x02_dev *dev); mt76x02_dev 70 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_phy_set_txpower_regs(struct mt76x02_dev *dev, mt76x02_dev 72 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_configure_tx_delay(struct mt76x02_dev *dev, mt76x02_dev 74 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_apply_gain_adj(struct mt76x02_dev *dev); mt76x02_dev 75 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h void mt76x2_phy_update_channel_gain(struct mt76x02_dev *dev); mt76x02_dev 21 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h int mt76x2u_register_device(struct mt76x02_dev *dev); mt76x02_dev 22 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h int mt76x2u_init_hardware(struct mt76x02_dev *dev); mt76x02_dev 23 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h void mt76x2u_cleanup(struct mt76x02_dev *dev); mt76x02_dev 24 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h void mt76x2u_stop_hw(struct mt76x02_dev *dev); mt76x02_dev 26 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h int mt76x2u_mac_reset(struct mt76x02_dev *dev); mt76x02_dev 27 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h int mt76x2u_mac_start(struct mt76x02_dev *dev); mt76x02_dev 28 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h int mt76x2u_mac_stop(struct mt76x02_dev *dev); mt76x02_dev 30 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h int mt76x2u_phy_set_channel(struct mt76x02_dev *dev, mt76x02_dev 35 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h int mt76x2u_mcu_init(struct mt76x02_dev *dev); mt76x02_dev 36 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h int mt76x2u_mcu_fw_init(struct mt76x02_dev *dev); mt76x02_dev 38 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h int mt76x2u_alloc_queues(struct mt76x02_dev *dev); mt76x02_dev 39 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h void mt76x2u_queues_deinit(struct mt76x02_dev *dev); mt76x02_dev 40 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h void mt76x2u_stop_queues(struct mt76x02_dev *dev); mt76x02_dev 34 drivers/net/wireless/mediatek/mt76/mt76x2/pci.c struct mt76x02_dev *dev; mt76x02_dev 57 drivers/net/wireless/mediatek/mt76/mt76x2/pci.c dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 97 drivers/net/wireless/mediatek/mt76/mt76x2/pci.c struct mt76x02_dev *dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 12 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76x2_mac_pbf_init(struct mt76x02_dev *dev) mt76x02_dev 30 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76x2_fixup_xtal(struct mt76x02_dev *dev) mt76x02_dev 69 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c int mt76x2_mac_reset(struct mt76x02_dev *dev, bool hard) mt76x02_dev 149 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c int mt76x2_mac_start(struct mt76x02_dev *dev) mt76x02_dev 166 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76x2_power_on_rf_patch(struct mt76x02_dev *dev) mt76x02_dev 187 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76x2_power_on_rf(struct mt76x02_dev *dev, int unit) mt76x02_dev 209 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76x2_power_on(struct mt76x02_dev *dev) mt76x02_dev 244 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c static int mt76x2_init_hardware(struct mt76x02_dev *dev) mt76x02_dev 280 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c void mt76x2_stop_hardware(struct mt76x02_dev *dev) mt76x02_dev 289 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c void mt76x2_cleanup(struct mt76x02_dev *dev) mt76x02_dev 298 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c int mt76x2_register_device(struct mt76x02_dev *dev) mt76x02_dev 11 drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 34 drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 41 drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c mt76x2_set_channel(struct mt76x02_dev *dev, struct cfg80211_chan_def *chandef) mt76x02_dev 79 drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 125 drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 146 drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 15 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76pci_load_rom_patch(struct mt76x02_dev *dev) mt76x02_dev 81 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76pci_load_firmware(struct mt76x02_dev *dev) mt76x02_dev 160 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c struct mt76x02_dev *dev; mt76x02_dev 163 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 177 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c int mt76x2_mcu_init(struct mt76x02_dev *dev) mt76x02_dev 13 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76x2_phy_tssi_init_cal(struct mt76x02_dev *dev) mt76x02_dev 36 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76x2_phy_channel_calibrate(struct mt76x02_dev *dev, bool mac_stopped) mt76x02_dev 71 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c void mt76x2_phy_set_antenna(struct mt76x02_dev *dev) mt76x02_dev 117 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c int mt76x2_phy_set_channel(struct mt76x02_dev *dev, mt76x02_dev 254 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76x2_phy_temp_compensate(struct mt76x02_dev *dev) mt76x02_dev 283 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c struct mt76x02_dev *dev; mt76x02_dev 285 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c dev = container_of(work, struct mt76x02_dev, cal_work.work); mt76x02_dev 300 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c int mt76x2_phy_start(struct mt76x02_dev *dev) mt76x02_dev 13 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x2_adjust_high_lna_gain(struct mt76x02_dev *dev, int reg, s8 offset) mt76x02_dev 24 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x2_adjust_agc_gain(struct mt76x02_dev *dev, int reg, s8 offset) mt76x02_dev 33 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c void mt76x2_apply_gain_adj(struct mt76x02_dev *dev) mt76x02_dev 45 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c void mt76x2_phy_set_txpower_regs(struct mt76x02_dev *dev, mt76x02_dev 137 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c void mt76x2_phy_set_txpower(struct mt76x02_dev *dev) mt76x02_dev 184 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c void mt76x2_configure_tx_delay(struct mt76x02_dev *dev, mt76x02_dev 203 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c void mt76x2_phy_tssi_compensate(struct mt76x02_dev *dev) mt76x02_dev 245 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x2_phy_set_gain_val(struct mt76x02_dev *dev) mt76x02_dev 274 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c void mt76x2_phy_update_channel_gain(struct mt76x02_dev *dev) mt76x02_dev 39 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c struct mt76x02_dev *dev; mt76x02_dev 48 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c dev = container_of(mdev, struct mt76x02_dev, mt76); mt76x02_dev 84 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c struct mt76x02_dev *dev = usb_get_intfdata(intf); mt76x02_dev 99 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c struct mt76x02_dev *dev = usb_get_intfdata(intf); mt76x02_dev 108 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c struct mt76x02_dev *dev = usb_get_intfdata(intf); mt76x02_dev 13 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c static void mt76x2u_init_dma(struct mt76x02_dev *dev) mt76x02_dev 28 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c static void mt76x2u_power_on_rf_patch(struct mt76x02_dev *dev) mt76x02_dev 48 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c static void mt76x2u_power_on_rf(struct mt76x02_dev *dev, int unit) mt76x02_dev 70 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c static void mt76x2u_power_on(struct mt76x02_dev *dev) mt76x02_dev 106 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c static int mt76x2u_init_eeprom(struct mt76x02_dev *dev) mt76x02_dev 126 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c int mt76x2u_init_hardware(struct mt76x02_dev *dev) mt76x02_dev 197 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c int mt76x2u_register_device(struct mt76x02_dev *dev) mt76x02_dev 241 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c void mt76x2u_stop_hw(struct mt76x02_dev *dev) mt76x02_dev 248 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c void mt76x2u_cleanup(struct mt76x02_dev *dev) mt76x02_dev 9 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c static void mt76x2u_mac_reset_counters(struct mt76x02_dev *dev) mt76x02_dev 19 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c static void mt76x2u_mac_fixup_xtal(struct mt76x02_dev *dev) mt76x02_dev 72 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c int mt76x2u_mac_reset(struct mt76x02_dev *dev) mt76x02_dev 105 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c int mt76x2u_mac_start(struct mt76x02_dev *dev) mt76x02_dev 122 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c int mt76x2u_mac_stop(struct mt76x02_dev *dev) mt76x02_dev 10 drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 26 drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 34 drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c mt76x2u_set_channel(struct mt76x02_dev *dev, mt76x02_dev 69 drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c struct mt76x02_dev *dev = hw->priv; mt76x02_dev 21 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c static void mt76x2u_mcu_load_ivb(struct mt76x02_dev *dev) mt76x02_dev 28 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c static void mt76x2u_mcu_enable_patch(struct mt76x02_dev *dev) mt76x02_dev 43 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c static void mt76x2u_mcu_reset_wmt(struct mt76x02_dev *dev) mt76x02_dev 57 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c static int mt76x2u_mcu_load_rom_patch(struct mt76x02_dev *dev) mt76x02_dev 144 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c static int mt76x2u_mcu_load_firmware(struct mt76x02_dev *dev) mt76x02_dev 235 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c int mt76x2u_mcu_fw_init(struct mt76x02_dev *dev) mt76x02_dev 246 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c int mt76x2u_mcu_init(struct mt76x02_dev *dev) mt76x02_dev 11 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76x2u_phy_channel_calibrate(struct mt76x02_dev *dev, bool mac_stopped) mt76x02_dev 44 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c struct mt76x02_dev *dev; mt76x02_dev 46 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c dev = container_of(work, struct mt76x02_dev, cal_work.work); mt76x02_dev 60 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c int mt76x2u_phy_set_channel(struct mt76x02_dev *dev,