Home
last modified time | relevance | path

Searched refs:odClamp (Results 1 – 6 of 6) sorted by relevance

/device/google/sunfish/vibrator/drv2624/
DVibrator.cpp73 float odClamp; in convertLevelsToOdClamp() local
75 odClamp = voltageLevel / in convertLevelsToOdClamp()
79 return round(odClamp); in convertLevelsToOdClamp()
239 .odClamp = &mEffectTargetOdClamp[0], in Vibrator()
253 .odClamp = &mSteadyTargetOdClamp, in Vibrator()
301 mHwApi->setOdClamp(config->odClamp[volOffset]); in on()
320 mSteadyConfig->odClamp = &mSteadyTargetOdClamp; in on()
323 mSteadyConfig->odClamp = &STEADY_VOLTAGE_LOWER_BOUND; in on()
391 dprintf(fd, " Steady OD Clamp: %" PRIu32 "\n", mSteadyConfig->odClamp[0]); in debug()
398 mEffectConfig->odClamp[0], mEffectConfig->odClamp[1], mEffectConfig->odClamp[2], in debug()
[all …]
DVibrator.h143 uint32_t *odClamp; member
/device/google/barbet/vibrator/drv2624/
DVibrator.cpp152 float odClamp; in convertLevelsToOdClamp() local
154 odClamp = voltageLevel / in convertLevelsToOdClamp()
158 return round(odClamp); in convertLevelsToOdClamp()
347 .odClamp = &mEffectTargetOdClamp[0], in Vibrator()
387 .odClamp = &mSteadyTargetOdClamp[0], in Vibrator()
446 mHwApi->setOdClamp(config->odClamp[volOffset]); in on()
470 mSteadyConfig->odClamp = &mSteadyTargetOdClamp[0]; in on()
480 mSteadyConfig->odClamp = &STEADY_VOLTAGE_LOWER_BOUND; in on()
534 mSteadyConfig->odClamp[0], mSteadyConfig->odClamp[1], mSteadyConfig->odClamp[2]); in dump()
543 mEffectConfig->odClamp[0], mEffectConfig->odClamp[1], mEffectConfig->odClamp[2], in dump()
[all …]
DVibrator.h142 uint32_t *odClamp; member
/device/google/redfin/vibrator/drv2624/
DVibrator.cpp149 float odClamp; in convertLevelsToOdClamp() local
151 odClamp = voltageLevel / in convertLevelsToOdClamp()
155 return round(odClamp); in convertLevelsToOdClamp()
367 .odClamp = &mEffectTargetOdClamp[0], in Vibrator()
420 .odClamp = &mSteadyTargetOdClamp[0], in Vibrator()
479 mHwApi->setOdClamp(config->odClamp[volOffset]); in on()
503 mSteadyConfig->odClamp = &mSteadyTargetOdClamp[0]; in on()
511 mSteadyConfig->odClamp = &STEADY_VOLTAGE_LOWER_BOUND; in on()
565 mSteadyConfig->odClamp[0], mSteadyConfig->odClamp[1], mSteadyConfig->odClamp[2]); in dump()
574 mEffectConfig->odClamp[0], mEffectConfig->odClamp[1], mEffectConfig->odClamp[2], in dump()
[all …]
DVibrator.h148 uint32_t *odClamp; member