Lines Matching refs:rt2x00_get_field16

782 		offset0 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG_OFFSET0);  in rt2800_agc_to_rssi()
783 offset1 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG_OFFSET1); in rt2800_agc_to_rssi()
785 offset2 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG2_OFFSET2); in rt2800_agc_to_rssi()
788 offset0 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A_OFFSET0); in rt2800_agc_to_rssi()
789 offset1 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A_OFFSET1); in rt2800_agc_to_rssi()
791 offset2 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A2_OFFSET2); in rt2800_agc_to_rssi()
1179 rt2x00_get_field16(led->rt2x00dev->led_mcu_reg, in rt2800_brightness_set()
1182 rt2x00_get_field16(led->rt2x00dev->led_mcu_reg, in rt2800_brightness_set()
1782 led_ctrl = rt2x00_get_field16(eeprom, EEPROM_FREQ_LED_MODE); in rt2800_config_3572bt_ant()
1858 if (rt2x00_get_field16(eeprom, in rt2800_config_ant()
1901 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_BG); in rt2800_config_lna_gain()
1904 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_A0); in rt2800_config_lna_gain()
1908 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
1912 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
1918 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
1922 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
3466 if (!rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_TX_ALC)) in rt2800_get_gain_calibration_delta()
3479 tssi_bounds[0] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3481 tssi_bounds[1] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3485 tssi_bounds[2] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3487 tssi_bounds[3] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3491 tssi_bounds[4] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3493 tssi_bounds[5] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3497 tssi_bounds[6] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3499 tssi_bounds[7] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3503 tssi_bounds[8] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3506 step = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3510 tssi_bounds[0] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3512 tssi_bounds[1] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3516 tssi_bounds[2] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3518 tssi_bounds[3] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3522 tssi_bounds[4] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3524 tssi_bounds[5] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3528 tssi_bounds[6] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3530 tssi_bounds[7] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3534 tssi_bounds[8] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3537 step = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3589 comp_en = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3592 comp_type = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3594 comp_value = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3600 comp_en = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3603 comp_type = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3605 comp_value = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3659 criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
3666 eirp_txpower_criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
3669 eirp_txpower_criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
3736 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3747 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3758 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3769 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
3784 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3795 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3806 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3821 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3832 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3843 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3854 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
3869 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3880 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3891 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3902 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
3917 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3928 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3939 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3950 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
3965 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3976 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3987 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4002 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4013 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4024 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4033 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4046 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4185 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4196 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4207 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4218 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4234 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4245 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4256 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4267 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4650 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_DAC_TEST)) in rt2800_init_registers()
4686 if (rt2x00_get_field16(eeprom, in rt2800_init_registers()
5122 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_disable_unused_dac_adc()
5124 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_disable_unused_dac_adc()
5551 div_mode = rt2x00_get_field16(eeprom, in rt2800_init_bbp_53xx()
5637 div_mode = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_ANT_DIVERSITY); in rt2800_init_bbp_5592()
5712 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt2800_init_bbp()
5713 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt2800_init_bbp()
5881 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_normal_mode_setup_3xxx()
5883 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_normal_mode_setup_3xxx()
5967 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_normal_mode_setup_5xxx()
5969 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_normal_mode_setup_5xxx()
6074 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_DAC_TEST)) in rt2800_init_rfcsr_30xx()
6907 return rt2x00_get_field16(word, EEPROM_TXMIXER_GAIN_BG_VAL); in rt2800_get_txmixer_gain_24g()
6921 return rt2x00_get_field16(word, EEPROM_TXMIXER_GAIN_A_VAL); in rt2800_get_txmixer_gain_5g()
6962 if (rt2x00_get_field16(word, EEPROM_NIC_CONF0_RXPATH) > 2) in rt2800_validate_eeprom()
7011 default_lna_gain = rt2x00_get_field16(word, EEPROM_LNA_A0); in rt2800_validate_eeprom()
7014 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET0)) > 10) in rt2800_validate_eeprom()
7016 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET1)) > 10) in rt2800_validate_eeprom()
7023 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG2_OFFSET2)) > 10) in rt2800_validate_eeprom()
7026 if (rt2x00_get_field16(word, EEPROM_RSSI_BG2_LNA_A1) == 0x00 || in rt2800_validate_eeprom()
7027 rt2x00_get_field16(word, EEPROM_RSSI_BG2_LNA_A1) == 0xff) in rt2800_validate_eeprom()
7036 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET0)) > 10) in rt2800_validate_eeprom()
7038 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET1)) > 10) in rt2800_validate_eeprom()
7043 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A2_OFFSET2)) > 10) in rt2800_validate_eeprom()
7046 if (rt2x00_get_field16(word, EEPROM_RSSI_A2_LNA_A2) == 0x00 || in rt2800_validate_eeprom()
7047 rt2x00_get_field16(word, EEPROM_RSSI_A2_LNA_A2) == 0xff) in rt2800_validate_eeprom()
7055 if (rt2x00_get_field16(word, EEPROM_EXT_LNA2_A1) == 0x00 || in rt2800_validate_eeprom()
7056 rt2x00_get_field16(word, EEPROM_EXT_LNA2_A1) == 0xff) in rt2800_validate_eeprom()
7059 if (rt2x00_get_field16(word, EEPROM_EXT_LNA2_A2) == 0x00 || in rt2800_validate_eeprom()
7060 rt2x00_get_field16(word, EEPROM_EXT_LNA2_A2) == 0xff) in rt2800_validate_eeprom()
7090 rf = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RF_TYPE); in rt2800_init_eeprom()
7127 rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH); in rt2800_init_eeprom()
7129 rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH); in rt2800_init_eeprom()
7137 value = rt2x00_get_field16(eeprom, in rt2800_init_eeprom()
7164 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_LNA_5G)) in rt2800_init_eeprom()
7166 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_LNA_2G)) in rt2800_init_eeprom()
7172 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_HW_RADIO)) in rt2800_init_eeprom()
7178 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_BT_COEXIST)) in rt2800_init_eeprom()
7185 rt2x00dev->freq_offset = rt2x00_get_field16(eeprom, EEPROM_FREQ_OFFSET); in rt2800_init_eeprom()
7203 if (rt2x00_get_field16(eeprom, EEPROM_EIRP_MAX_TX_POWER_2GHZ) < in rt2800_init_eeprom()