Lines Matching refs:rt2x00_get_field16
495 offset0 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG_OFFSET0);
496 offset1 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG_OFFSET1);
498 offset2 = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG2_OFFSET2);
501 offset0 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A_OFFSET0);
502 offset1 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A_OFFSET1);
504 offset2 = rt2x00_get_field16(eeprom, EEPROM_RSSI_A2_OFFSET2);
702 rt2x00_get_field16(led->rt2x00dev->led_mcu_reg,
705 rt2x00_get_field16(led->rt2x00dev->led_mcu_reg,
1084 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_BG);
1087 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_A0);
1090 lna_gain = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG2_LNA_A1);
1093 lna_gain = rt2x00_get_field16(eeprom, EEPROM_RSSI_A2_LNA_A2);
1336 txpower = rt2x00_get_field16(eeprom,
1344 txpower = rt2x00_get_field16(eeprom,
1352 txpower = rt2x00_get_field16(eeprom,
1360 txpower = rt2x00_get_field16(eeprom,
1372 txpower = rt2x00_get_field16(eeprom,
1380 txpower = rt2x00_get_field16(eeprom,
1388 txpower = rt2x00_get_field16(eeprom,
1396 txpower = rt2x00_get_field16(eeprom,
1600 if (rt2x00_get_field16(eeprom, EEPROM_NIC_DAC_TEST))
2024 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TXPATH) == 1)
2026 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RXPATH) == 1)
2037 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
2038 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE);
2240 if (rt2x00_get_field16(eeprom, EEPROM_NIC_DAC_TEST))
2304 if (rt2x00_get_field16(eeprom, EEPROM_TXMIXER_GAIN_BG_VAL) >= 1)
2306 rt2x00_get_field16(eeprom,
2314 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RXPATH) == 1)
2316 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TXPATH) == 1)
2437 if (rt2x00_get_field16(word, EEPROM_ANTENNA_RXPATH) > 2)
2483 default_lna_gain = rt2x00_get_field16(word, EEPROM_LNA_A0);
2486 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET0)) > 10)
2488 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG_OFFSET1)) > 10)
2493 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_BG2_OFFSET2)) > 10)
2495 if (rt2x00_get_field16(word, EEPROM_RSSI_BG2_LNA_A1) == 0x00 ||
2496 rt2x00_get_field16(word, EEPROM_RSSI_BG2_LNA_A1) == 0xff)
2502 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET0)) > 10)
2504 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A_OFFSET1)) > 10)
2509 if (abs(rt2x00_get_field16(word, EEPROM_RSSI_A2_OFFSET2)) > 10)
2511 if (rt2x00_get_field16(word, EEPROM_RSSI_A2_LNA_A2) == 0x00 ||
2512 rt2x00_get_field16(word, EEPROM_RSSI_A2_LNA_A2) == 0xff)
2518 if (rt2x00_get_field16(word, EEPROM_MAX_TX_POWER_24GHZ) == 0xff)
2520 if (rt2x00_get_field16(word, EEPROM_MAX_TX_POWER_5GHZ) == 0xff)
2542 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RF_TYPE);
2577 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TXPATH);
2579 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RXPATH);
2585 rt2x00dev->freq_offset = rt2x00_get_field16(eeprom, EEPROM_FREQ_OFFSET);
2592 if (rt2x00_get_field16(eeprom, EEPROM_NIC_EXTERNAL_LNA_A))
2594 if (rt2x00_get_field16(eeprom, EEPROM_NIC_EXTERNAL_LNA_BG))
2600 if (rt2x00_get_field16(eeprom, EEPROM_NIC_HW_RADIO))
2845 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TXPATH) >= 2)
2849 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RXPATH) <<
2857 ((rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TXPATH) - 1) <<
2860 switch (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RXPATH)) {
2881 max_power = rt2x00_get_field16(eeprom, EEPROM_MAX_TX_POWER_24GHZ);
2892 max_power = rt2x00_get_field16(eeprom, EEPROM_MAX_TX_POWER_5GHZ);