Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/regulator/
Dti-abb-regulator.c108 int current_info_idx; member
332 if (sel == abb->current_info_idx) { in ti_abb_set_voltage_sel()
344 if (abb->current_info_idx == -EINVAL) in ti_abb_set_voltage_sel()
348 oinfo = &abb->info[abb->current_info_idx]; in ti_abb_set_voltage_sel()
351 sel, abb->current_info_idx); in ti_abb_set_voltage_sel()
360 abb->current_info_idx = sel; in ti_abb_set_voltage_sel()
394 if (abb->current_info_idx >= (int)desc->n_voltages) { in ti_abb_get_voltage_sel()
396 __func__, abb->current_info_idx, desc->n_voltages); in ti_abb_get_voltage_sel()
400 return abb->current_info_idx; in ti_abb_get_voltage_sel()
541 abb->current_info_idx = -EINVAL; in ti_abb_init_table()