Lines Matching defs:index
193 int index;
197 index = adp5061_get_array_index(adp5061_in_current_lim,
200 if (index < 0)
201 return index;
205 ADP5061_VINX_SET_ILIM_MODE(index));
210 int index;
214 index = adp5061_get_array_index(adp5061_vmin,
217 if (index < 0)
218 return index;
222 ADP5061_VOLTAGE_TH_VTRK_DEAD_MODE(index));
299 int index;
303 index = adp5061_get_array_index(adp5061_const_chg_vmax,
306 if (index < 0)
307 return index;
311 ADP5061_TERM_SET_CHG_VLIM_MODE(index));
317 int index;
324 index = adp5061_get_array_index(adp5061_const_ichg,
327 if (index < 0)
328 return index;
332 ADP5061_CHG_CURR_ICHG_MODE(index));
372 int index;
376 index = adp5061_get_array_index(adp5061_prechg_current,
379 if (index < 0)
380 return index;
384 ADP5061_CHG_CURR_ITRK_DEAD_MODE(index));
405 int index;
409 index = adp5061_get_array_index(adp5061_vweak_th,
412 if (index < 0)
413 return index;
417 ADP5061_VOLTAGE_TH_VWEAK_MODE(index));
519 int index;
521 index = adp5061_get_array_index(adp5061_iend,
524 if (index < 0)
525 return index;
529 ADP5061_IEND_IEND_MODE(index));