Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2500usb.c135 rt2x00_set_field16(&reg, PHY_CSR7_DATA, value); in rt2500usb_bbp_write()
136 rt2x00_set_field16(&reg, PHY_CSR7_REG_ID, word); in rt2500usb_bbp_write()
137 rt2x00_set_field16(&reg, PHY_CSR7_READ_CONTROL, 0); in rt2500usb_bbp_write()
163 rt2x00_set_field16(&reg, PHY_CSR7_REG_ID, word); in rt2500usb_bbp_read()
164 rt2x00_set_field16(&reg, PHY_CSR7_READ_CONTROL, 1); in rt2500usb_bbp_read()
192 rt2x00_set_field16(&reg, PHY_CSR9_RF_VALUE, value); in rt2500usb_rf_write()
196 rt2x00_set_field16(&reg, PHY_CSR10_RF_VALUE, value >> 16); in rt2500usb_rf_write()
197 rt2x00_set_field16(&reg, PHY_CSR10_RF_NUMBER_OF_BITS, 20); in rt2500usb_rf_write()
198 rt2x00_set_field16(&reg, PHY_CSR10_RF_IF_SELECT, 0); in rt2500usb_rf_write()
199 rt2x00_set_field16(&reg, PHY_CSR10_RF_BUSY, 1); in rt2500usb_rf_write()
[all …]
H A Drt73usb.c197 rt2x00_set_field16(&led->rt2x00dev->led_mcu_reg, in rt73usb_brightness_set()
204 rt2x00_set_field16(&led->rt2x00dev->led_mcu_reg, in rt73usb_brightness_set()
206 rt2x00_set_field16(&led->rt2x00dev->led_mcu_reg, in rt73usb_brightness_set()
1765 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); in rt73usb_validate_eeprom()
1766 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, in rt73usb_validate_eeprom()
1768 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, in rt73usb_validate_eeprom()
1770 rt2x00_set_field16(&word, EEPROM_ANTENNA_FRAME_TYPE, 0); in rt73usb_validate_eeprom()
1771 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); in rt73usb_validate_eeprom()
1772 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); in rt73usb_validate_eeprom()
1773 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF5226); in rt73usb_validate_eeprom()
[all …]
H A Drt61pci.c252 rt2x00_set_field16(&led->rt2x00dev->led_mcu_reg, in rt61pci_brightness_set()
259 rt2x00_set_field16(&led->rt2x00dev->led_mcu_reg, in rt61pci_brightness_set()
261 rt2x00_set_field16(&led->rt2x00dev->led_mcu_reg, in rt61pci_brightness_set()
2330 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); in rt61pci_validate_eeprom()
2331 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, in rt61pci_validate_eeprom()
2333 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, in rt61pci_validate_eeprom()
2335 rt2x00_set_field16(&word, EEPROM_ANTENNA_FRAME_TYPE, 0); in rt61pci_validate_eeprom()
2336 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); in rt61pci_validate_eeprom()
2337 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); in rt61pci_validate_eeprom()
2338 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF5225); in rt61pci_validate_eeprom()
[all …]
H A Drt2500pci.c1586 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); in rt2500pci_validate_eeprom()
1587 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, in rt2500pci_validate_eeprom()
1589 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, in rt2500pci_validate_eeprom()
1591 rt2x00_set_field16(&word, EEPROM_ANTENNA_LED_MODE, in rt2500pci_validate_eeprom()
1593 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); in rt2500pci_validate_eeprom()
1594 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); in rt2500pci_validate_eeprom()
1595 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF2522); in rt2500pci_validate_eeprom()
1602 rt2x00_set_field16(&word, EEPROM_NIC_CARDBUS_ACCEL, 0); in rt2500pci_validate_eeprom()
1603 rt2x00_set_field16(&word, EEPROM_NIC_DYN_BBP_TUNE, 0); in rt2500pci_validate_eeprom()
1604 rt2x00_set_field16(&word, EEPROM_NIC_CCK_TX_POWER, 0); in rt2500pci_validate_eeprom()
[all …]
H A Drt2x00reg.h256 #define rt2x00_set_field16(__reg, __field, __value) \ macro
H A Drt2800lib.c10894 rt2x00_set_field16(&word, EEPROM_NIC_CONF0_RXPATH, 2); in rt2800_validate_eeprom()
10895 rt2x00_set_field16(&word, EEPROM_NIC_CONF0_TXPATH, 1); in rt2800_validate_eeprom()
10896 rt2x00_set_field16(&word, EEPROM_NIC_CONF0_RF_TYPE, RF2820); in rt2800_validate_eeprom()
10905 rt2x00_set_field16(&word, EEPROM_NIC_CONF0_RXPATH, 2); in rt2800_validate_eeprom()
10911 rt2x00_set_field16(&word, EEPROM_NIC_CONF1_HW_RADIO, 0); in rt2800_validate_eeprom()
10912 rt2x00_set_field16(&word, EEPROM_NIC_CONF1_EXTERNAL_TX_ALC, 0); in rt2800_validate_eeprom()
10913 rt2x00_set_field16(&word, EEPROM_NIC_CONF1_EXTERNAL_LNA_2G, 0); in rt2800_validate_eeprom()
10914 rt2x00_set_field16(&word, EEPROM_NIC_CONF1_EXTERNAL_LNA_5G, 0); in rt2800_validate_eeprom()
10915 rt2x00_set_field16(&word, EEPROM_NIC_CONF1_CARDBUS_ACCEL, 0); in rt2800_validate_eeprom()
10916 rt2x00_set_field16(&word, EEPROM_NIC_CONF1_BW40M_SB_2G, 0); in rt2800_validate_eeprom()
[all …]