Searched refs:als_vmax (Results 1 – 2 of 2) sorted by relevance
160 u32 als_vmin, als_vmax, als_vstep; in lm3530_als_configure() local162 if (pdata->als_vmax == 0) { in lm3530_als_configure()164 pdata->als_vmax = LM3530_ALS_WINDOW_mV; in lm3530_als_configure()168 als_vmax = pdata->als_vmax; in lm3530_als_configure()170 if ((als_vmax - als_vmin) > LM3530_ALS_WINDOW_mV) in lm3530_als_configure()171 pdata->als_vmax = als_vmax = als_vmin + LM3530_ALS_WINDOW_mV; in lm3530_als_configure()174 als_vstep = (als_vmax - als_vmin) / (LM3530_ALS_ZB_MAX + 1); in lm3530_als_configure()
114 u32 als_vmax; member