Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/regulator/
Dti-abb-regulator.c116 int current_info_idx; member
340 if (sel == abb->current_info_idx) { in ti_abb_set_voltage_sel()
352 if (abb->current_info_idx == -EINVAL) in ti_abb_set_voltage_sel()
356 oinfo = &abb->info[abb->current_info_idx]; in ti_abb_set_voltage_sel()
359 sel, abb->current_info_idx); in ti_abb_set_voltage_sel()
368 abb->current_info_idx = sel; in ti_abb_set_voltage_sel()
402 if (abb->current_info_idx >= (int)desc->n_voltages) { in ti_abb_get_voltage_sel()
404 __func__, abb->current_info_idx, desc->n_voltages); in ti_abb_get_voltage_sel()
408 return abb->current_info_idx; in ti_abb_get_voltage_sel()
549 abb->current_info_idx = -EINVAL; in ti_abb_init_table()