Lines Matching defs:rt2x00dev
71 static inline bool rt2800_is_305x_soc(struct rt2x00_dev *rt2x00dev) in rt2800_is_305x_soc()
88 static void rt2800_bbp_write(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_write()
113 static u8 rt2800_bbp_read(struct rt2x00_dev *rt2x00dev, const unsigned int word) in rt2800_bbp_read()
147 static void rt2800_rfcsr_write(struct rt2x00_dev *rt2x00dev, in rt2800_rfcsr_write()
188 static void rt2800_rfcsr_write_bank(struct rt2x00_dev *rt2x00dev, const u8 bank, in rt2800_rfcsr_write_bank()
194 static void rt2800_rfcsr_write_chanreg(struct rt2x00_dev *rt2x00dev, in rt2800_rfcsr_write_chanreg()
201 static void rt2800_rfcsr_write_dccal(struct rt2x00_dev *rt2x00dev, in rt2800_rfcsr_write_dccal()
208 static u8 rt2800_rfcsr_read(struct rt2x00_dev *rt2x00dev, in rt2800_rfcsr_read()
262 static u8 rt2800_rfcsr_read_bank(struct rt2x00_dev *rt2x00dev, const u8 bank, in rt2800_rfcsr_read_bank()
268 static void rt2800_rf_write(struct rt2x00_dev *rt2x00dev, in rt2800_rf_write()
373 static unsigned int rt2800_eeprom_word_index(struct rt2x00_dev *rt2x00dev, in rt2800_eeprom_word_index()
404 static void *rt2800_eeprom_addr(struct rt2x00_dev *rt2x00dev, in rt2800_eeprom_addr()
413 static u16 rt2800_eeprom_read(struct rt2x00_dev *rt2x00dev, in rt2800_eeprom_read()
422 static void rt2800_eeprom_write(struct rt2x00_dev *rt2x00dev, in rt2800_eeprom_write()
431 static u16 rt2800_eeprom_read_from_array(struct rt2x00_dev *rt2x00dev, in rt2800_eeprom_read_from_array()
441 static int rt2800_enable_wlan_rt3290(struct rt2x00_dev *rt2x00dev) in rt2800_enable_wlan_rt3290()
499 void rt2800_mcu_request(struct rt2x00_dev *rt2x00dev, in rt2800_mcu_request()
533 int rt2800_wait_csr_ready(struct rt2x00_dev *rt2x00dev) in rt2800_wait_csr_ready()
550 int rt2800_wait_wpdma_ready(struct rt2x00_dev *rt2x00dev) in rt2800_wait_wpdma_ready()
573 void rt2800_disable_wpdma(struct rt2x00_dev *rt2x00dev) in rt2800_disable_wpdma()
587 void rt2800_get_txwi_rxwi_size(struct rt2x00_dev *rt2x00dev, in rt2800_get_txwi_rxwi_size()
643 int rt2800_check_firmware(struct rt2x00_dev *rt2x00dev, in rt2800_check_firmware()
697 int rt2800_load_firmware(struct rt2x00_dev *rt2x00dev, in rt2800_load_firmware()
839 static int rt2800_agc_to_rssi(struct rt2x00_dev *rt2x00dev, u32 rxwi_w2) in rt2800_agc_to_rssi()
963 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; in rt2800_txdone_entry() local
1062 static unsigned int rt2800_hw_beacon_base(struct rt2x00_dev *rt2x00dev, in rt2800_hw_beacon_base()
1068 static inline u8 rt2800_get_beacon_offset(struct rt2x00_dev *rt2x00dev, in rt2800_get_beacon_offset()
1074 static void rt2800_update_beacons_setup(struct rt2x00_dev *rt2x00dev) in rt2800_update_beacons_setup()
1108 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; in rt2800_write_beacon() local
1182 static inline void rt2800_clear_beacon_register(struct rt2x00_dev *rt2x00dev, in rt2800_clear_beacon_register()
1202 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; in rt2800_clear_beacon() local
1277 int rt2800_rfkill_poll(struct rt2x00_dev *rt2x00dev) in rt2800_rfkill_poll()
1352 static void rt2800_init_led(struct rt2x00_dev *rt2x00dev, in rt2800_init_led()
1365 static void rt2800_config_wcid(struct rt2x00_dev *rt2x00dev, in rt2800_config_wcid()
1382 static void rt2800_delete_wcid_attr(struct rt2x00_dev *rt2x00dev, int wcid) in rt2800_delete_wcid_attr()
1389 static void rt2800_config_wcid_attr_bssidx(struct rt2x00_dev *rt2x00dev, in rt2800_config_wcid_attr_bssidx()
1406 static void rt2800_config_wcid_attr_cipher(struct rt2x00_dev *rt2x00dev, in rt2800_config_wcid_attr_cipher()
1453 int rt2800_config_shared_key(struct rt2x00_dev *rt2x00dev, in rt2800_config_shared_key()
1506 int rt2800_config_pairwise_key(struct rt2x00_dev *rt2x00dev, in rt2800_config_pairwise_key()
1543 static void rt2800_set_max_psdu_len(struct rt2x00_dev *rt2x00dev) in rt2800_set_max_psdu_len()
1560 int rt2800_sta_add(struct rt2x00_dev *rt2x00dev, struct ieee80211_vif *vif, in rt2800_sta_add()
1611 int rt2800_sta_remove(struct rt2x00_dev *rt2x00dev, struct ieee80211_sta *sta) in rt2800_sta_remove()
1636 void rt2800_config_filter(struct rt2x00_dev *rt2x00dev, in rt2800_config_filter()
1681 void rt2800_config_intf(struct rt2x00_dev *rt2x00dev, struct rt2x00_intf *intf, in rt2800_config_intf()
1750 static void rt2800_config_ht_opmode(struct rt2x00_dev *rt2x00dev, in rt2800_config_ht_opmode()
1846 void rt2800_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00lib_erp *erp, in rt2800_config_erp()
1894 static void rt2800_config_3572bt_ant(struct rt2x00_dev *rt2x00dev) in rt2800_config_3572bt_ant()
1928 static void rt2800_set_ant_diversity(struct rt2x00_dev *rt2x00dev, in rt2800_set_ant_diversity()
1949 void rt2800_config_ant(struct rt2x00_dev *rt2x00dev, struct antenna_setup *ant) in rt2800_config_ant()
2027 static void rt2800_config_lna_gain(struct rt2x00_dev *rt2x00dev, in rt2800_config_lna_gain()
2064 static inline bool rt2800_clk_is_20mhz(struct rt2x00_dev *rt2x00dev) in rt2800_clk_is_20mhz()
2071 static void rt2800_freq_cal_mode1(struct rt2x00_dev *rt2x00dev) in rt2800_freq_cal_mode1()
2106 static void rt2800_config_channel_rf2xxx(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf2xxx()
2171 static void rt2800_config_channel_rf3xxx(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3xxx()
2249 static void rt2800_config_channel_rf3052(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3052()
2419 static void rt2800_config_channel_rf3053(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3053()
2719 static void rt2800_config_channel_rf3290(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3290()
2756 static void rt2800_config_channel_rf3322(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3322()
2804 static void rt2800_config_channel_rf53xx(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf53xx()
2905 static void rt2800_config_channel_rf55xx(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf55xx()
3180 static void rt2800_config_channel_rf7620(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf7620()
3339 static void rt2800_config_alc(struct rt2x00_dev *rt2x00dev, in rt2800_config_alc()
3417 static void rt2800_bbp_write_with_rx_chain(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_write_with_rx_chain()
3432 static void rt2800_iq_calibrate(struct rt2x00_dev *rt2x00dev, int channel) in rt2800_iq_calibrate()
3518 static char rt2800_txpower_to_dev(struct rt2x00_dev *rt2x00dev, in rt2800_txpower_to_dev()
3535 static void rt2800_config_channel(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel()
3881 static int rt2800_get_gain_calibration_delta(struct rt2x00_dev *rt2x00dev) in rt2800_get_gain_calibration_delta()
3998 static int rt2800_get_txpower_bw_comp(struct rt2x00_dev *rt2x00dev, in rt2800_get_txpower_bw_comp()
4042 static int rt2800_get_txpower_reg_delta(struct rt2x00_dev *rt2x00dev, in rt2800_get_txpower_reg_delta()
4063 static u8 rt2800_compensate_txpower(struct rt2x00_dev *rt2x00dev, int is_rate_b, in rt2800_compensate_txpower()
4131 static void rt2800_config_txpower_rt3593(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower_rt3593()
4517 static void rt2800_config_txpower_rt6352(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower_rt6352()
4650 static void rt2800_config_txpower_rt28xx(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower_rt28xx()
4833 static void rt2800_config_txpower(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower()
4845 void rt2800_gain_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_gain_calibration()
4852 void rt2800_vco_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_vco_calibration()
4983 static void rt2800_config_retry_limit(struct rt2x00_dev *rt2x00dev, in rt2800_config_retry_limit()
4996 static void rt2800_config_ps(struct rt2x00_dev *rt2x00dev, in rt2800_config_ps()
5026 void rt2800_config(struct rt2x00_dev *rt2x00dev, in rt2800_config()
5052 void rt2800_link_stats(struct rt2x00_dev *rt2x00dev, struct link_qual *qual) in rt2800_link_stats()
5064 static u8 rt2800_get_default_vgc(struct rt2x00_dev *rt2x00dev) in rt2800_get_default_vgc()
5099 static inline void rt2800_set_vgc(struct rt2x00_dev *rt2x00dev, in rt2800_set_vgc()
5119 void rt2800_reset_tuner(struct rt2x00_dev *rt2x00dev, struct link_qual *qual) in rt2800_reset_tuner()
5125 void rt2800_link_tuner(struct rt2x00_dev *rt2x00dev, struct link_qual *qual, in rt2800_link_tuner()
5169 static int rt2800_init_registers(struct rt2x00_dev *rt2x00dev) in rt2800_init_registers()
5652 static int rt2800_wait_bbp_rf_ready(struct rt2x00_dev *rt2x00dev) in rt2800_wait_bbp_rf_ready()
5669 static int rt2800_wait_bbp_ready(struct rt2x00_dev *rt2x00dev) in rt2800_wait_bbp_ready()
5693 static void rt2800_bbp4_mac_if_ctrl(struct rt2x00_dev *rt2x00dev) in rt2800_bbp4_mac_if_ctrl()
5702 static void rt2800_init_freq_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_init_freq_calibration()
5708 static void rt2800_init_bbp_5592_glrt(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_5592_glrt()
5729 static void rt2800_init_bbp_early(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_early()
5749 static void rt2800_disable_unused_dac_adc(struct rt2x00_dev *rt2x00dev) in rt2800_disable_unused_dac_adc()
5763 static void rt2800_init_bbp_305x_soc(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_305x_soc()
5797 static void rt2800_init_bbp_28xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_28xx()
5836 static void rt2800_init_bbp_30xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_30xx()
5878 static void rt2800_init_bbp_3290(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3290()
5949 static void rt2800_init_bbp_3352(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3352()
6041 static void rt2800_init_bbp_3390(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3390()
6079 static void rt2800_init_bbp_3572(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3572()
6116 static void rt2800_init_bbp_3593(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3593()
6132 static void rt2800_init_bbp_53xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_53xx()
6240 static void rt2800_init_bbp_5592(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_5592()
6314 static void rt2800_bbp_glrt_write(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_glrt_write()
6321 static void rt2800_bbp_dcoc_write(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_dcoc_write()
6328 static u8 rt2800_bbp_dcoc_read(struct rt2x00_dev *rt2x00dev, const u8 reg) in rt2800_bbp_dcoc_read()
6334 static void rt2800_init_bbp_6352(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_6352()
6538 static void rt2800_init_bbp(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp()
6599 static void rt2800_led_open_drain_enable(struct rt2x00_dev *rt2x00dev) in rt2800_led_open_drain_enable()
6608 static u8 rt2800_init_rx_filter(struct rt2x00_dev *rt2x00dev, bool bw40, in rt2800_init_rx_filter()
6673 static void rt2800_rf_init_calibration(struct rt2x00_dev *rt2x00dev, in rt2800_rf_init_calibration()
6686 static void rt2800_rx_filter_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_rx_filter_calibration()
6732 static void rt2800_normal_mode_setup_3xxx(struct rt2x00_dev *rt2x00dev) in rt2800_normal_mode_setup_3xxx()
6803 static void rt2800_normal_mode_setup_3593(struct rt2x00_dev *rt2x00dev) in rt2800_normal_mode_setup_3593()
6839 static void rt2800_normal_mode_setup_5xxx(struct rt2x00_dev *rt2x00dev) in rt2800_normal_mode_setup_5xxx()
6868 static void rt2800_init_rfcsr_305x_soc(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_305x_soc()
6906 static void rt2800_init_rfcsr_30xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_30xx()
6976 static void rt2800_init_rfcsr_3290(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3290()
7037 static void rt2800_init_rfcsr_3352(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3352()
7136 static void rt2800_init_rfcsr_3390(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3390()
7188 static void rt2800_init_rfcsr_3572(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3572()
7246 static void rt3593_post_bbp_init(struct rt2x00_dev *rt2x00dev) in rt3593_post_bbp_init()
7293 static void rt2800_init_rfcsr_3593(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3593()
7376 static void rt2800_init_rfcsr_5350(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5350()
7446 static void rt2800_init_rfcsr_5390(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5390()
7544 static void rt2800_init_rfcsr_5392(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5392()
7612 static void rt2800_init_rfcsr_5592(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5592()
7655 static void rt2800_bbp_core_soft_reset(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_core_soft_reset()
7678 static int rt2800_rf_lp_config(struct rt2x00_dev *rt2x00dev, bool btxcal) in rt2800_rf_lp_config()
7723 static char rt2800_lp_tx_filter_bw_cal(struct rt2x00_dev *rt2x00dev) in rt2800_lp_tx_filter_bw_cal()
7749 static void rt2800_bw_filter_calibration(struct rt2x00_dev *rt2x00dev, in rt2800_bw_filter_calibration()
7998 static void rt2800_init_rfcsr_6352(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_6352()
8266 static void rt2800_init_rfcsr(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr()
8312 int rt2800_enable_radio(struct rt2x00_dev *rt2x00dev) in rt2800_enable_radio()
8401 void rt2800_disable_radio(struct rt2x00_dev *rt2x00dev) in rt2800_disable_radio()
8417 int rt2800_efuse_detect(struct rt2x00_dev *rt2x00dev) in rt2800_efuse_detect()
8432 static void rt2800_efuse_read(struct rt2x00_dev *rt2x00dev, unsigned int i) in rt2800_efuse_read()
8478 int rt2800_read_eeprom_efuse(struct rt2x00_dev *rt2x00dev) in rt2800_read_eeprom_efuse()
8489 static u8 rt2800_get_txmixer_gain_24g(struct rt2x00_dev *rt2x00dev) in rt2800_get_txmixer_gain_24g()
8503 static u8 rt2800_get_txmixer_gain_5g(struct rt2x00_dev *rt2x00dev) in rt2800_get_txmixer_gain_5g()
8517 static int rt2800_validate_eeprom(struct rt2x00_dev *rt2x00dev) in rt2800_validate_eeprom()
8657 static int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev) in rt2800_init_eeprom()
9133 static int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev) in rt2800_probe_hw_mode()
9380 static int rt2800_probe_rt(struct rt2x00_dev *rt2x00dev) in rt2800_probe_rt()
9425 int rt2800_probe_hw(struct rt2x00_dev *rt2x00dev) in rt2800_probe_hw()
9502 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_get_key_seq() local
9520 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_set_rts_threshold() local
9560 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_conf_tx() local
9627 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_get_tsf() local
9691 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_get_survey() local