Lines Matching defs:threshold
302 struct mutex threshold_m; /* lock for threshold */
315 u16 *threshold)
329 *threshold = regval;
335 u16 threshold)
341 ret = regmap_write(st->regmap, addr, ADXL372_THRESH_VAL_H_SEL(threshold));
346 ADXL372_THRESH_VAL_L_SEL(threshold) << 5);
447 unsigned int threshold)
453 th_reg_high_val = (threshold / 100) >> 3;
454 th_reg_low_val = ((threshold / 100) << 5) | (ref_en << 1) | enable;
705 /* Set threshold for activity detection to 1g */
711 /* Set threshold for inactivity detection to 100mg */