• Home
  • Raw
  • Download

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()
4415 static int rt2800_get_gain_calibration_delta(struct rt2x00_dev *rt2x00dev) in rt2800_get_gain_calibration_delta()
4532 static int rt2800_get_txpower_bw_comp(struct rt2x00_dev *rt2x00dev, in rt2800_get_txpower_bw_comp()
4576 static int rt2800_get_txpower_reg_delta(struct rt2x00_dev *rt2x00dev, in rt2800_get_txpower_reg_delta()
4597 static u8 rt2800_compensate_txpower(struct rt2x00_dev *rt2x00dev, int is_rate_b, in rt2800_compensate_txpower()
4668 static void rt2800_config_txpower_rt3593(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower_rt3593()
5054 static void rt2800_config_txpower_rt6352(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower_rt6352()
5187 static void rt2800_config_txpower_rt28xx(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower_rt28xx()
5370 static void rt2800_config_txpower(struct rt2x00_dev *rt2x00dev, in rt2800_config_txpower()
5383 void rt2800_gain_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_gain_calibration()
5390 void rt2800_vco_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_vco_calibration()
5522 static void rt2800_config_retry_limit(struct rt2x00_dev *rt2x00dev, in rt2800_config_retry_limit()
5535 static void rt2800_config_ps(struct rt2x00_dev *rt2x00dev, in rt2800_config_ps()
5565 void rt2800_config(struct rt2x00_dev *rt2x00dev, in rt2800_config()
5597 void rt2800_link_stats(struct rt2x00_dev *rt2x00dev, struct link_qual *qual) in rt2800_link_stats()
5609 static u8 rt2800_get_default_vgc(struct rt2x00_dev *rt2x00dev) in rt2800_get_default_vgc()
5645 static inline void rt2800_set_vgc(struct rt2x00_dev *rt2x00dev, in rt2800_set_vgc()
5667 void rt2800_reset_tuner(struct rt2x00_dev *rt2x00dev, struct link_qual *qual) in rt2800_reset_tuner()
5673 void rt2800_link_tuner(struct rt2x00_dev *rt2x00dev, struct link_qual *qual, in rt2800_link_tuner()
5722 static int rt2800_init_registers(struct rt2x00_dev *rt2x00dev) in rt2800_init_registers()
6241 static int rt2800_wait_bbp_rf_ready(struct rt2x00_dev *rt2x00dev) in rt2800_wait_bbp_rf_ready()
6258 static int rt2800_wait_bbp_ready(struct rt2x00_dev *rt2x00dev) in rt2800_wait_bbp_ready()
6282 static void rt2800_bbp4_mac_if_ctrl(struct rt2x00_dev *rt2x00dev) in rt2800_bbp4_mac_if_ctrl()
6291 static void rt2800_init_freq_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_init_freq_calibration()
6297 static void rt2800_init_bbp_5592_glrt(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_5592_glrt()
6318 static void rt2800_init_bbp_early(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_early()
6338 static void rt2800_disable_unused_dac_adc(struct rt2x00_dev *rt2x00dev) in rt2800_disable_unused_dac_adc()
6352 static void rt2800_init_bbp_305x_soc(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_305x_soc()
6386 static void rt2800_init_bbp_28xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_28xx()
6425 static void rt2800_init_bbp_30xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_30xx()
6467 static void rt2800_init_bbp_3290(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3290()
6538 static void rt2800_init_bbp_3352(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3352()
6630 static void rt2800_init_bbp_3390(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3390()
6668 static void rt2800_init_bbp_3572(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3572()
6705 static void rt2800_init_bbp_3593(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3593()
6721 static void rt2800_init_bbp_3883(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_3883()
6762 static void rt2800_init_bbp_53xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_53xx()
6871 static void rt2800_init_bbp_5592(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_5592()
6945 static void rt2800_bbp_glrt_write(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_glrt_write()
6952 static void rt2800_bbp_dcoc_write(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_dcoc_write()
6959 static u8 rt2800_bbp_dcoc_read(struct rt2x00_dev *rt2x00dev, const u8 reg) in rt2800_bbp_dcoc_read()
6965 static void rt2800_init_bbp_6352(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp_6352()
7169 static void rt2800_init_bbp(struct rt2x00_dev *rt2x00dev) in rt2800_init_bbp()
7233 static void rt2800_led_open_drain_enable(struct rt2x00_dev *rt2x00dev) in rt2800_led_open_drain_enable()
7242 static u8 rt2800_init_rx_filter(struct rt2x00_dev *rt2x00dev, bool bw40, in rt2800_init_rx_filter()
7307 static void rt2800_rf_init_calibration(struct rt2x00_dev *rt2x00dev, in rt2800_rf_init_calibration()
7320 static void rt2800_rx_filter_calibration(struct rt2x00_dev *rt2x00dev) in rt2800_rx_filter_calibration()
7366 static void rt2800_normal_mode_setup_3xxx(struct rt2x00_dev *rt2x00dev) in rt2800_normal_mode_setup_3xxx()
7437 static void rt2800_normal_mode_setup_3593(struct rt2x00_dev *rt2x00dev) in rt2800_normal_mode_setup_3593()
7473 static void rt2800_normal_mode_setup_5xxx(struct rt2x00_dev *rt2x00dev) in rt2800_normal_mode_setup_5xxx()
7502 static void rt2800_init_rfcsr_305x_soc(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_305x_soc()
7540 static void rt2800_init_rfcsr_30xx(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_30xx()
7610 static void rt2800_init_rfcsr_3290(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3290()
7671 static void rt2800_init_rfcsr_3352(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3352()
7770 static void rt2800_init_rfcsr_3390(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3390()
7822 static void rt2800_init_rfcsr_3572(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3572()
7880 static void rt3593_post_bbp_init(struct rt2x00_dev *rt2x00dev) in rt3593_post_bbp_init()
7927 static void rt2800_init_rfcsr_3593(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3593()
8010 static void rt2800_init_rfcsr_5350(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5350()
8080 static void rt2800_init_rfcsr_3883(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_3883()
8218 static void rt2800_init_rfcsr_5390(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5390()
8316 static void rt2800_init_rfcsr_5392(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5392()
8384 static void rt2800_init_rfcsr_5592(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_5592()
8427 static void rt2800_bbp_core_soft_reset(struct rt2x00_dev *rt2x00dev, in rt2800_bbp_core_soft_reset()
8450 static int rt2800_rf_lp_config(struct rt2x00_dev *rt2x00dev, bool btxcal) in rt2800_rf_lp_config()
8495 static char rt2800_lp_tx_filter_bw_cal(struct rt2x00_dev *rt2x00dev) in rt2800_lp_tx_filter_bw_cal()
8521 static void rt2800_bw_filter_calibration(struct rt2x00_dev *rt2x00dev, in rt2800_bw_filter_calibration()
8770 static void rt2800_init_rfcsr_6352(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr_6352()
9038 static void rt2800_init_rfcsr(struct rt2x00_dev *rt2x00dev) in rt2800_init_rfcsr()
9087 int rt2800_enable_radio(struct rt2x00_dev *rt2x00dev) in rt2800_enable_radio()
9176 void rt2800_disable_radio(struct rt2x00_dev *rt2x00dev) in rt2800_disable_radio()
9192 int rt2800_efuse_detect(struct rt2x00_dev *rt2x00dev) in rt2800_efuse_detect()
9207 static void rt2800_efuse_read(struct rt2x00_dev *rt2x00dev, unsigned int i) in rt2800_efuse_read()
9253 int rt2800_read_eeprom_efuse(struct rt2x00_dev *rt2x00dev) in rt2800_read_eeprom_efuse()
9264 static u8 rt2800_get_txmixer_gain_24g(struct rt2x00_dev *rt2x00dev) in rt2800_get_txmixer_gain_24g()
9279 static u8 rt2800_get_txmixer_gain_5g(struct rt2x00_dev *rt2x00dev) in rt2800_get_txmixer_gain_5g()
9294 static int rt2800_validate_eeprom(struct rt2x00_dev *rt2x00dev) in rt2800_validate_eeprom()
9437 static int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev) in rt2800_init_eeprom()
9978 static int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev) in rt2800_probe_hw_mode()
10239 static int rt2800_probe_rt(struct rt2x00_dev *rt2x00dev) in rt2800_probe_rt()
10285 int rt2800_probe_hw(struct rt2x00_dev *rt2x00dev) in rt2800_probe_hw()
10369 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_get_key_seq() local
10387 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_set_rts_threshold() local
10427 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_conf_tx() local
10494 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_get_tsf() local
10558 struct rt2x00_dev *rt2x00dev = hw->priv; in rt2800_get_survey() local