Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 9 of 9) sorted by relevance

/device/google/felix/vibrator/cs40l26/tests/
Dutils.h24 float ratio = 100; /* Unit: % */ in toScale() local
26 ratio = amplitude / maximum * 100; in toScale()
28 if (maximum == 0 || ratio > 100) in toScale()
29 ratio = 100; in toScale()
31 return std::round(ratio); in toScale()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c389 float ratio = d1 / d0; in getLuxFromAlsData() local
393 if (ratio < 1.221f) { in getLuxFromAlsData()
396 } else if (ratio < 1.432f) { in getLuxFromAlsData()
399 } else if (ratio < 1.710f) { in getLuxFromAlsData()
402 } else if (ratio < 3.393f) { in getLuxFromAlsData()
/device/google/felix/vibrator/cs40l26/
DVibrator.cpp108 float ratio = 100; /* Unit: % */ in amplitudeToScale() local
110 ratio = amplitude / maximum * 100; in amplitudeToScale()
112 if (maximum == 0 || ratio > 100) in amplitudeToScale()
113 ratio = 100; in amplitudeToScale()
115 return std::round(ratio); in amplitudeToScale()
/device/google/gs201/dumpstate/
Ddump_power_gs201.sh287 echo "${a/_ratio/} \t$ratio"
/device/google/gs101/dumpstate/
Ddump_gs101.sh264 echo "${a/_ratio/} \t$ratio"
/device/google/coral/
Dinit.power.rc92 #Gold L3 ratio ceil is 4000
97 #Gold+ L3 ratio ceil is 20000
/device/google/redbull/
Dinit.power.rc106 #Gold L3 ratio ceil
111 #Prime L3 ratio ceil
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c1560 int32_t ratio; local
1576 ratio = abs(st_res / st_otp[i] - SELF_TEST_PRECISION);
1577 if (ratio >= SELF_TEST_ACC_SHIFT_DELTA) {
/device/google/sunfish/
Dinit.power.rc85 #Gold L3 ratio ceil is 4000