Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2500usb.c105 if (!rt2x00_get_field16(*reg, field)) in rt2500usb_regbusy_read()
172 value = rt2x00_get_field16(reg, PHY_CSR7_DATA); in rt2500usb_bbp_read()
261 return rt2x00_get_field16(reg, MAC_CSR19_VAL7); in rt2500usb_rfkill_poll()
346 curr_cipher = rt2x00_get_field16(reg, TXRX_CSR0_ALGORITHM); in rt2500usb_config_key()
352 reg = rt2x00_get_field16(reg, TXRX_CSR0_KEY_ID); in rt2500usb_config_key()
388 mask = rt2x00_get_field16(reg, TXRX_CSR0_KEY_ID); in rt2500usb_config_key()
680 qual->rx_failed = rt2x00_get_field16(reg, STA_CSR0_FCS_ERROR); in rt2500usb_link_stats()
686 qual->false_cca = rt2x00_get_field16(reg, STA_CSR3_FALSE_CCA_ERROR); in rt2500usb_link_stats()
696 value = rt2x00_get_field16(eeprom, EEPROM_BBPTUNE_R24_LOW); in rt2500usb_reset_tuner()
700 value = rt2x00_get_field16(eeprom, EEPROM_BBPTUNE_R25_LOW); in rt2500usb_reset_tuner()
[all …]
H A Drt61pci.c761 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_BG_1); in rt61pci_config_lna_gain()
767 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_A_1); in rt61pci_config_lna_gain()
1608 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt61pci_init_bbp()
1609 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt61pci_init_bbp()
2379 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_1); in rt61pci_validate_eeprom()
2382 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_2); in rt61pci_validate_eeprom()
2395 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); in rt61pci_validate_eeprom()
2398 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_2); in rt61pci_validate_eeprom()
2421 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RF_TYPE); in rt61pci_init_eeprom()
2437 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_NUM) == 2) in rt61pci_init_eeprom()
[all …]
H A Drt73usb.c736 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_BG_1); in rt73usb_config_lna_gain()
739 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_A_1); in rt73usb_config_lna_gain()
1341 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt73usb_init_bbp()
1342 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt73usb_init_bbp()
1816 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_1); in rt73usb_validate_eeprom()
1819 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_2); in rt73usb_validate_eeprom()
1832 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); in rt73usb_validate_eeprom()
1835 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_2); in rt73usb_validate_eeprom()
1858 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RF_TYPE); in rt73usb_init_eeprom()
1880 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TX_DEFAULT); in rt73usb_init_eeprom()
[all …]
H A Drt2400pci.c945 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt2400pci_init_bbp()
946 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt2400pci_init_bbp()
1481 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RF_TYPE); in rt2400pci_init_eeprom()
1495 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TX_DEFAULT); in rt2400pci_init_eeprom()
1497 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RX_DEFAULT); in rt2400pci_init_eeprom()
1514 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE); in rt2400pci_init_eeprom()
1527 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_HARDWARE_RADIO)) in rt2400pci_init_eeprom()
1533 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RX_AGCVGC_TUNING)) in rt2400pci_init_eeprom()
H A Drt2500pci.c1099 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); in rt2500pci_init_bbp()
1100 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); in rt2500pci_init_bbp()
1635 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RF_TYPE); in rt2500pci_init_eeprom()
1654 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TX_DEFAULT); in rt2500pci_init_eeprom()
1656 rt2x00_get_field16(eeprom, EEPROM_ANTENNA_RX_DEFAULT); in rt2500pci_init_eeprom()
1662 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE); in rt2500pci_init_eeprom()
1675 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_HARDWARE_RADIO)) { in rt2500pci_init_eeprom()
1687 if (!rt2x00_get_field16(eeprom, EEPROM_NIC_DYN_BBP_TUNE)) in rt2500pci_init_eeprom()
1695 rt2x00_get_field16(eeprom, EEPROM_CALIBRATE_OFFSET_RSSI); in rt2500pci_init_eeprom()
H A Drt2x00reg.h258 #define rt2x00_get_field16(__reg, __field) \ macro