Home
last modified time | relevance | path

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

/linux/drivers/iio/accel/
H A Dadxl345_core.c246 unsigned int tap_threshold; in _adxl345_set_tap_int() local
260 ret = regmap_read(st->regmap, ADXL345_REG_THRESH_TAP, &tap_threshold); in _adxl345_set_tap_int()
268 singletap_args_valid = tap_threshold > 0 && st->tap_duration_us > 0; in _adxl345_set_tap_int()
690 unsigned int tap_threshold; in adxl345_read_event_value() local
704 &tap_threshold); in adxl345_read_event_value()
707 *val = sign_extend32(tap_threshold, 7); in adxl345_read_event_value()
1130 unsigned int tap_threshold; in adxl345_core_probe() local
1146 tap_threshold = 48; /* 48 [0x30] -> ~3g */ in adxl345_core_probe()
1229 ret = regmap_write(st->regmap, ADXL345_REG_THRESH_TAP, tap_threshold); in adxl345_core_probe()
/linux/include/linux/input/
H A Dadxl34x.h54 u8 tap_threshold; member
/linux/drivers/input/misc/
H A Dadxl34x.c213 .tap_threshold = 35,
813 AC_WRITE(ac, THRESH_TAP, pdata->tap_threshold); in adxl34x_probe()