Searched refs:getAlsGainFromSetting (Results 1 – 1 of 1) sorted by relevance
387 static inline uint32_t getAlsGainFromSetting(uint8_t gainSetting) in getAlsGainFromSetting() function403 (AMS_TMD4903_ATIME_MS * getAlsGainFromSetting(mTask.alsGain))) * mTask.alsOffset; in getLuxFromAlsData()758 (int)getAlsGainFromSetting(mTask.alsGain), (int)sample.fdata); in handleAlsSample()776 … DEBUG_PRINT("Changing ALS gain from %dx to %dx\n", (int)getAlsGainFromSetting(mTask.alsGain), in handleAlsSample()777 (int)getAlsGainFromSetting(mTask.nextAlsGain)); in handleAlsSample()