Lines Matching refs:rt2x00_get_field16

846 		offset0 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG_OFFSET0);  in rt2800_agc_to_rssi()
847 offset1 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG_OFFSET1); in rt2800_agc_to_rssi()
849 offset2 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG2_OFFSET2); in rt2800_agc_to_rssi()
852 offset0 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A_OFFSET0); in rt2800_agc_to_rssi()
853 offset1 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A_OFFSET1); in rt2800_agc_to_rssi()
855 offset2 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A2_OFFSET2); in rt2800_agc_to_rssi()
1528 rt2x00_get_field16(led->rt2x00dev->led_mcu_reg, in rt2800_brightness_set()
1531 rt2x00_get_field16(led->rt2x00dev->led_mcu_reg, in rt2800_brightness_set()
2168 led_ctrl = rt2x00_get_field16(eeprom, EEPROM_FREQ_LED_MODE); in rt2800_config_3572bt_ant()
2244 if (rt2x00_get_field16(eeprom, in rt2800_config_ant()
2288 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_BG); in rt2800_config_lna_gain()
2291 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_A0); in rt2800_config_lna_gain()
2296 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
2300 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
2307 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
2311 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain()
3823 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_INTERNAL_TX_ALC)) { in rt2800_config_alc()
4423 if (!rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_TX_ALC)) in rt2800_get_gain_calibration_delta()
4436 tssi_bounds[0] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4438 tssi_bounds[1] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4442 tssi_bounds[2] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4444 tssi_bounds[3] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4448 tssi_bounds[4] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4450 tssi_bounds[5] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4454 tssi_bounds[6] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4456 tssi_bounds[7] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4460 tssi_bounds[8] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4463 step = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4467 tssi_bounds[0] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4469 tssi_bounds[1] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4473 tssi_bounds[2] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4475 tssi_bounds[3] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4479 tssi_bounds[4] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4481 tssi_bounds[5] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4485 tssi_bounds[6] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4487 tssi_bounds[7] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4491 tssi_bounds[8] = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4494 step = rt2x00_get_field16(eeprom, in rt2800_get_gain_calibration_delta()
4546 comp_en = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4549 comp_type = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4551 comp_value = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4557 comp_en = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4560 comp_type = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4562 comp_value = rt2x00_get_field16(eeprom, in rt2800_get_txpower_bw_comp()
4620 criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
4626 eirp_txpower_criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
4629 eirp_txpower_criterion = rt2x00_get_field16(eeprom, in rt2800_compensate_txpower()
4696 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4707 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4718 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4729 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4744 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4755 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4766 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4781 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4792 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4803 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4814 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4829 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4840 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4851 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4862 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4877 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4888 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4899 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4910 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
4925 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4936 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4947 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4962 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
4973 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); in rt2800_config_txpower_rt3593()
4984 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); in rt2800_config_txpower_rt3593()
4993 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); in rt2800_config_txpower_rt3593()
5006 txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); in rt2800_config_txpower_rt3593()
5270 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
5281 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
5292 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
5303 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
5320 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
5331 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
5342 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
5353 txpower = rt2x00_get_field16(eeprom, in rt2800_config_txpower_rt28xx()
5805 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_DAC_TEST)) in rt2800_init_registers()
5840 if (rt2x00_get_field16(eeprom, in rt2800_init_registers()
6319 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_disable_unused_dac_adc()
6321 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_disable_unused_dac_adc()
6807 div_mode = rt2x00_get_field16(eeprom, in rt2800_init_bbp_53xx()
6894 div_mode = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_ANT_DIVERSITY); in rt2800_init_bbp_5592()
7200 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt2800_init_bbp()
7201 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt2800_init_bbp()
7369 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_normal_mode_setup_3xxx()
7371 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_normal_mode_setup_3xxx()
7455 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH) == 1) in rt2800_normal_mode_setup_5xxx()
7457 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH) == 1) in rt2800_normal_mode_setup_5xxx()
7561 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_DAC_TEST)) in rt2800_init_rfcsr_30xx()
9248 return rt2x00_get_field16(word, EEPROM_TXMIXER_GAIN_BG_VAL); in rt2800_get_txmixer_gain_24g()
9263 return rt2x00_get_field16(word, EEPROM_TXMIXER_GAIN_A_VAL); in rt2800_get_txmixer_gain_5g()
9301 if (rt2x00_get_field16(word, EEPROM_NIC_CONF0_RXPATH) > 2) in rt2800_validate_eeprom()
9350 default_lna_gain = rt2x00_get_field16(word, EEPROM_LNA_A0); in rt2800_validate_eeprom()
9353 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET0)) > 10) in rt2800_validate_eeprom()
9355 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET1)) > 10) in rt2800_validate_eeprom()
9362 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG2_OFFSET2)) > 10) in rt2800_validate_eeprom()
9366 if (rt2x00_get_field16(word, EEPROM_RSSI_BG2_LNA_A1) == 0x00 || in rt2800_validate_eeprom()
9367 rt2x00_get_field16(word, EEPROM_RSSI_BG2_LNA_A1) == 0xff) in rt2800_validate_eeprom()
9376 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET0)) > 10) in rt2800_validate_eeprom()
9378 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET1)) > 10) in rt2800_validate_eeprom()
9383 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A2_OFFSET2)) > 10) in rt2800_validate_eeprom()
9387 if (rt2x00_get_field16(word, EEPROM_RSSI_A2_LNA_A2) == 0x00 || in rt2800_validate_eeprom()
9388 rt2x00_get_field16(word, EEPROM_RSSI_A2_LNA_A2) == 0xff) in rt2800_validate_eeprom()
9397 if (rt2x00_get_field16(word, EEPROM_EXT_LNA2_A1) == 0x00 || in rt2800_validate_eeprom()
9398 rt2x00_get_field16(word, EEPROM_EXT_LNA2_A1) == 0xff) in rt2800_validate_eeprom()
9401 if (rt2x00_get_field16(word, EEPROM_EXT_LNA2_A2) == 0x00 || in rt2800_validate_eeprom()
9402 rt2x00_get_field16(word, EEPROM_EXT_LNA2_A2) == 0xff) in rt2800_validate_eeprom()
9439 rf = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RF_TYPE); in rt2800_init_eeprom()
9479 rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_TXPATH); in rt2800_init_eeprom()
9481 rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RXPATH); in rt2800_init_eeprom()
9489 value = rt2x00_get_field16(eeprom, in rt2800_init_eeprom()
9518 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_LNA_5G)) in rt2800_init_eeprom()
9520 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_EXTERNAL_LNA_2G)) in rt2800_init_eeprom()
9526 if (rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_HW_RADIO)) in rt2800_init_eeprom()
9533 rt2x00_get_field16(eeprom, EEPROM_NIC_CONF1_BT_COEXIST)) in rt2800_init_eeprom()
9540 rt2x00dev->freq_offset = rt2x00_get_field16(eeprom, EEPROM_FREQ_OFFSET); in rt2800_init_eeprom()
9558 if (rt2x00_get_field16(eeprom, EEPROM_EIRP_MAX_TX_POWER_2GHZ) < in rt2800_init_eeprom()
9568 if (rt2x00_get_field16(eeprom, in rt2800_init_eeprom()
9572 if (rt2x00_get_field16(eeprom, in rt2800_init_eeprom()