Searched refs:acr_val (Results 1 – 1 of 1) sorted by relevance
374 unsigned int acr_val) in ds2760_battery_set_current_accum() argument379 acr_val *= 4L; in ds2760_battery_set_current_accum()380 acr_val /= 1000; in ds2760_battery_set_current_accum()382 acr[0] = acr_val >> 8; in ds2760_battery_set_current_accum()383 acr[1] = acr_val & 0xff; in ds2760_battery_set_current_accum()