Lines Matching +full:7 +full:c
5 * Copyright (C) 2012 Thomas Mair <thomas.mair86@gmail.com>
6 * Copyright (C) 2012-2014 Antti Palosaari <crope@iki.fi>
18 [DVBT_EN_BK_TRK] = {0x1a6, 7, 7},
19 [DVBT_AD_EN_REG] = {0x008, 7, 7},
22 [DVBT_MGD_THD0] = {0x195, 7, 0},
23 [DVBT_MGD_THD1] = {0x196, 7, 0},
24 [DVBT_MGD_THD2] = {0x197, 7, 0},
25 [DVBT_MGD_THD3] = {0x198, 7, 0},
26 [DVBT_MGD_THD4] = {0x199, 7, 0},
27 [DVBT_MGD_THD5] = {0x19a, 7, 0},
28 [DVBT_MGD_THD6] = {0x19b, 7, 0},
29 [DVBT_MGD_THD7] = {0x19c, 7, 0},
34 [DVBT_SCALE1_B92] = {0x292, 7, 0},
35 [DVBT_SCALE1_B93] = {0x293, 7, 0},
36 [DVBT_SCALE1_BA7] = {0x2a7, 7, 0},
37 [DVBT_SCALE1_BA9] = {0x2a9, 7, 0},
38 [DVBT_SCALE1_BAA] = {0x2aa, 7, 0},
39 [DVBT_SCALE1_BAB] = {0x2ab, 7, 0},
40 [DVBT_SCALE1_BAC] = {0x2ac, 7, 0},
41 [DVBT_SCALE1_BB0] = {0x2b0, 7, 0},
42 [DVBT_SCALE1_BB1] = {0x2b1, 7, 0},
55 [DVBT_CR_THD_SET2] = {0x176, 7, 6},
71 [DVBT_DAGC_VAL] = {0x305, 7, 0},
78 [DVBT_EN_IF_AGC] = {0x104, 7, 7},
79 [DVBT_IF_AGC_MIN] = {0x108, 7, 0},
80 [DVBT_IF_AGC_MAX] = {0x109, 7, 0},
81 [DVBT_RF_AGC_MIN] = {0x10a, 7, 0},
82 [DVBT_RF_AGC_MAX] = {0x10b, 7, 0},
87 [DVBT_DAGC_TRG_VAL] = {0x112, 7, 0},
89 [DVBT_AGC_TARG_VAL_8_1] = {0x103, 7, 0},
92 [DVBT_LOOP_GAIN2_4] = {0x105, 7, 7},
97 [DVBT_KRF1] = {0x1cb, 7, 0},
98 [DVBT_KRF2] = {0x107, 7, 0},
99 [DVBT_KRF3] = {0x1cd, 7, 0},
100 [DVBT_KRF4] = {0x1ce, 7, 0},
104 [DVBT_THD_UP1] = {0x1dd, 7, 0},
105 [DVBT_THD_DW1] = {0x1de, 7, 0},
111 [DVBT_SYNC_DUR] = {0x17b, 7, 7},
119 [DVBT_CDIV_PH1] = {0x17d, 7, 4},
120 [DVBT_MPEG_IO_OPT_2_2] = {0x006, 7, 7},
121 [DVBT_MPEG_IO_OPT_1_0] = {0x007, 7, 6},
138 [DVBT_REG_GPE] = {0x00d, 7, 7},
249 struct dtv_frontend_properties *c = &dev->fe.dtv_property_cache; in rtl2832_init() local
353 c->strength.len = 1; in rtl2832_init()
354 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init()
355 c->cnr.len = 1; in rtl2832_init()
356 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init()
357 c->post_bit_error.len = 1; in rtl2832_init()
358 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init()
359 c->post_bit_count.len = 1; in rtl2832_init()
360 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_init()
407 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in rtl2832_set_frontend() local
420 /* 7 MHz bandwidth */ in rtl2832_set_frontend()
438 c->frequency, c->bandwidth_hz, c->inversion); in rtl2832_set_frontend()
457 switch (c->bandwidth_hz) { in rtl2832_set_frontend()
472 c->bandwidth_hz); in rtl2832_set_frontend()
485 * RSAMP_RATIO = floor(CrystalFreqHz * 7 * pow(2, 22) in rtl2832_set_frontend()
488 num = dev->pdata->clk * 7ULL; in rtl2832_set_frontend()
498 * / (CrystalFreqHz * 7)) in rtl2832_set_frontend()
501 num2 = dev->pdata->clk * 7ULL; in rtl2832_set_frontend()
525 struct dtv_frontend_properties *c) in rtl2832_get_frontend() argument
547 c->modulation = QPSK; in rtl2832_get_frontend()
550 c->modulation = QAM_16; in rtl2832_get_frontend()
553 c->modulation = QAM_64; in rtl2832_get_frontend()
559 c->transmission_mode = TRANSMISSION_MODE_2K; in rtl2832_get_frontend()
562 c->transmission_mode = TRANSMISSION_MODE_8K; in rtl2832_get_frontend()
567 c->guard_interval = GUARD_INTERVAL_1_32; in rtl2832_get_frontend()
570 c->guard_interval = GUARD_INTERVAL_1_16; in rtl2832_get_frontend()
573 c->guard_interval = GUARD_INTERVAL_1_8; in rtl2832_get_frontend()
576 c->guard_interval = GUARD_INTERVAL_1_4; in rtl2832_get_frontend()
580 switch ((buf[0] >> 4) & 7) { in rtl2832_get_frontend()
582 c->hierarchy = HIERARCHY_NONE; in rtl2832_get_frontend()
585 c->hierarchy = HIERARCHY_1; in rtl2832_get_frontend()
588 c->hierarchy = HIERARCHY_2; in rtl2832_get_frontend()
591 c->hierarchy = HIERARCHY_4; in rtl2832_get_frontend()
595 switch ((buf[1] >> 3) & 7) { in rtl2832_get_frontend()
597 c->code_rate_HP = FEC_1_2; in rtl2832_get_frontend()
600 c->code_rate_HP = FEC_2_3; in rtl2832_get_frontend()
603 c->code_rate_HP = FEC_3_4; in rtl2832_get_frontend()
606 c->code_rate_HP = FEC_5_6; in rtl2832_get_frontend()
609 c->code_rate_HP = FEC_7_8; in rtl2832_get_frontend()
613 switch ((buf[1] >> 0) & 7) { in rtl2832_get_frontend()
615 c->code_rate_LP = FEC_1_2; in rtl2832_get_frontend()
618 c->code_rate_LP = FEC_2_3; in rtl2832_get_frontend()
621 c->code_rate_LP = FEC_3_4; in rtl2832_get_frontend()
624 c->code_rate_LP = FEC_5_6; in rtl2832_get_frontend()
627 c->code_rate_LP = FEC_7_8; in rtl2832_get_frontend()
641 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in rtl2832_read_status() local
679 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in rtl2832_read_status()
680 c->strength.stat[0].uvalue = u16tmp; in rtl2832_read_status()
682 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_read_status()
721 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in rtl2832_read_status()
722 c->cnr.stat[0].svalue = tmp; in rtl2832_read_status()
724 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_read_status()
739 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in rtl2832_read_status()
740 c->post_bit_error.stat[0].uvalue = dev->post_bit_error; in rtl2832_read_status()
741 c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER; in rtl2832_read_status()
742 c->post_bit_count.stat[0].uvalue = dev->post_bit_count; in rtl2832_read_status()
744 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_read_status()
745 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2832_read_status()
756 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in rtl2832_read_snr() local
759 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) in rtl2832_read_snr()
760 *snr = div_s64(c->cnr.stat[0].svalue, 100); in rtl2832_read_snr()