Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/accel/
H A Dbmc150-accel.h76 u32 slope_thres; member
H A Dbmc150-accel-core.c277 data->slope_thres); in bmc150_accel_update_slope()
290 dev_dbg(dev, "%x %x\n", data->slope_thres, data->slope_dur); in bmc150_accel_update_slope()
795 *val = data->slope_thres; in bmc150_accel_read_event()
821 data->slope_thres = val & BMC150_ACCEL_SLOPE_THRES_MASK; in bmc150_accel_write_event()
1646 data->slope_thres = BMC150_ACCEL_DEF_SLOPE_THRESHOLD; in bmc150_accel_chip_init()
/openbmc/linux/drivers/iio/gyro/
H A Dbmg160_core.c107 int slope_thres; member
285 data->slope_thres = val; in bmg160_chip_init()
352 data->slope_thres); in bmg160_setup_any_motion_interrupt()
705 *val = data->slope_thres & BMG160_SLOPE_THRES_MASK; in bmg160_read_event()
727 data->slope_thres &= ~BMG160_SLOPE_THRES_MASK; in bmg160_write_event()
728 data->slope_thres |= (val & BMG160_SLOPE_THRES_MASK); in bmg160_write_event()