Home
last modified time | relevance | path

Searched refs:rt2x00_get_field16 (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c782 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()
1759 led_ctrl = rt2x00_get_field16(eeprom, EEPROM_FREQ_LED_MODE); in rt2800_config_3572bt_ant()
1835 if (rt2x00_get_field16(eeprom, in rt2800_config_ant()
[all …]
Drt2500usb.c127 if (!rt2x00_get_field16(*reg, field)) in rt2500usb_regbusy_read()
193 *value = rt2x00_get_field16(reg, PHY_CSR7_DATA); in rt2500usb_bbp_read()
284 return rt2x00_get_field16(reg, MAC_CSR19_VAL7); in rt2500usb_rfkill_poll()
369 curr_cipher = rt2x00_get_field16(reg, TXRX_CSR0_ALGORITHM); in rt2500usb_config_key()
375 reg = rt2x00_get_field16(reg, TXRX_CSR0_KEY_ID); in rt2500usb_config_key()
411 mask = rt2x00_get_field16(reg, TXRX_CSR0_KEY_ID); in rt2500usb_config_key()
703 qual->rx_failed = rt2x00_get_field16(reg, STA_CSR0_FCS_ERROR); in rt2500usb_link_stats()
709 qual->false_cca = rt2x00_get_field16(reg, STA_CSR3_FALSE_CCA_ERROR); in rt2500usb_link_stats()
719 value = rt2x00_get_field16(eeprom, EEPROM_BBPTUNE_R24_LOW); in rt2500usb_reset_tuner()
723 value = rt2x00_get_field16(eeprom, EEPROM_BBPTUNE_R25_LOW); in rt2500usb_reset_tuner()
[all …]
Drt61pci.c854 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_BG_1); in rt61pci_config_lna_gain()
860 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_A_1); in rt61pci_config_lna_gain()
1701 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt61pci_init_bbp()
1702 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt61pci_init_bbp()
2472 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_1); in rt61pci_validate_eeprom()
2475 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_2); in rt61pci_validate_eeprom()
2488 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); in rt61pci_validate_eeprom()
2491 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_2); in rt61pci_validate_eeprom()
2514 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RF_TYPE); in rt61pci_init_eeprom()
2530 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_NUM) == 2) in rt61pci_init_eeprom()
[all …]
Drt73usb.c744 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_BG_1); in rt73usb_config_lna_gain()
747 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_A_1); in rt73usb_config_lna_gain()
1349 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt73usb_init_bbp()
1350 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt73usb_init_bbp()
1827 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_1); in rt73usb_validate_eeprom()
1830 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_2); in rt73usb_validate_eeprom()
1843 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); in rt73usb_validate_eeprom()
1846 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_2); in rt73usb_validate_eeprom()
1869 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RF_TYPE); in rt73usb_init_eeprom()
1891 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TX_DEFAULT); in rt73usb_init_eeprom()
[all …]
Drt2400pci.c953 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt2400pci_init_bbp()
954 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt2400pci_init_bbp()
1490 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RF_TYPE); in rt2400pci_init_eeprom()
1504 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TX_DEFAULT); in rt2400pci_init_eeprom()
1506 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RX_DEFAULT); in rt2400pci_init_eeprom()
1523 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE); in rt2400pci_init_eeprom()
1536 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_HARDWARE_RADIO)) in rt2400pci_init_eeprom()
1542 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RX_AGCVGC_TUNING)) in rt2400pci_init_eeprom()
Drt2500pci.c1107 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt2500pci_init_bbp()
1108 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt2500pci_init_bbp()
1644 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RF_TYPE); in rt2500pci_init_eeprom()
1663 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TX_DEFAULT); in rt2500pci_init_eeprom()
1665 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RX_DEFAULT); in rt2500pci_init_eeprom()
1671 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE); in rt2500pci_init_eeprom()
1684 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_HARDWARE_RADIO)) { in rt2500pci_init_eeprom()
1696 if (!rt2x00_get_field16(eeprom, EEPROM_NIC_DYN_BBP_TUNE)) in rt2500pci_init_eeprom()
1704 rt2x00_get_field16(eeprom, EEPROM_CALIBRATE_OFFSET_RSSI); in rt2500pci_init_eeprom()
Drt2x00reg.h269 #define rt2x00_get_field16(__reg, __field) \ macro