Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/gyro/
Dbmg160_core.c109 int slope_thres; member
287 data->slope_thres = val; in bmg160_chip_init()
354 data->slope_thres); in bmg160_setup_any_motion_interrupt()
707 *val = data->slope_thres & BMG160_SLOPE_THRES_MASK; in bmg160_read_event()
729 data->slope_thres &= ~BMG160_SLOPE_THRES_MASK; in bmg160_write_event()
730 data->slope_thres |= (val & BMG160_SLOPE_THRES_MASK); in bmg160_write_event()
/Linux-v4.19/drivers/iio/accel/
Dbmc150-accel-core.c202 u32 slope_thres; member
326 data->slope_thres); in bmc150_accel_update_slope()
339 dev_dbg(dev, "%x %x\n", data->slope_thres, data->slope_dur); in bmc150_accel_update_slope()
680 *val = data->slope_thres; in bmc150_accel_read_event()
706 data->slope_thres = val & BMC150_ACCEL_SLOPE_THRES_MASK; in bmc150_accel_write_event()
1523 data->slope_thres = BMC150_ACCEL_DEF_SLOPE_THRESHOLD; in bmc150_accel_chip_init()