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

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

Completed in 94 milliseconds