Searched refs:closest_idx (Results 1 – 1 of 1) sorted by relevance
299 unsigned i, closest_idx; in twl_vreg_millivolt_to_vsel() local307 closest_idx = 0; in twl_vreg_millivolt_to_vsel()318 closest_idx = i; in twl_vreg_millivolt_to_vsel()325 if ((smallest_delta > 100) && (closest_idx < 0x100)) in twl_vreg_millivolt_to_vsel()328 *vsel = closest_idx; in twl_vreg_millivolt_to_vsel()