Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/gyro/
Dbmg160_core.c102 int slope_thres; member
280 data->slope_thres = val; in bmg160_chip_init()
347 data->slope_thres); in bmg160_setup_any_motion_interrupt()
700 *val = data->slope_thres & BMG160_SLOPE_THRES_MASK; in bmg160_read_event()
722 data->slope_thres &= ~BMG160_SLOPE_THRES_MASK; in bmg160_write_event()
723 data->slope_thres |= (val & BMG160_SLOPE_THRES_MASK); in bmg160_write_event()
/Linux-v5.10/drivers/iio/accel/
Dbmc150-accel-core.c202 u32 slope_thres; member
327 data->slope_thres); in bmc150_accel_update_slope()
340 dev_dbg(dev, "%x %x\n", data->slope_thres, data->slope_dur); in bmc150_accel_update_slope()
681 *val = data->slope_thres; in bmc150_accel_read_event()
707 data->slope_thres = val & BMC150_ACCEL_SLOPE_THRES_MASK; in bmc150_accel_write_event()
1540 data->slope_thres = BMC150_ACCEL_DEF_SLOPE_THRESHOLD; in bmc150_accel_chip_init()