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()
4381 struct drx_common_attr *common_attr = NULL; in init_agc() local
4403 common_attr = (struct drx_common_attr *) demod->my_common_attr; in init_agc()
4710 if (common_attr->tuner_rf_agc_pol == true) in init_agc()
4714 if (common_attr->tuner_if_agc_pol == true) in init_agc()
4910 struct drx_common_attr *common_attr = NULL; in set_agc_rf() local
4915 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_agc_rf()
4965 if (common_attr->tuner_rf_agc_pol) in set_agc_rf()
5040 if (common_attr->tuner_rf_agc_pol) in set_agc_rf()
5124 struct drx_common_attr *common_attr = NULL; in set_agc_if() local
5129 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_agc_if()
5179 if (common_attr->tuner_if_agc_pol) in set_agc_if()
5260 if (common_attr->tuner_if_agc_pol) in set_agc_if()
5711 struct drx_common_attr *common_attr = NULL; in set_vsb() local
5748 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_vsb()
6107 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in set_vsb()
6364 struct drx_common_attr *common_attr = demod->my_common_attr; in power_down_qam() local
6434 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in power_down_qam()
7854 struct drx_common_attr *common_attr = NULL; in set_qam() local
7992 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_qam()
8014 adc_frequency = (common_attr->sys_clock_freq * 1000) / 3; in set_qam()
8617 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in set_qam()
11033 struct drx_common_attr *common_attr = (struct drx_common_attr *) NULL; in ctrl_power_mode() local
11039 common_attr = (struct drx_common_attr *) demod->my_common_attr; in ctrl_power_mode()
11048 if (common_attr->current_power_mode == *mode) in ctrl_power_mode()
11072 if ((common_attr->current_power_mode != DRX_POWER_UP)) { in ctrl_power_mode()
11166 common_attr->current_power_mode = *mode; in ctrl_power_mode()
11345 struct drx_common_attr *common_attr = NULL; in drxj_open() local
11366 common_attr = (struct drx_common_attr *) demod->my_common_attr; in drxj_open()
11432 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in drxj_open()
11454 if (common_attr->microcode_file != NULL) { in drxj_open()
11457 common_attr->is_opened = true; in drxj_open()
11458 ucode_info.mc_file = common_attr->microcode_file; in drxj_open()
11470 if (common_attr->verify_microcode == true) { in drxj_open()
11478 common_attr->is_opened = false; in drxj_open()
11489 common_attr->scan_demod_lock_timeout = DRXJ_SCAN_TIMEOUT; in drxj_open()
11490 common_attr->scan_desired_lock = DRX_LOCKED; in drxj_open()
11544 common_attr->is_opened = false; in drxj_open()