Searched refs:ec_count (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/ubi/
H A Dscan.h106 * @ec_count: a temporary variable used when calculating @mean_ec
128 int ec_count; member in struct:ubi_scan_info
H A Dscan.c93 * count these components in @si->ec_count. If this temporary @si->ec_sum is
95 * (@si->ec_sum/@si->ec_count) and add it to @si->mean_ec.
99 si->ec_sum /= si->ec_count;
100 if (si->ec_sum % si->ec_count >= si->ec_count / 2)
860 si->ec_count = 0;
863 si->ec_count += 1;
922 if (si->ec_count)

Completed in 49 milliseconds