Lines Matching refs:curTemp
339 int32_t curTemp ; in SysCtrlSetRechargeBeforePowerDown() local
374 curTemp = AONBatMonTemperatureGetDegC(); in SysCtrlSetRechargeBeforePowerDown()
385 int32_t tcDelta = ( 62 - curTemp ) >> 3; in SysCtrlSetRechargeBeforePowerDown()
430 if ((( curTemp - powerQualGlobals.pdTemp ) >= 5 ) || ( curState != powerQualGlobals.pdState )) { in SysCtrlSetRechargeBeforePowerDown()
432 shiftedTemp = curTemp - 15; in SysCtrlSetRechargeBeforePowerDown()
520 if ( curTemp > 127 ) curTemp = 127; in SysCtrlSetRechargeBeforePowerDown()
521 if ( curTemp < -128 ) curTemp = -128; in SysCtrlSetRechargeBeforePowerDown()
522 powerQualGlobals.pdTemp = curTemp; in SysCtrlSetRechargeBeforePowerDown()
559 int32_t curTemp ; in SysCtrlAdjustRechargeAfterPowerDown() local
571 curTemp = AONBatMonTemperatureGetDegC(); in SysCtrlAdjustRechargeAfterPowerDown()
572 if ( curTemp < powerQualGlobals.pdTemp ) { in SysCtrlAdjustRechargeAfterPowerDown()
573 if ( curTemp < -128 ) { in SysCtrlAdjustRechargeAfterPowerDown()
574 curTemp = -128; in SysCtrlAdjustRechargeAfterPowerDown()
576 powerQualGlobals.pdTemp = curTemp; in SysCtrlAdjustRechargeAfterPowerDown()