Searched refs:best_index (Results 1 – 2 of 2) sorted by relevance
942 u8 i, best_index = 0; in power_supply_find_ocv2cap_table() local956 best_index = i; in power_supply_find_ocv2cap_table()960 *table_len = info->ocv_table_size[best_index]; in power_supply_find_ocv2cap_table()961 return info->ocv_table[best_index]; in power_supply_find_ocv2cap_table()
685 int best_index = -1; in set_clock_mux() local725 best_index = i; in set_clock_mux()729 if (best_index == -1) { in set_clock_mux()733 rate = priv->real_rates[best_index]; in set_clock_mux()