Searched refs:invGain (Results 1 – 1 of 1) sorted by relevance
386 static const float invGain[] = {1.0f, 0.5f, 1.0f / 64.0f, 1.0f / 128.0f}; in getLuxFromAlsData() local387 float d0 = (float)als0 * invGain[ROHM_RPR0521_GAIN_ALS0]; in getLuxFromAlsData()388 float d1 = (float)als1 * invGain[ROHM_RPR0521_GAIN_ALS1]; in getLuxFromAlsData()