Searched refs:lpw_bits (Results 1 – 1 of 1) sorted by relevance
261 u8 lpw_bits; in bmc150_accel_set_mode() local279 lpw_bits = mode << BMC150_ACCEL_PMU_MODE_SHIFT; in bmc150_accel_set_mode()280 lpw_bits |= (dur_val << BMC150_ACCEL_PMU_BIT_SLEEP_DUR_SHIFT); in bmc150_accel_set_mode()282 dev_dbg(data->dev, "Set Mode bits %x\n", lpw_bits); in bmc150_accel_set_mode()284 ret = regmap_write(data->regmap, BMC150_ACCEL_REG_PMU_LPW, lpw_bits); in bmc150_accel_set_mode()