Lines Matching refs:stats
208 struct dtv_fe_stats *stats; in tc90522s_get_frontend() local
250 stats = &c->strength; in tc90522s_get_frontend()
251 stats->len = 0; in tc90522s_get_frontend()
259 stats = &c->cnr; in tc90522s_get_frontend()
260 stats->len = 1; in tc90522s_get_frontend()
261 stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tc90522s_get_frontend()
286 stats->stat[0].svalue = cn >> 3; in tc90522s_get_frontend()
287 stats->stat[0].scale = FE_SCALE_DECIBEL; in tc90522s_get_frontend()
291 stats = &c->post_bit_error; in tc90522s_get_frontend()
292 memset(stats, 0, sizeof(*stats)); in tc90522s_get_frontend()
293 stats->len = layers; in tc90522s_get_frontend()
297 stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; in tc90522s_get_frontend()
300 stats->stat[i].scale = FE_SCALE_COUNTER; in tc90522s_get_frontend()
301 stats->stat[i].uvalue = val[i * 5] << 16 in tc90522s_get_frontend()
305 stats = &c->post_bit_count; in tc90522s_get_frontend()
306 memset(stats, 0, sizeof(*stats)); in tc90522s_get_frontend()
307 stats->len = layers; in tc90522s_get_frontend()
310 stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; in tc90522s_get_frontend()
313 stats->stat[i].scale = FE_SCALE_COUNTER; in tc90522s_get_frontend()
314 stats->stat[i].uvalue = in tc90522s_get_frontend()
316 stats->stat[i].uvalue *= 204 * 8; in tc90522s_get_frontend()
343 struct dtv_fe_stats *stats; in tc90522t_get_frontend() local
408 stats = &c->strength; in tc90522t_get_frontend()
409 stats->len = 0; in tc90522t_get_frontend()
417 stats = &c->cnr; in tc90522t_get_frontend()
418 stats->len = 1; in tc90522t_get_frontend()
419 stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tc90522t_get_frontend()
446 stats->stat[0].svalue = cn >> 3; in tc90522t_get_frontend()
447 stats->stat[0].scale = FE_SCALE_DECIBEL; in tc90522t_get_frontend()
451 stats = &c->post_bit_error; in tc90522t_get_frontend()
452 memset(stats, 0, sizeof(*stats)); in tc90522t_get_frontend()
453 stats->len = layers; in tc90522t_get_frontend()
457 stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; in tc90522t_get_frontend()
460 stats->stat[i].scale = FE_SCALE_COUNTER; in tc90522t_get_frontend()
461 stats->stat[i].uvalue = val[i * 3] << 16 in tc90522t_get_frontend()
465 stats = &c->post_bit_count; in tc90522t_get_frontend()
466 memset(stats, 0, sizeof(*stats)); in tc90522t_get_frontend()
467 stats->len = layers; in tc90522t_get_frontend()
470 stats->stat[i].scale = FE_SCALE_NOT_AVAILABLE; in tc90522t_get_frontend()
473 stats->stat[i].scale = FE_SCALE_COUNTER; in tc90522t_get_frontend()
474 stats->stat[i].uvalue = in tc90522t_get_frontend()
476 stats->stat[i].uvalue *= 204 * 8; in tc90522t_get_frontend()