Lines Matching refs:shift
256 uint8_t *shift) in lp5562_get_engine_reg_shift() argument
260 *shift = 4U; in lp5562_get_engine_reg_shift()
263 *shift = 2U; in lp5562_get_engine_reg_shift()
266 *shift = 0U; in lp5562_get_engine_reg_shift()
379 uint8_t enabled, shift; in lp5562_is_engine_executing() local
382 ret = lp5562_get_engine_reg_shift(engine, &shift); in lp5562_is_engine_executing()
392 enabled = (enabled >> shift) & LP5562_MASK; in lp5562_is_engine_executing()
444 uint8_t shift; in lp5562_set_engine_reg() local
447 ret = lp5562_get_engine_reg_shift(engine, &shift); in lp5562_set_engine_reg()
452 if (i2c_reg_update_byte_dt(&config->bus, reg, LP5562_MASK << shift, in lp5562_set_engine_reg()
453 val << shift)) { in lp5562_set_engine_reg()