Home
last modified time | relevance | path

Searched refs:STEADY_TARGET_G (Results 1 – 5 of 5) sorted by relevance

/device/google/redfin/vibrator/drv2624/
DVibrator.cpp63 static std::array<float, 3> STEADY_TARGET_G = {2.15, 1.145, 1.3}; variable
326 STEADY_TARGET_G = {1.2, 1.145, 0.4}; in Vibrator()
376 STEADY_TARGET_G[i] = externalSteadyTargetG[i]; in Vibrator()
385 ((STEADY_TARGET_G[2] - in Vibrator()
394 steadyCoeffs, STEADY_TARGET_G[i]); in Vibrator()
405 STEADY_TARGET_G[0] = externalSteadyTargetG[0]; in Vibrator()
406 STEADY_TARGET_G[2] = externalSteadyTargetG[2]; in Vibrator()
410 ? round((STEADY_TARGET_G[0] / tempAmpMax) * longVoltageMax) in Vibrator()
414 ? round((STEADY_TARGET_G[2] / tempAmpMax) * longVoltageMax) in Vibrator()
565 dprintf(fd, " Steady target G: %f %f %f\n", STEADY_TARGET_G[0], in dump()
[all …]
DHardware.h106 static constexpr char STEADY_TARGET_G[] = "vibration_target_G"; variable
154 if (getPersist(STEADY_TARGET_G, value)) { in getSteadyTargetG()
/device/google/barbet/vibrator/drv2624/
DVibrator.cpp64 static constexpr std::array<float, 3> STEADY_TARGET_G = {0.95, 0.90, 0.50}; variable
359 tempVolLevel = ((STEADY_TARGET_G[2] - in Vibrator()
367 targetGToVlevelsUnderCubicEquation(steadyCoeffs, STEADY_TARGET_G[i]); in Vibrator()
377 ? round((STEADY_TARGET_G[0] / tempAmpMax) * longVoltageMax) in Vibrator()
381 ? round((STEADY_TARGET_G[2] / tempAmpMax) * longVoltageMax) in Vibrator()
534 dprintf(fd, " Steady target G: %f %f %f\n", STEADY_TARGET_G[0], in dump()
535 STEADY_TARGET_G[1], STEADY_TARGET_G[2]); in dump()
/device/google/bramble/vibrator/drv2624/
DVibrator.cpp63 static constexpr std::array<float, 3> STEADY_TARGET_G = {1.5, 1.145, 0.82}; variable
356 tempVolLevel = ((STEADY_TARGET_G[2] - in Vibrator()
364 targetGToVlevelsUnderCubicEquation(steadyCoeffs, STEADY_TARGET_G[i]); in Vibrator()
374 ? round((STEADY_TARGET_G[0] / tempAmpMax) * longVoltageMax) in Vibrator()
378 ? round((STEADY_TARGET_G[2] / tempAmpMax) * longVoltageMax) in Vibrator()
/device/google/sunfish/vibrator/drv2624/
DVibrator.cpp58 static constexpr std::array<float, 3> STEADY_TARGET_G = {1.2, 1.145, 0.905}; variable
244 if ((mHwCal->getSteadyAmpMax(&tempAmpMax)) && (tempAmpMax > STEADY_TARGET_G[0])) { in Vibrator()
245 tempVolLevel = round((STEADY_TARGET_G[0] / tempAmpMax) * longVoltageMax); in Vibrator()