Home
last modified time | relevance | path

Searched refs:regVal (Results 1 – 3 of 3) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9285_diversity.c64 int regVal; in ar9285SetAntennaSwitch() local
86 regVal = OS_REG_READ(ah, AR_PHY_MULTICHAIN_GAIN_CTL); in ar9285SetAntennaSwitch()
87 regVal &= (~(AR_PHY_9285_ANT_DIV_CTL_ALL)); in ar9285SetAntennaSwitch()
91 regVal |= SM(ant_div_control1, AR_PHY_9285_ANT_DIV_CTL); in ar9285SetAntennaSwitch()
96 regVal |= SM(ant_div_control2, AR_PHY_9285_ANT_DIV_ALT_LNACONF); in ar9285SetAntennaSwitch()
97 regVal |= SM((ant_div_control2 >> 2), AR_PHY_9285_ANT_DIV_MAIN_LNACONF); in ar9285SetAntennaSwitch()
98 regVal |= SM((ant_div_control1 >> 1), AR_PHY_9285_ANT_DIV_ALT_GAINTB); in ar9285SetAntennaSwitch()
99 regVal |= SM((ant_div_control1 >> 2), AR_PHY_9285_ANT_DIV_MAIN_GAINTB); in ar9285SetAntennaSwitch()
105 regVal |= SM(HAL_ANT_DIV_COMB_LNA2, AR_PHY_9285_ANT_DIV_ALT_LNACONF); in ar9285SetAntennaSwitch()
106 regVal |= SM(HAL_ANT_DIV_COMB_LNA1, AR_PHY_9285_ANT_DIV_MAIN_LNACONF); in ar9285SetAntennaSwitch()
[all …]
H A Dar9285_btcoex.c47 u_int32_t regVal; in ar9285BTCoexAntennaDiversity() local
105 regVal = OS_REG_READ(ah, AR_PHY_MULTICHAIN_GAIN_CTL); in ar9285BTCoexAntennaDiversity()
106 regVal &= (~(AR_PHY_9285_ANT_DIV_CTL_ALL)); in ar9285BTCoexAntennaDiversity()
111 regVal &= (~(AR_PHY_9285_FAST_DIV_BIAS)); in ar9285BTCoexAntennaDiversity()
113 regVal |= SM(ant_div_control1, AR_PHY_9285_ANT_DIV_CTL); in ar9285BTCoexAntennaDiversity()
114 regVal |= SM(ant_div_control2, AR_PHY_9285_ANT_DIV_ALT_LNACONF); in ar9285BTCoexAntennaDiversity()
115 regVal |= SM((ant_div_control2 >> 2), AR_PHY_9285_ANT_DIV_MAIN_LNACONF); in ar9285BTCoexAntennaDiversity()
116 regVal |= SM((ant_div_control1 >> 1), AR_PHY_9285_ANT_DIV_ALT_GAINTB); in ar9285BTCoexAntennaDiversity()
117 regVal |= SM((ant_div_control1 >> 2), AR_PHY_9285_ANT_DIV_MAIN_GAINTB); in ar9285BTCoexAntennaDiversity()
118 OS_REG_WRITE(ah, AR_PHY_MULTICHAIN_GAIN_CTL, regVal); in ar9285BTCoexAntennaDiversity()
[all …]
H A Dar9285_cal.c51 uint32_t regVal; in ar9285_hw_pa_cal() local
74 regVal = OS_REG_READ(ah, 0x7834); in ar9285_hw_pa_cal()
75 regVal &= (~(0x1)); in ar9285_hw_pa_cal()
76 OS_REG_WRITE(ah, 0x7834, regVal); in ar9285_hw_pa_cal()
77 regVal = OS_REG_READ(ah, 0x9808); in ar9285_hw_pa_cal()
78 regVal |= (0x1 << 27); in ar9285_hw_pa_cal()
79 OS_REG_WRITE(ah, 0x9808, regVal); in ar9285_hw_pa_cal()
102 regVal = OS_REG_READ(ah, 0x7834); in ar9285_hw_pa_cal()
103 regVal |= (1 << (19 + i)); in ar9285_hw_pa_cal()
104 OS_REG_WRITE(ah, 0x7834, regVal); in ar9285_hw_pa_cal()
[all …]