Searched refs:current_info_idx (Results 1 – 1 of 1) sorted by relevance
107 int current_info_idx; member331 if (sel == abb->current_info_idx) { in ti_abb_set_voltage_sel()343 if (abb->current_info_idx == -EINVAL) in ti_abb_set_voltage_sel()347 oinfo = &abb->info[abb->current_info_idx]; in ti_abb_set_voltage_sel()350 sel, abb->current_info_idx); in ti_abb_set_voltage_sel()359 abb->current_info_idx = sel; in ti_abb_set_voltage_sel()393 if (abb->current_info_idx >= (int)desc->n_voltages) { in ti_abb_get_voltage_sel()395 __func__, abb->current_info_idx, desc->n_voltages); in ti_abb_get_voltage_sel()399 return abb->current_info_idx; in ti_abb_get_voltage_sel()540 abb->current_info_idx = -EINVAL; in ti_abb_init_table()