Home
last modified time | relevance | path

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

/drivers/iio/accel/
Dbmc150-accel-core.c265 u8 lpw_bits; in bmc150_accel_set_mode() local
283 lpw_bits = mode << BMC150_ACCEL_PMU_MODE_SHIFT; in bmc150_accel_set_mode()
284 lpw_bits |= (dur_val << BMC150_ACCEL_PMU_BIT_SLEEP_DUR_SHIFT); in bmc150_accel_set_mode()
286 dev_dbg(dev, "Set Mode bits %x\n", lpw_bits); in bmc150_accel_set_mode()
288 ret = regmap_write(data->regmap, BMC150_ACCEL_REG_PMU_LPW, lpw_bits); in bmc150_accel_set_mode()