Lines Matching refs:cnr
326 if (c->cnr.stat[0].scale != FE_SCALE_DECIBEL) in cx24120_read_snr()
329 *snr = div_s64(c->cnr.stat[0].svalue, 100); in cx24120_read_snr()
610 int ret, cnr, msecs; in cx24120_get_stats() local
646 cnr = cx24120_readreg(state, CX24120_REG_QUALITY_H) << 8; in cx24120_get_stats()
647 cnr |= cx24120_readreg(state, CX24120_REG_QUALITY_L); in cx24120_get_stats()
648 dev_dbg(&state->i2c->dev, "read SNR index = %d\n", cnr); in cx24120_get_stats()
651 cnr = cnr * 100; in cx24120_get_stats()
653 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in cx24120_get_stats()
654 c->cnr.stat[0].svalue = cnr; in cx24120_get_stats()
656 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cx24120_get_stats()
1453 c->cnr.len = 1; in cx24120_init()
1454 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cx24120_init()