Searched refs:rtbl_size (Results 1 – 1 of 1) sorted by relevance
392 u8 rtbl_size; in bq25890_find_idx() local394 rtbl_size = (rtbl->max - rtbl->min) / rtbl->step + 1; in bq25890_find_idx()397 idx < rtbl_size && (idx * rtbl->step + rtbl->min <= value); in bq25890_find_idx()