Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/iio/gyro/
Dbmg160.c108 int slope_thres; member
228 data->slope_thres = ret; in bmg160_chip_init()
311 data->slope_thres); in bmg160_setup_any_motion_interrupt()
651 *val = data->slope_thres & BMG160_SLOPE_THRES_MASK; in bmg160_read_event()
673 data->slope_thres &= ~BMG160_SLOPE_THRES_MASK; in bmg160_write_event()
674 data->slope_thres |= (val & BMG160_SLOPE_THRES_MASK); in bmg160_write_event()
/linux-4.1.27/drivers/iio/accel/
Dbmc150-accel.c196 u32 slope_thres; member
313 data->slope_thres); in bmc150_accel_update_slope()
333 dev_dbg(&data->client->dev, "%s: %x %x\n", __func__, data->slope_thres, in bmc150_accel_update_slope()
387 data->slope_thres = BMC150_ACCEL_DEF_SLOPE_THRESHOLD; in bmc150_accel_chip_init()
753 *val = data->slope_thres; in bmc150_accel_read_event()
779 data->slope_thres = val & 0xFF; in bmc150_accel_write_event()