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()
1758 led_ctrl = rt2x00_get_field16(eeprom, EEPROM_FREQ_LED_MODE); in rt2800_config_3572bt_ant()
1834 if (rt2x00_get_field16(eeprom, in rt2800_config_ant()
1877 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_BG); in rt2800_config_lna_gain()
1880 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_A0); in rt2800_config_lna_gain()
1884 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
1888 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
1894 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
1898 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
3442 if (!rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_TX_ALC)) in rt2800_get_gain_calibration_delta()
3455 tssi_bounds[0] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3457 tssi_bounds[1] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3461 tssi_bounds[2] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3463 tssi_bounds[3] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3467 tssi_bounds[4] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3469 tssi_bounds[5] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3473 tssi_bounds[6] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3475 tssi_bounds[7] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3479 tssi_bounds[8] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3482 step = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3486 tssi_bounds[0] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3488 tssi_bounds[1] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3492 tssi_bounds[2] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3494 tssi_bounds[3] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3498 tssi_bounds[4] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3500 tssi_bounds[5] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3504 tssi_bounds[6] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3506 tssi_bounds[7] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3510 tssi_bounds[8] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3513 step = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
3565 comp_en = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3568 comp_type = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3570 comp_value = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3576 comp_en = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3579 comp_type = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3581 comp_value = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
3635 criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
3642 eirp_txpower_criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
3645 eirp_txpower_criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
3712 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3723 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3734 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3745 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
3760 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3771 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3782 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3797 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3808 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3819 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3830 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
3845 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3856 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3867 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3878 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
3893 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3904 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3915 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3926 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
3941 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3952 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
3963 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
3978 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
3989 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4000 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4009 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4022 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4161 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4172 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4183 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4194 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4210 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4221 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4232 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4243 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
4626 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_DAC_TEST)) in rt2800_init_registers()
4662 if (rt2x00_get_field16(eeprom, in rt2800_init_registers()
5098 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_disable_unused_dac_adc()
5100 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_disable_unused_dac_adc()
5527 div_mode = rt2x00_get_field16(eeprom, in rt2800_init_bbp_53xx()
5613 div_mode = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_ANT_DIVERSITY); in rt2800_init_bbp_5592()
5688 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt2800_init_bbp()
5689 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt2800_init_bbp()
5857 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_normal_mode_setup_3xxx()
5859 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_normal_mode_setup_3xxx()
5943 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_normal_mode_setup_5xxx()
5945 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_normal_mode_setup_5xxx()
6050 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_DAC_TEST)) in rt2800_init_rfcsr_30xx()
6883 return rt2x00_get_field16(word, EEPROM_TXMIXER_GAIN_BG_VAL); in rt2800_get_txmixer_gain_24g()
6897 return rt2x00_get_field16(word, EEPROM_TXMIXER_GAIN_A_VAL); in rt2800_get_txmixer_gain_5g()
6938 if (rt2x00_get_field16(word, EEPROM_NIC_CONF0_RXPATH) > 2) in rt2800_validate_eeprom()
6987 default_lna_gain = rt2x00_get_field16(word, EEPROM_LNA_A0); in rt2800_validate_eeprom()
6990 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET0)) > 10) in rt2800_validate_eeprom()
6992 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET1)) > 10) in rt2800_validate_eeprom()
6999 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG2_OFFSET2)) > 10) in rt2800_validate_eeprom()
7002 if (rt2x00_get_field16(word, EEPROM_RSSI_BG2_LNA_A1) == 0x00 || in rt2800_validate_eeprom()
7003 rt2x00_get_field16(word, EEPROM_RSSI_BG2_LNA_A1) == 0xff) in rt2800_validate_eeprom()
7012 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET0)) > 10) in rt2800_validate_eeprom()
7014 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET1)) > 10) in rt2800_validate_eeprom()
7019 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A2_OFFSET2)) > 10) in rt2800_validate_eeprom()
7022 if (rt2x00_get_field16(word, EEPROM_RSSI_A2_LNA_A2) == 0x00 || in rt2800_validate_eeprom()
7023 rt2x00_get_field16(word, EEPROM_RSSI_A2_LNA_A2) == 0xff) in rt2800_validate_eeprom()
7031 if (rt2x00_get_field16(word, EEPROM_EXT_LNA2_A1) == 0x00 || in rt2800_validate_eeprom()
7032 rt2x00_get_field16(word, EEPROM_EXT_LNA2_A1) == 0xff) in rt2800_validate_eeprom()
7035 if (rt2x00_get_field16(word, EEPROM_EXT_LNA2_A2) == 0x00 || in rt2800_validate_eeprom()
7036 rt2x00_get_field16(word, EEPROM_EXT_LNA2_A2) == 0xff) in rt2800_validate_eeprom()
7066 rf = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RF_TYPE); in rt2800_init_eeprom()
7103 rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH); in rt2800_init_eeprom()
7105 rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH); in rt2800_init_eeprom()
7113 value = rt2x00_get_field16(eeprom, in rt2800_init_eeprom()
7140 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_LNA_5G)) in rt2800_init_eeprom()
7142 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_LNA_2G)) in rt2800_init_eeprom()
7148 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_HW_RADIO)) in rt2800_init_eeprom()
7154 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_BT_COEXIST)) in rt2800_init_eeprom()
7161 rt2x00dev->freq_offset = rt2x00_get_field16(eeprom, EEPROM_FREQ_OFFSET); in rt2800_init_eeprom()
7179 if (rt2x00_get_field16(eeprom, EEPROM_EIRP_MAX_TX_POWER_2GHZ) < in rt2800_init_eeprom()