Searched refs:thr_adpt (Results 1 – 1 of 1) sorted by relevance
793 int thr_adpt, ret; in apds9306_event_thresh_adaptive_get() local795 ret = regmap_field_read(rf->int_thresh_var_val, &thr_adpt); in apds9306_event_thresh_adaptive_get()799 if (!in_range(thr_adpt, 0, APDS9306_ALS_THRES_VAR_NUM_VALS)) in apds9306_event_thresh_adaptive_get()802 *val = thr_adpt; in apds9306_event_thresh_adaptive_get()