Searched refs:avg_i (Results 1 – 1 of 1) sorted by relevance
379 float avg_i = 0; in rx_dc_sample_average() local428 avg_i += ((float)i_value - avg_i) / (float)(i + 1); /* Rolling average I */ in rx_dc_sample_average()432 *i_avg = (int16_t)avg_i; in rx_dc_sample_average()451 float avg_i = 0; in rx_dc_sample_average_long() local501 avg_i += ((float)i_value - avg_i) / (float)(i + 1); /* Rolling average I */ in rx_dc_sample_average_long()506 *i_avg = (int16_t)avg_i; in rx_dc_sample_average_long()515 float avg_i = 0; in rx_dc_est_average() local536 avg_i += (float) dc_meas_i; in rx_dc_est_average()545 avg_i /= (float) SampleNumber; in rx_dc_est_average()548 *i_avg = (int16_t)avg_i; in rx_dc_est_average()