Home
last modified time | relevance | path

Searched refs:slope_thres (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/iio/gyro/
Dbmg160_core.c109 int slope_thres; member
226 data->slope_thres = val; in bmg160_chip_init()
291 data->slope_thres); in bmg160_setup_any_motion_interrupt()
612 *val = data->slope_thres & BMG160_SLOPE_THRES_MASK; in bmg160_read_event()
634 data->slope_thres &= ~BMG160_SLOPE_THRES_MASK; in bmg160_write_event()
635 data->slope_thres |= (val & BMG160_SLOPE_THRES_MASK); in bmg160_write_event()
/linux-4.4.14/drivers/iio/accel/
Dbmc150-accel-core.c201 u32 slope_thres; member
322 data->slope_thres); in bmc150_accel_update_slope()
335 dev_dbg(data->dev, "%s: %x %x\n", __func__, data->slope_thres, in bmc150_accel_update_slope()
678 *val = data->slope_thres; in bmc150_accel_read_event()
704 data->slope_thres = val & BMC150_ACCEL_SLOPE_THRES_MASK; in bmc150_accel_write_event()
1531 data->slope_thres = BMC150_ACCEL_DEF_SLOPE_THRESHOLD; in bmc150_accel_chip_init()