Home
last modified time | relevance | path

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

/device/google/sunfish/vibrator/drv2624/
DVibrator.cpp85 float outPutVal = 0.0f; in targetGToVlevelsUnderLinearEquation() local
86 outPutVal = (targetG - inputCoeffs[1]) / inputCoeffs[0]; in targetGToVlevelsUnderLinearEquation()
87 if ((outPutVal > FLOAT_EPS) && (outPutVal <= 3.2)) { in targetGToVlevelsUnderLinearEquation()
88 return outPutVal; in targetGToVlevelsUnderLinearEquation()
99 float outPutVal = 0.0f; in targetGToVlevelsUnderCubicEquation() local
113 outPutVal = -inputCoeffs[1] / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
114 if ((outPutVal > FLOAT_EPS) && (outPutVal <= 3.2)) { in targetGToVlevelsUnderCubicEquation()
115 return outPutVal; in targetGToVlevelsUnderCubicEquation()
145 outPutVal = (-inputCoeffs[1] - 2 * sqrtA * cosSita) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
146 if ((outPutVal > FLOAT_EPS) && (outPutVal <= 3.2)) { in targetGToVlevelsUnderCubicEquation()
[all …]
/device/google/barbet/vibrator/drv2624/
DVibrator.cpp164 float outPutVal = 0.0f; in targetGToVlevelsUnderLinearEquation() local
165 outPutVal = (targetG - inputCoeffs[1]) / inputCoeffs[0]; in targetGToVlevelsUnderLinearEquation()
166 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderLinearEquation()
167 return outPutVal; in targetGToVlevelsUnderLinearEquation()
178 float outPutVal = 0.0f; in targetGToVlevelsUnderCubicEquation() local
192 outPutVal = -inputCoeffs[1] / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
193 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderCubicEquation()
194 return outPutVal; in targetGToVlevelsUnderCubicEquation()
224 outPutVal = (-inputCoeffs[1] - 2 * sqrtA * cosSita) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
225 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderCubicEquation()
[all …]
/device/google/redfin/vibrator/drv2624/
DVibrator.cpp161 float outPutVal = 0.0f; in targetGToVlevelsUnderLinearEquation() local
162 outPutVal = (targetG - inputCoeffs[1]) / inputCoeffs[0]; in targetGToVlevelsUnderLinearEquation()
163 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderLinearEquation()
164 return outPutVal; in targetGToVlevelsUnderLinearEquation()
175 float outPutVal = 0.0f; in targetGToVlevelsUnderCubicEquation() local
189 outPutVal = -inputCoeffs[1] / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
190 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderCubicEquation()
191 return outPutVal; in targetGToVlevelsUnderCubicEquation()
221 outPutVal = (-inputCoeffs[1] - 2 * sqrtA * cosSita) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
222 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderCubicEquation()
[all …]