Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/accel/
H A Dbmc150-accel-core.c215 u8 lpw_bits; in bmc150_accel_set_mode() local
233 lpw_bits = mode << BMC150_ACCEL_PMU_MODE_SHIFT; in bmc150_accel_set_mode()
234 lpw_bits |= (dur_val << BMC150_ACCEL_PMU_BIT_SLEEP_DUR_SHIFT); in bmc150_accel_set_mode()
236 dev_dbg(dev, "Set Mode bits %x\n", lpw_bits); in bmc150_accel_set_mode()
238 ret = regmap_write(data->regmap, BMC150_ACCEL_REG_PMU_LPW, lpw_bits); in bmc150_accel_set_mode()