Searched refs:currPDADC (Results 1 – 1 of 1) sorted by relevance
380 int32_t delta, currPDADC, slope; in ar9287_hw_olc_temp_compensation() local383 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() local413 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()