Lines Matching refs:common_attr
2392 struct drx_common_attr *common_attr = (struct drx_common_attr *) (NULL); in init_hi() local
2397 common_attr = (struct drx_common_attr *) demod->my_common_attr; in init_hi()
2410 (u16) ((common_attr->sys_clock_freq / 1000) * HI_I2C_DELAY) / 1000; in init_hi()
2418 (u16) ((common_attr->osc_clock_freq / 1000) * HI_I2C_BRIDGE_DELAY) / in init_hi()
2475 struct drx_common_attr *common_attr = (struct drx_common_attr *) (NULL); in get_device_capabilities() local
2483 common_attr = (struct drx_common_attr *) demod->my_common_attr; in get_device_capabilities()
2509 common_attr->osc_clock_freq = 27000; in get_device_capabilities()
2513 common_attr->osc_clock_freq = 20250; in get_device_capabilities()
2517 common_attr->osc_clock_freq = 4000; in get_device_capabilities()
2732 struct drx_common_attr *common_attr = (struct drx_common_attr *) (NULL); in ctrl_set_cfg_mpeg_output() local
2754 common_attr = (struct drx_common_attr *) demod->my_common_attr; in ctrl_set_cfg_mpeg_output()
2938 (u32) (common_attr->sys_clock_freq / 8))) / in ctrl_set_cfg_mpeg_output()
2973 (u32) (common_attr->sys_clock_freq / 8))) / in ctrl_set_cfg_mpeg_output()
3057 common_attr->sys_clock_freq * 1000 / (fec_oc_dto_period + in ctrl_set_cfg_mpeg_output()
3060 frac28(bit_rate, common_attr->sys_clock_freq * 1000); in ctrl_set_cfg_mpeg_output()
3344 common_attr->mpeg_cfg.enable_mpeg_output = cfg_data->enable_mpeg_output; in ctrl_set_cfg_mpeg_output()
3491 struct drx_common_attr *common_attr = (struct drx_common_attr *) NULL; in set_mpeg_start_width() local
3497 common_attr = demod->my_common_attr; in set_mpeg_start_width()
3499 if ((common_attr->mpeg_cfg.static_clk == true) in set_mpeg_start_width()
3500 && (common_attr->mpeg_cfg.enable_parallel == false)) { in set_mpeg_start_width()
4390 struct drx_common_attr *common_attr = NULL; in init_agc() local
4412 common_attr = (struct drx_common_attr *) demod->my_common_attr; in init_agc()
4719 if (common_attr->tuner_rf_agc_pol == true) in init_agc()
4723 if (common_attr->tuner_if_agc_pol == true) in init_agc()
4919 struct drx_common_attr *common_attr = NULL; in set_agc_rf() local
4924 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_agc_rf()
4974 if (common_attr->tuner_rf_agc_pol) in set_agc_rf()
5049 if (common_attr->tuner_rf_agc_pol) in set_agc_rf()
5133 struct drx_common_attr *common_attr = NULL; in set_agc_if() local
5138 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_agc_if()
5188 if (common_attr->tuner_if_agc_pol) in set_agc_if()
5269 if (common_attr->tuner_if_agc_pol) in set_agc_if()
5720 struct drx_common_attr *common_attr = NULL; in set_vsb() local
5757 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_vsb()
6116 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in set_vsb()
6373 struct drx_common_attr *common_attr = demod->my_common_attr; in power_down_qam() local
6443 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in power_down_qam()
7863 struct drx_common_attr *common_attr = NULL; in set_qam() local
8001 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_qam()
8023 adc_frequency = (common_attr->sys_clock_freq * 1000) / 3; in set_qam()
8626 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in set_qam()
11042 struct drx_common_attr *common_attr = (struct drx_common_attr *) NULL; in ctrl_power_mode() local
11048 common_attr = (struct drx_common_attr *) demod->my_common_attr; in ctrl_power_mode()
11057 if (common_attr->current_power_mode == *mode) in ctrl_power_mode()
11081 if ((common_attr->current_power_mode != DRX_POWER_UP)) { in ctrl_power_mode()
11175 common_attr->current_power_mode = *mode; in ctrl_power_mode()
11354 struct drx_common_attr *common_attr = NULL; in drxj_open() local
11375 common_attr = (struct drx_common_attr *) demod->my_common_attr; in drxj_open()
11441 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in drxj_open()
11463 if (common_attr->microcode_file != NULL) { in drxj_open()
11466 common_attr->is_opened = true; in drxj_open()
11467 ucode_info.mc_file = common_attr->microcode_file; in drxj_open()
11479 if (common_attr->verify_microcode == true) { in drxj_open()
11487 common_attr->is_opened = false; in drxj_open()
11498 common_attr->scan_demod_lock_timeout = DRXJ_SCAN_TIMEOUT; in drxj_open()
11499 common_attr->scan_desired_lock = DRX_LOCKED; in drxj_open()
11553 common_attr->is_opened = false; in drxj_open()