Searched refs:currPDADC (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_calib.c | 380 int32_t delta, currPDADC, slope; in ar9287_hw_olc_temp_compensation() local 383 currPDADC = MS(rddata, AR_PHY_TX_PWRCTRL_PD_AVG_OUT); in ar9287_hw_olc_temp_compensation() 385 if (ah->initPDADC == 0 || currPDADC == 0) { in ar9287_hw_olc_temp_compensation() 398 delta = ((currPDADC - ah->initPDADC)*4) / slope; in ar9287_hw_olc_temp_compensation() 410 int delta, currPDADC, regval; in ar9280_hw_olc_temp_compensation() local 413 currPDADC = MS(rddata, AR_PHY_TX_PWRCTRL_PD_AVG_OUT); in ar9280_hw_olc_temp_compensation() 415 if (ah->initPDADC == 0 || currPDADC == 0) in ar9280_hw_olc_temp_compensation() 419 delta = (currPDADC - ah->initPDADC + 4) / 8; in ar9280_hw_olc_temp_compensation() 421 delta = (currPDADC - ah->initPDADC + 5) / 10; in ar9280_hw_olc_temp_compensation()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_calib.c | 380 int32_t delta, currPDADC, slope; in ar9287_hw_olc_temp_compensation() local 383 currPDADC = MS(rddata, AR_PHY_TX_PWRCTRL_PD_AVG_OUT); in ar9287_hw_olc_temp_compensation() 385 if (ah->initPDADC == 0 || currPDADC == 0) { in ar9287_hw_olc_temp_compensation() 398 delta = ((currPDADC - ah->initPDADC)*4) / slope; in ar9287_hw_olc_temp_compensation() 410 int delta, currPDADC, regval; in ar9280_hw_olc_temp_compensation() local 413 currPDADC = MS(rddata, AR_PHY_TX_PWRCTRL_PD_AVG_OUT); in ar9280_hw_olc_temp_compensation() 415 if (ah->initPDADC == 0 || currPDADC == 0) in ar9280_hw_olc_temp_compensation() 419 delta = (currPDADC - ah->initPDADC + 4) / 8; in ar9280_hw_olc_temp_compensation() 421 delta = (currPDADC - ah->initPDADC + 5) / 10; in ar9280_hw_olc_temp_compensation()
|
Completed in 3 milliseconds