Searched refs:closest_idx (Results 1 – 1 of 1) sorted by relevance
297 unsigned i, closest_idx; in twl_vreg_millivolt_to_vsel() local305 closest_idx = 0; in twl_vreg_millivolt_to_vsel()316 closest_idx = i; in twl_vreg_millivolt_to_vsel()323 if ((smallest_delta > 100) && (closest_idx < 0x100)) in twl_vreg_millivolt_to_vsel()326 *vsel = closest_idx; in twl_vreg_millivolt_to_vsel()