Lines Matching defs:als_persist
158 u8 als_persist;
232 static int tsl2591_persist_cycle_to_lit(const u8 als_persist)
234 switch (als_persist) {
270 static int tsl2591_persist_lit_to_cycle(const u8 als_persist)
272 switch (als_persist) {
350 const u32 als_persist)
352 switch (als_persist) {
609 u8 als_persist)
616 als_persist);
620 chip->als_settings.als_persist = als_persist;
860 int als_persist, int_time, period;
886 als_persist = tsl2591_persist_cycle_to_lit(ret);
888 period = als_persist * (int_time * MSEC_PER_SEC);
913 int period, int_time, als_persist;
950 als_persist = tsl2591_persist_lit_to_cycle(period);
951 if (als_persist < 0) {
956 ret = tsl2591_compatible_als_persist_cycle(chip, als_persist);
960 ret = tsl2591_set_als_persist_cycle(chip, als_persist);