Searched refs:full_scale_ma (Results 1 – 1 of 1) sorted by relevance
196 int32_t full_scale_ma; in calc_current() local201 full_scale_ma = config->dischg_limit_microamp / 893; in calc_current()208 full_scale_ma = -config->current_microamp / 800; in calc_current()211 full_scale_ma = 0; in calc_current()215 current = (data->current * full_scale_ma) / 1024; in calc_current()