Home
last modified time | relevance | path

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

/linux/drivers/iio/accel/
H A Dadxl345_core.c742 unsigned int tap_threshold; in _adxl345_set_tap_int() local
756 ret = regmap_read(st->regmap, ADXL345_REG_THRESH_TAP, &tap_threshold); in _adxl345_set_tap_int()
764 singletap_args_valid = tap_threshold > 0 && st->tap_duration_us > 0; in _adxl345_set_tap_int()
1341 unsigned int tap_threshold; in adxl345_read_event_value() local
1365 &tap_threshold); in adxl345_read_event_value()
1368 *val = sign_extend32(tap_threshold, 7); in adxl345_read_event_value()
1880 unsigned int tap_threshold; in adxl345_core_probe() local
1896 tap_threshold = 48; /* 48 [0x30] -> ~3g */ in adxl345_core_probe()
1997 ret = regmap_write(st->regmap, ADXL345_REG_THRESH_TAP, tap_threshold); in adxl345_core_probe()
H A Dadxl380.c220 u32 tap_threshold; member
358 st->tap_threshold = th; in adxl380_set_tap_threshold_value()
1487 *val = st->tap_threshold; in adxl380_read_event_value()
/linux/include/linux/input/
H A Dadxl34x.h54 u8 tap_threshold; member
/linux/drivers/input/misc/
H A Dadxl34x.c214 .tap_threshold = 35,
814 AC_WRITE(ac, THRESH_TAP, pdata->tap_threshold); in adxl34x_probe()