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