Lines Matching refs:rt2x00_get_field16

851 		offset0 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG_OFFSET0);  in rt2800_agc_to_rssi()
852 offset1 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG_OFFSET1); in rt2800_agc_to_rssi()
854 offset2 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG2_OFFSET2); in rt2800_agc_to_rssi()
857 offset0 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A_OFFSET0); in rt2800_agc_to_rssi()
858 offset1 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A_OFFSET1); in rt2800_agc_to_rssi()
860 offset2 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A2_OFFSET2); in rt2800_agc_to_rssi()
1301 rt2x00_get_field16(led->rt2x00dev->led_mcu_reg, in rt2800_brightness_set()
1304 rt2x00_get_field16(led->rt2x00dev->led_mcu_reg, in rt2800_brightness_set()
1919 led_ctrl = rt2x00_get_field16(eeprom, EEPROM_FREQ_LED_MODE); in rt2800_config_3572bt_ant()
1995 if (rt2x00_get_field16(eeprom, in rt2800_config_ant()
2038 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_BG); in rt2800_config_lna_gain()
2041 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_A0); in rt2800_config_lna_gain()
2045 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
2049 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
2055 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
2059 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
3367 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_INTERNAL_TX_ALC)) { in rt2800_config_alc()
3896 if (!rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_TX_ALC)) in rt2800_get_gain_calibration_delta()
3909 tssi_bounds[0] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3911 tssi_bounds[1] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3915 tssi_bounds[2] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3917 tssi_bounds[3] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3921 tssi_bounds[4] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3923 tssi_bounds[5] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3927 tssi_bounds[6] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3929 tssi_bounds[7] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3933 tssi_bounds[8] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3936 step = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3940 tssi_bounds[0] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3942 tssi_bounds[1] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3946 tssi_bounds[2] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3948 tssi_bounds[3] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3952 tssi_bounds[4] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3954 tssi_bounds[5] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3958 tssi_bounds[6] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3960 tssi_bounds[7] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3964 tssi_bounds[8] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3967 step = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4019 comp_en = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4022 comp_type = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4024 comp_value = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4030 comp_en = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4033 comp_type = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4035 comp_value = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4090 criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
4096 eirp_txpower_criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
4099 eirp_txpower_criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
4166 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4177 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4188 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4199 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4214 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4225 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4236 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4251 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4262 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4273 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4284 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4299 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4310 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4321 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4332 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4347 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4358 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4369 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4380 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4395 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4406 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4417 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4432 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4443 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4454 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4463 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4476 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4740 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4751 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4762 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4773 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4790 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4801 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4812 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4823 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
5260 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_DAC_TEST)) in rt2800_init_registers()
5295 if (rt2x00_get_field16(eeprom, in rt2800_init_registers()
5759 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_disable_unused_dac_adc()
5761 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_disable_unused_dac_adc()
6206 div_mode = rt2x00_get_field16(eeprom, in rt2800_init_bbp_53xx()
6293 div_mode = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_ANT_DIVERSITY); in rt2800_init_bbp_5592()
6596 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt2800_init_bbp()
6597 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt2800_init_bbp()
6765 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_normal_mode_setup_3xxx()
6767 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_normal_mode_setup_3xxx()
6851 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_normal_mode_setup_5xxx()
6853 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_normal_mode_setup_5xxx()
6957 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_DAC_TEST)) in rt2800_init_rfcsr_30xx()
8502 return rt2x00_get_field16(word, EEPROM_TXMIXER_GAIN_BG_VAL); in rt2800_get_txmixer_gain_24g()
8516 return rt2x00_get_field16(word, EEPROM_TXMIXER_GAIN_A_VAL); in rt2800_get_txmixer_gain_5g()
8554 if (rt2x00_get_field16(word, EEPROM_NIC_CONF0_RXPATH) > 2) in rt2800_validate_eeprom()
8603 default_lna_gain = rt2x00_get_field16(word, EEPROM_LNA_A0); in rt2800_validate_eeprom()
8606 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET0)) > 10) in rt2800_validate_eeprom()
8608 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET1)) > 10) in rt2800_validate_eeprom()
8615 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG2_OFFSET2)) > 10) in rt2800_validate_eeprom()
8618 if (rt2x00_get_field16(word, EEPROM_RSSI_BG2_LNA_A1) == 0x00 || in rt2800_validate_eeprom()
8619 rt2x00_get_field16(word, EEPROM_RSSI_BG2_LNA_A1) == 0xff) in rt2800_validate_eeprom()
8628 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET0)) > 10) in rt2800_validate_eeprom()
8630 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET1)) > 10) in rt2800_validate_eeprom()
8635 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A2_OFFSET2)) > 10) in rt2800_validate_eeprom()
8638 if (rt2x00_get_field16(word, EEPROM_RSSI_A2_LNA_A2) == 0x00 || in rt2800_validate_eeprom()
8639 rt2x00_get_field16(word, EEPROM_RSSI_A2_LNA_A2) == 0xff) in rt2800_validate_eeprom()
8647 if (rt2x00_get_field16(word, EEPROM_EXT_LNA2_A1) == 0x00 || in rt2800_validate_eeprom()
8648 rt2x00_get_field16(word, EEPROM_EXT_LNA2_A1) == 0xff) in rt2800_validate_eeprom()
8651 if (rt2x00_get_field16(word, EEPROM_EXT_LNA2_A2) == 0x00 || in rt2800_validate_eeprom()
8652 rt2x00_get_field16(word, EEPROM_EXT_LNA2_A2) == 0xff) in rt2800_validate_eeprom()
8687 rf = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RF_TYPE); in rt2800_init_eeprom()
8726 rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH); in rt2800_init_eeprom()
8728 rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH); in rt2800_init_eeprom()
8736 value = rt2x00_get_field16(eeprom, in rt2800_init_eeprom()
8765 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_LNA_5G)) in rt2800_init_eeprom()
8767 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_LNA_2G)) in rt2800_init_eeprom()
8773 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_HW_RADIO)) in rt2800_init_eeprom()
8780 rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_BT_COEXIST)) in rt2800_init_eeprom()
8787 rt2x00dev->freq_offset = rt2x00_get_field16(eeprom, EEPROM_FREQ_OFFSET); in rt2800_init_eeprom()
8805 if (rt2x00_get_field16(eeprom, EEPROM_EIRP_MAX_TX_POWER_2GHZ) < in rt2800_init_eeprom()
8815 if (rt2x00_get_field16(eeprom, in rt2800_init_eeprom()
8819 if (rt2x00_get_field16(eeprom, in rt2800_init_eeprom()