Searched refs:sharpsl_ad_index (Results 1 – 1 of 1) sorted by relevance
433 static int sharpsl_ad_index; variable437 sharpsl_ad_index = 0; in sharpsl_average_clear()446 sharpsl_ad_index = 0; in sharpsl_average_value()450 sharpsl_ad[sharpsl_ad_index] = ad; in sharpsl_average_value()451 sharpsl_ad_index++; in sharpsl_average_value()452 if (sharpsl_ad_index >= SHARPSL_CNV_VALUE_NUM) { in sharpsl_average_value()455 sharpsl_ad_index = SHARPSL_CNV_VALUE_NUM - 1; in sharpsl_average_value()457 for (i = 0; i < sharpsl_ad_index; i++) in sharpsl_average_value()460 return ad_val / sharpsl_ad_index; in sharpsl_average_value()