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()
4387 struct drx_common_attr *common_attr = NULL; in init_agc() local
4409 common_attr = (struct drx_common_attr *) demod->my_common_attr; in init_agc()
4716 if (common_attr->tuner_rf_agc_pol == true) in init_agc()
4720 if (common_attr->tuner_if_agc_pol == true) in init_agc()
4916 struct drx_common_attr *common_attr = NULL; in set_agc_rf() local
4921 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_agc_rf()
4971 if (common_attr->tuner_rf_agc_pol) in set_agc_rf()
5046 if (common_attr->tuner_rf_agc_pol) in set_agc_rf()
5130 struct drx_common_attr *common_attr = NULL; in set_agc_if() local
5135 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_agc_if()
5185 if (common_attr->tuner_if_agc_pol) in set_agc_if()
5266 if (common_attr->tuner_if_agc_pol) in set_agc_if()
5717 struct drx_common_attr *common_attr = NULL; in set_vsb() local
5754 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_vsb()
6113 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in set_vsb()
6370 struct drx_common_attr *common_attr = demod->my_common_attr; in power_down_qam() local
6440 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in power_down_qam()
7860 struct drx_common_attr *common_attr = NULL; in set_qam() local
7998 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_qam()
8020 adc_frequency = (common_attr->sys_clock_freq * 1000) / 3; in set_qam()
8623 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in set_qam()
11040 struct drx_common_attr *common_attr = (struct drx_common_attr *) NULL; in ctrl_power_mode() local
11046 common_attr = (struct drx_common_attr *) demod->my_common_attr; in ctrl_power_mode()
11055 if (common_attr->current_power_mode == *mode) in ctrl_power_mode()
11078 if ((common_attr->current_power_mode != DRX_POWER_UP)) { in ctrl_power_mode()
11172 common_attr->current_power_mode = *mode; in ctrl_power_mode()
11351 struct drx_common_attr *common_attr = NULL; in drxj_open() local
11372 common_attr = (struct drx_common_attr *) demod->my_common_attr; in drxj_open()
11438 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in drxj_open()
11460 if (common_attr->microcode_file != NULL) { in drxj_open()
11463 common_attr->is_opened = true; in drxj_open()
11464 ucode_info.mc_file = common_attr->microcode_file; in drxj_open()
11477 if (common_attr->verify_microcode == true) { in drxj_open()
11485 common_attr->is_opened = false; in drxj_open()
11496 common_attr->scan_demod_lock_timeout = DRXJ_SCAN_TIMEOUT; in drxj_open()
11497 common_attr->scan_desired_lock = DRX_LOCKED; in drxj_open()
11551 common_attr->is_opened = false; in drxj_open()