Searched refs:regVal (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/common/io/arn/ |
H A D | arn_calib.c | 869 uint32_t regVal; in ath9k_hw_9285_pa_cal() local 890 regVal = REG_READ(ah, 0x7834); in ath9k_hw_9285_pa_cal() 891 regVal &= (~(0x1)); in ath9k_hw_9285_pa_cal() 892 REG_WRITE(ah, 0x7834, regVal); in ath9k_hw_9285_pa_cal() 893 regVal = REG_READ(ah, 0x9808); in ath9k_hw_9285_pa_cal() 894 regVal |= (0x1 << 27); in ath9k_hw_9285_pa_cal() 895 REG_WRITE(ah, 0x9808, regVal); in ath9k_hw_9285_pa_cal() 918 regVal = REG_READ(ah, 0x7834); in ath9k_hw_9285_pa_cal() 919 regVal |= (1 << (19 + i)); in ath9k_hw_9285_pa_cal() 920 REG_WRITE(ah, 0x7834, regVal); in ath9k_hw_9285_pa_cal() [all …]
|
H A D | arn_eeprom.c | 64 uint32_t regVal; in ath9k_hw_analog_shift_rmw() local 66 regVal = REG_READ(ah, reg) & ~mask; in ath9k_hw_analog_shift_rmw() 67 regVal |= (val << shift) & mask; in ath9k_hw_analog_shift_rmw() 69 REG_WRITE(ah, reg, regVal); in ath9k_hw_analog_shift_rmw() 2440 uint32_t regVal; in ath9k_hw_eeprom_set_4k_board_values() local 2487 regVal = REG_READ(ah, 0x99ac); in ath9k_hw_eeprom_set_4k_board_values() 2488 regVal &= (~(0x7f000000)); in ath9k_hw_eeprom_set_4k_board_values() 2489 regVal |= ((ant_div_control1 & 0x1) << 24); in ath9k_hw_eeprom_set_4k_board_values() 2490 regVal |= (((ant_div_control1 >> 1) & 0x1) << 29); in ath9k_hw_eeprom_set_4k_board_values() 2491 regVal |= (((ant_div_control1 >> 2) & 0x1) << 30); in ath9k_hw_eeprom_set_4k_board_values() [all …]
|