Lines Matching defs:rt2x00dev
64 static inline bool rt2800_is_305x_soc(struct rt2x00_dev *rt2x00dev) in rt2800_is_305x_soc()
81 static void rt2800_bbp_write(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_write()
106 static u8 rt2800_bbp_read(struct rt2x00_dev *rt2x00dev, const unsigned int word) in rt2800_bbp_read()
140 static void rt2800_rfcsr_write(struct rt2x00_dev *rt2x00dev, in rt2800_rfcsr_write()
181 static void rt2800_rfcsr_write_bank(struct rt2x00_dev *rt2x00dev, const u8 bank, in rt2800_rfcsr_write_bank()
187 static void rt2800_rfcsr_write_chanreg(struct rt2x00_dev *rt2x00dev, in rt2800_rfcsr_write_chanreg()
194 static void rt2800_rfcsr_write_dccal(struct rt2x00_dev *rt2x00dev, in rt2800_rfcsr_write_dccal()
201 static u8 rt2800_rfcsr_read(struct rt2x00_dev *rt2x00dev, in rt2800_rfcsr_read()
255 static u8 rt2800_rfcsr_read_bank(struct rt2x00_dev *rt2x00dev, const u8 bank, in rt2800_rfcsr_read_bank()
261 static void rt2800_rf_write(struct rt2x00_dev *rt2x00dev, in rt2800_rf_write()
366 static unsigned int rt2800_eeprom_word_index(struct rt2x00_dev *rt2x00dev, in rt2800_eeprom_word_index()
398 static void *rt2800_eeprom_addr(struct rt2x00_dev *rt2x00dev, in rt2800_eeprom_addr()
407 static u16 rt2800_eeprom_read(struct rt2x00_dev *rt2x00dev, in rt2800_eeprom_read()
416 static void rt2800_eeprom_write(struct rt2x00_dev *rt2x00dev, in rt2800_eeprom_write()
425 static u16 rt2800_eeprom_read_from_array(struct rt2x00_dev *rt2x00dev, in rt2800_eeprom_read_from_array()
435 static int rt2800_enable_wlan_rt3290(struct rt2x00_dev *rt2x00dev) in rt2800_enable_wlan_rt3290()
493 void rt2800_mcu_request(struct rt2x00_dev *rt2x00dev, in rt2800_mcu_request()
527 int rt2800_wait_csr_ready(struct rt2x00_dev *rt2x00dev) in rt2800_wait_csr_ready()
544 int rt2800_wait_wpdma_ready(struct rt2x00_dev *rt2x00dev) in rt2800_wait_wpdma_ready()
567 void rt2800_disable_wpdma(struct rt2x00_dev *rt2x00dev) in rt2800_disable_wpdma()
581 void rt2800_get_txwi_rxwi_size(struct rt2x00_dev *rt2x00dev, in rt2800_get_txwi_rxwi_size()
638 int rt2800_check_firmware(struct rt2x00_dev *rt2x00dev, in rt2800_check_firmware()
692 int rt2800_load_firmware(struct rt2x00_dev *rt2x00dev, in rt2800_load_firmware()
834 static int rt2800_agc_to_rssi(struct rt2x00_dev *rt2x00dev, u32 rxwi_w2) in rt2800_agc_to_rssi()
999 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; in rt2800_txdone_entry() local
1098 void rt2800_txdone(struct rt2x00_dev *rt2x00dev, unsigned int quota) in rt2800_txdone()
1135 static inline bool rt2800_entry_txstatus_timeout(struct rt2x00_dev *rt2x00dev, in rt2800_entry_txstatus_timeout()
1157 bool rt2800_txstatus_timeout(struct rt2x00_dev *rt2x00dev) in rt2800_txstatus_timeout()
1176 bool rt2800_txstatus_pending(struct rt2x00_dev *rt2x00dev) in rt2800_txstatus_pending()
1189 void rt2800_txdone_nostatus(struct rt2x00_dev *rt2x00dev) in rt2800_txdone_nostatus()
1231 static void rt2800_update_survey(struct rt2x00_dev *rt2x00dev) in rt2800_update_survey()
1242 void rt2800_watchdog(struct rt2x00_dev *rt2x00dev) in rt2800_watchdog()
1289 static unsigned int rt2800_hw_beacon_base(struct rt2x00_dev *rt2x00dev, in rt2800_hw_beacon_base()
1295 static inline u8 rt2800_get_beacon_offset(struct rt2x00_dev *rt2x00dev, in rt2800_get_beacon_offset()
1301 static void rt2800_update_beacons_setup(struct rt2x00_dev *rt2x00dev) in rt2800_update_beacons_setup()
1335 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; in rt2800_write_beacon() local
1409 static inline void rt2800_clear_beacon_register(struct rt2x00_dev *rt2x00dev, in rt2800_clear_beacon_register()
1429 struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; in rt2800_clear_beacon() local
1504 int rt2800_rfkill_poll(struct rt2x00_dev *rt2x00dev) in rt2800_rfkill_poll()
1579 static void rt2800_init_led(struct rt2x00_dev *rt2x00dev, in rt2800_init_led()
1592 static void rt2800_config_wcid(struct rt2x00_dev *rt2x00dev, in rt2800_config_wcid()
1609 static void rt2800_delete_wcid_attr(struct rt2x00_dev *rt2x00dev, int wcid) in rt2800_delete_wcid_attr()
1616 static void rt2800_config_wcid_attr_bssidx(struct rt2x00_dev *rt2x00dev, in rt2800_config_wcid_attr_bssidx()
1633 static void rt2800_config_wcid_attr_cipher(struct rt2x00_dev *rt2x00dev, in rt2800_config_wcid_attr_cipher()
1683 int rt2800_config_shared_key(struct rt2x00_dev *rt2x00dev, in rt2800_config_shared_key()
1736 int rt2800_config_pairwise_key(struct rt2x00_dev *rt2x00dev, in rt2800_config_pairwise_key()
1773 static void rt2800_set_max_psdu_len(struct rt2x00_dev *rt2x00dev) in rt2800_set_max_psdu_len()
1793 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_sta_add() local
1845 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_sta_remove() local
1869 void rt2800_pre_reset_hw(struct rt2x00_dev *rt2x00dev) in rt2800_pre_reset_hw()
1888 void rt2800_config_filter(struct rt2x00_dev *rt2x00dev, in rt2800_config_filter()
1933 void rt2800_config_intf(struct rt2x00_dev *rt2x00dev, struct rt2x00_intf *intf, in rt2800_config_intf()
2002 static void rt2800_config_ht_opmode(struct rt2x00_dev *rt2x00dev, in rt2800_config_ht_opmode()
2098 void rt2800_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00lib_erp *erp, in rt2800_config_erp()
2146 static void rt2800_config_3572bt_ant(struct rt2x00_dev *rt2x00dev) in rt2800_config_3572bt_ant()
2180 static void rt2800_set_ant_diversity(struct rt2x00_dev *rt2x00dev, in rt2800_set_ant_diversity()
2201 void rt2800_config_ant(struct rt2x00_dev *rt2x00dev, struct antenna_setup *ant) in rt2800_config_ant()
2280 static void rt2800_config_lna_gain(struct rt2x00_dev *rt2x00dev, in rt2800_config_lna_gain()
2319 static inline bool rt2800_clk_is_20mhz(struct rt2x00_dev *rt2x00dev) in rt2800_clk_is_20mhz()
2326 static void rt2800_freq_cal_mode1(struct rt2x00_dev *rt2x00dev) in rt2800_freq_cal_mode1()
2361 static void rt2800_config_channel_rf2xxx(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf2xxx()
2426 static void rt2800_config_channel_rf3xxx(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3xxx()
2504 static void rt2800_config_channel_rf3052(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3052()
2676 static void rt2800_config_channel_rf3053(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3053()
2973 static void rt2800_config_channel_rf3853(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3853()
3181 static void rt2800_config_channel_rf3290(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3290()
3218 static void rt2800_config_channel_rf3322(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf3322()
3266 static void rt2800_config_channel_rf53xx(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf53xx()
3364 static void rt2800_config_channel_rf55xx(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf55xx()
3639 static void rt2800_config_channel_rf7620(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel_rf7620()
3798 static void rt2800_config_alc(struct rt2x00_dev *rt2x00dev, in rt2800_config_alc()
3876 static void rt2800_bbp_write_with_rx_chain(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_write_with_rx_chain()
3891 static void rt2800_iq_calibrate(struct rt2x00_dev *rt2x00dev, int channel) in rt2800_iq_calibrate()
3977 static char rt2800_txpower_to_dev(struct rt2x00_dev *rt2x00dev, in rt2800_txpower_to_dev()
3996 static void rt3883_bbp_adjust(struct rt2x00_dev *rt2x00dev, in rt3883_bbp_adjust()
4026 static void rt2800_config_channel(struct rt2x00_dev *rt2x00dev, in rt2800_config_channel()
4411 static int rt2800_get_gain_calibration_delta(struct rt2x00_dev *rt2x00dev) in rt2800_get_gain_calibration_delta()
4528 static int rt2800_get_txpower_bw_comp(struct rt2x00_dev *rt2x00dev, in rt2800_get_txpower_bw_comp()
4572 static int rt2800_get_txpower_reg_delta(struct rt2x00_dev *rt2x00dev, in rt2800_get_txpower_reg_delta()
4593 static u8 rt2800_compensate_txpower(struct rt2x00_dev *rt2x00dev, int is_rate_b, in rt2800_compensate_txpower()
4664 static void rt2800_config_txpower_rt3593(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower_rt3593()
5050 static void rt2800_config_txpower_rt6352(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower_rt6352()
5183 static void rt2800_config_txpower_rt28xx(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower_rt28xx()
5366 static void rt2800_config_txpower(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower()
5379 void rt2800_gain_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_gain_calibration()
5386 void rt2800_vco_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_vco_calibration()
5518 static void rt2800_config_retry_limit(struct rt2x00_dev *rt2x00dev, in rt2800_config_retry_limit()
5531 static void rt2800_config_ps(struct rt2x00_dev *rt2x00dev, in rt2800_config_ps()
5561 void rt2800_config(struct rt2x00_dev *rt2x00dev, in rt2800_config()
5593 void rt2800_link_stats(struct rt2x00_dev *rt2x00dev, struct link_qual *qual) in rt2800_link_stats()
5605 static u8 rt2800_get_default_vgc(struct rt2x00_dev *rt2x00dev) in rt2800_get_default_vgc()
5641 static inline void rt2800_set_vgc(struct rt2x00_dev *rt2x00dev, in rt2800_set_vgc()
5662 void rt2800_reset_tuner(struct rt2x00_dev *rt2x00dev, struct link_qual *qual) in rt2800_reset_tuner()
5668 void rt2800_link_tuner(struct rt2x00_dev *rt2x00dev, struct link_qual *qual, in rt2800_link_tuner()
5717 static int rt2800_init_registers(struct rt2x00_dev *rt2x00dev) in rt2800_init_registers()
6215 static int rt2800_wait_bbp_rf_ready(struct rt2x00_dev *rt2x00dev) in rt2800_wait_bbp_rf_ready()
6232 static int rt2800_wait_bbp_ready(struct rt2x00_dev *rt2x00dev) in rt2800_wait_bbp_ready()
6256 static void rt2800_bbp4_mac_if_ctrl(struct rt2x00_dev *rt2x00dev) in rt2800_bbp4_mac_if_ctrl()
6265 static void rt2800_init_freq_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_init_freq_calibration()
6271 static void rt2800_init_bbp_5592_glrt(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_5592_glrt()
6292 static void rt2800_init_bbp_early(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_early()
6312 static void rt2800_disable_unused_dac_adc(struct rt2x00_dev *rt2x00dev) in rt2800_disable_unused_dac_adc()
6326 static void rt2800_init_bbp_305x_soc(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_305x_soc()
6360 static void rt2800_init_bbp_28xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_28xx()
6399 static void rt2800_init_bbp_30xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_30xx()
6441 static void rt2800_init_bbp_3290(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3290()
6512 static void rt2800_init_bbp_3352(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3352()
6604 static void rt2800_init_bbp_3390(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3390()
6642 static void rt2800_init_bbp_3572(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3572()
6679 static void rt2800_init_bbp_3593(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3593()
6695 static void rt2800_init_bbp_3883(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3883()
6736 static void rt2800_init_bbp_53xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_53xx()
6845 static void rt2800_init_bbp_5592(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_5592()
6919 static void rt2800_bbp_glrt_write(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_glrt_write()
6926 static void rt2800_bbp_dcoc_write(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_dcoc_write()
6933 static u8 rt2800_bbp_dcoc_read(struct rt2x00_dev *rt2x00dev, const u8 reg) in rt2800_bbp_dcoc_read()
6939 static void rt2800_init_bbp_6352(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_6352()
7143 static void rt2800_init_bbp(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp()
7207 static void rt2800_led_open_drain_enable(struct rt2x00_dev *rt2x00dev) in rt2800_led_open_drain_enable()
7216 static u8 rt2800_init_rx_filter(struct rt2x00_dev *rt2x00dev, bool bw40, in rt2800_init_rx_filter()
7281 static void rt2800_rf_init_calibration(struct rt2x00_dev *rt2x00dev, in rt2800_rf_init_calibration()
7294 static void rt2800_rx_filter_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_rx_filter_calibration()
7340 static void rt2800_normal_mode_setup_3xxx(struct rt2x00_dev *rt2x00dev) in rt2800_normal_mode_setup_3xxx()
7411 static void rt2800_normal_mode_setup_3593(struct rt2x00_dev *rt2x00dev) in rt2800_normal_mode_setup_3593()
7447 static void rt2800_normal_mode_setup_5xxx(struct rt2x00_dev *rt2x00dev) in rt2800_normal_mode_setup_5xxx()
7476 static void rt2800_init_rfcsr_305x_soc(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_305x_soc()
7514 static void rt2800_init_rfcsr_30xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_30xx()
7584 static void rt2800_init_rfcsr_3290(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3290()
7645 static void rt2800_init_rfcsr_3352(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3352()
7744 static void rt2800_init_rfcsr_3390(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3390()
7796 static void rt2800_init_rfcsr_3572(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3572()
7854 static void rt3593_post_bbp_init(struct rt2x00_dev *rt2x00dev) in rt3593_post_bbp_init()
7901 static void rt2800_init_rfcsr_3593(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3593()
7984 static void rt2800_init_rfcsr_5350(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5350()
8054 static void rt2800_init_rfcsr_3883(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3883()
8192 static void rt2800_init_rfcsr_5390(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5390()
8290 static void rt2800_init_rfcsr_5392(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5392()
8358 static void rt2800_init_rfcsr_5592(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5592()
8401 static void rt2800_bbp_core_soft_reset(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_core_soft_reset()
8424 static int rt2800_rf_lp_config(struct rt2x00_dev *rt2x00dev, bool btxcal) in rt2800_rf_lp_config()
8469 static char rt2800_lp_tx_filter_bw_cal(struct rt2x00_dev *rt2x00dev) in rt2800_lp_tx_filter_bw_cal()
8495 static void rt2800_bw_filter_calibration(struct rt2x00_dev *rt2x00dev, in rt2800_bw_filter_calibration()
8744 static void rt2800_init_rfcsr_6352(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_6352()
9012 static void rt2800_init_rfcsr(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr()
9061 int rt2800_enable_radio(struct rt2x00_dev *rt2x00dev) in rt2800_enable_radio()
9150 void rt2800_disable_radio(struct rt2x00_dev *rt2x00dev) in rt2800_disable_radio()
9166 int rt2800_efuse_detect(struct rt2x00_dev *rt2x00dev) in rt2800_efuse_detect()
9181 static void rt2800_efuse_read(struct rt2x00_dev *rt2x00dev, unsigned int i) in rt2800_efuse_read()
9227 int rt2800_read_eeprom_efuse(struct rt2x00_dev *rt2x00dev) in rt2800_read_eeprom_efuse()
9238 static u8 rt2800_get_txmixer_gain_24g(struct rt2x00_dev *rt2x00dev) in rt2800_get_txmixer_gain_24g()
9253 static u8 rt2800_get_txmixer_gain_5g(struct rt2x00_dev *rt2x00dev) in rt2800_get_txmixer_gain_5g()
9268 static int rt2800_validate_eeprom(struct rt2x00_dev *rt2x00dev) in rt2800_validate_eeprom()
9411 static int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev) in rt2800_init_eeprom()
9952 static int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev) in rt2800_probe_hw_mode()
10213 static int rt2800_probe_rt(struct rt2x00_dev *rt2x00dev) in rt2800_probe_rt()
10259 int rt2800_probe_hw(struct rt2x00_dev *rt2x00dev) in rt2800_probe_hw()
10343 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_get_key_seq() local
10361 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_set_rts_threshold() local
10401 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_conf_tx() local
10468 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_get_tsf() local
10532 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_get_survey() local