Searched refs:ratio (Results 1 – 9 of 9) sorted by relevance
24 float ratio = 100; /* Unit: % */ in toScale() local26 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()
389 float ratio = d1 / d0; in getLuxFromAlsData() local393 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()
108 float ratio = 100; /* Unit: % */ in amplitudeToScale() local110 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()
287 echo "${a/_ratio/} \t$ratio"
264 echo "${a/_ratio/} \t$ratio"
92 #Gold L3 ratio ceil is 400097 #Gold+ L3 ratio ceil is 20000
106 #Gold L3 ratio ceil111 #Prime L3 ratio ceil
1560 int32_t ratio; local1576 ratio = abs(st_res / st_otp[i] - SELF_TEST_PRECISION);1577 if (ratio >= SELF_TEST_ACC_SHIFT_DELTA) {
85 #Gold L3 ratio ceil is 4000