Home
last modified time | relevance | path

Searched refs:als_vmin (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/leds/
Dleds-lm3530.c159 u32 als_vmin, als_vmax, als_vstep; in lm3530_als_configure() local
162 pdata->als_vmin = 0; in lm3530_als_configure()
166 als_vmin = pdata->als_vmin; in lm3530_als_configure()
169 if ((als_vmax - als_vmin) > LM3530_ALS_WINDOW_mV) in lm3530_als_configure()
170 pdata->als_vmax = als_vmax = als_vmin + LM3530_ALS_WINDOW_mV; in lm3530_als_configure()
173 als_vstep = (als_vmax - als_vmin) / (LM3530_ALS_ZB_MAX + 1); in lm3530_als_configure()
176 als->zones[i] = (((als_vmin + LM3530_ALS_OFFSET_mV) + in lm3530_als_configure()
Dleds-lm3532.c115 u32 als_vmin; member
450 u32 als_vmin, als_vmax, als_vstep; in lm3532_als_configure() local
455 als_vmin = als->als_vmin; in lm3532_als_configure()
458 als_vstep = (als_vmax - als_vmin) / ((LM3532_ALS_ZB_MAX + 1) * 2); in lm3532_als_configure()
461 als->zones_lo[i] = ((als_vmin + als_vstep + (i * als_vstep)) * in lm3532_als_configure()
463 als->zones_hi[i] = ((als_vmin + LM3532_ALS_OFFSET_mV + in lm3532_als_configure()
495 &als->als_vmin); in lm3532_parse_als()
497 als->als_vmin = 0; in lm3532_parse_als()
/Linux-v5.10/include/linux/
Dled-lm3530.h112 u32 als_vmin; member