Searched refs:cur_alg (Results 1 – 1 of 1) sorted by relevance
644 u16 cur_alg, new_alg; in s5k5baf_hw_set_alg() local647 cur_alg = s5k5baf_read(state, REG_DBG_AUTOALG_EN); in s5k5baf_hw_set_alg()649 cur_alg = state->auto_alg; in s5k5baf_hw_set_alg()651 new_alg = enable ? (cur_alg | alg) : (cur_alg & ~alg); in s5k5baf_hw_set_alg()653 if (new_alg != cur_alg) in s5k5baf_hw_set_alg()