Searched refs:current_info_idx (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/regulator/
H A Dti-abb-regulator.c97 * @current_info_idx: current index to info
116 int current_info_idx; member in struct:ti_abb
350 if (sel == abb->current_info_idx) { ti_abb_set_voltage_sel()
357 oinfo = &abb->info[abb->current_info_idx]; ti_abb_set_voltage_sel()
360 sel, abb->current_info_idx); ti_abb_set_voltage_sel()
368 abb->current_info_idx = sel; ti_abb_set_voltage_sel()
402 if (abb->current_info_idx >= (int)desc->n_voltages) { ti_abb_get_voltage_sel()
404 __func__, abb->current_info_idx, desc->n_voltages); ti_abb_get_voltage_sel()
408 return abb->current_info_idx; ti_abb_get_voltage_sel()
549 abb->current_info_idx = -EINVAL; ti_abb_init_table()

Completed in 49 milliseconds