Lines Matching refs:common_attr

2391 	struct drx_common_attr *common_attr = (struct drx_common_attr *) (NULL);  in init_hi()  local
2396 common_attr = (struct drx_common_attr *) demod->my_common_attr; in init_hi()
2409 (u16) ((common_attr->sys_clock_freq / 1000) * HI_I2C_DELAY) / 1000; in init_hi()
2417 (u16) ((common_attr->osc_clock_freq / 1000) * HI_I2C_BRIDGE_DELAY) / in init_hi()
2474 struct drx_common_attr *common_attr = (struct drx_common_attr *) (NULL); in get_device_capabilities() local
2482 common_attr = (struct drx_common_attr *) demod->my_common_attr; in get_device_capabilities()
2508 common_attr->osc_clock_freq = 27000; in get_device_capabilities()
2512 common_attr->osc_clock_freq = 20250; in get_device_capabilities()
2516 common_attr->osc_clock_freq = 4000; in get_device_capabilities()
2731 struct drx_common_attr *common_attr = (struct drx_common_attr *) (NULL); in ctrl_set_cfg_mpeg_output() local
2753 common_attr = (struct drx_common_attr *) demod->my_common_attr; in ctrl_set_cfg_mpeg_output()
2937 (u32) (common_attr->sys_clock_freq / 8))) / in ctrl_set_cfg_mpeg_output()
2972 (u32) (common_attr->sys_clock_freq / 8))) / in ctrl_set_cfg_mpeg_output()
3056 common_attr->sys_clock_freq * 1000 / (fec_oc_dto_period + in ctrl_set_cfg_mpeg_output()
3059 frac28(bit_rate, common_attr->sys_clock_freq * 1000); in ctrl_set_cfg_mpeg_output()
3343 common_attr->mpeg_cfg.enable_mpeg_output = cfg_data->enable_mpeg_output; in ctrl_set_cfg_mpeg_output()
3490 struct drx_common_attr *common_attr = (struct drx_common_attr *) NULL; in set_mpeg_start_width() local
3496 common_attr = demod->my_common_attr; in set_mpeg_start_width()
3498 if ((common_attr->mpeg_cfg.static_clk == true) in set_mpeg_start_width()
3499 && (common_attr->mpeg_cfg.enable_parallel == false)) { in set_mpeg_start_width()
4386 struct drx_common_attr *common_attr = NULL; in init_agc() local
4408 common_attr = (struct drx_common_attr *) demod->my_common_attr; in init_agc()
4715 if (common_attr->tuner_rf_agc_pol == true) in init_agc()
4719 if (common_attr->tuner_if_agc_pol == true) in init_agc()
4915 struct drx_common_attr *common_attr = NULL; in set_agc_rf() local
4920 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_agc_rf()
4970 if (common_attr->tuner_rf_agc_pol) in set_agc_rf()
5045 if (common_attr->tuner_rf_agc_pol) in set_agc_rf()
5129 struct drx_common_attr *common_attr = NULL; in set_agc_if() local
5134 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_agc_if()
5184 if (common_attr->tuner_if_agc_pol) in set_agc_if()
5265 if (common_attr->tuner_if_agc_pol) in set_agc_if()
5716 struct drx_common_attr *common_attr = NULL; in set_vsb() local
5753 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_vsb()
6112 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in set_vsb()
6369 struct drx_common_attr *common_attr = demod->my_common_attr; in power_down_qam() local
6439 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in power_down_qam()
7859 struct drx_common_attr *common_attr = NULL; in set_qam() local
7997 common_attr = (struct drx_common_attr *) demod->my_common_attr; in set_qam()
8019 adc_frequency = (common_attr->sys_clock_freq * 1000) / 3; in set_qam()
8622 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in set_qam()
11037 struct drx_common_attr *common_attr = (struct drx_common_attr *) NULL; in ctrl_power_mode() local
11043 common_attr = (struct drx_common_attr *) demod->my_common_attr; in ctrl_power_mode()
11052 if (common_attr->current_power_mode == *mode) in ctrl_power_mode()
11075 if ((common_attr->current_power_mode != DRX_POWER_UP)) { in ctrl_power_mode()
11169 common_attr->current_power_mode = *mode; in ctrl_power_mode()
11348 struct drx_common_attr *common_attr = NULL; in drxj_open() local
11369 common_attr = (struct drx_common_attr *) demod->my_common_attr; in drxj_open()
11435 memcpy(&cfg_mpeg_output, &common_attr->mpeg_cfg, sizeof(cfg_mpeg_output)); in drxj_open()
11457 if (common_attr->microcode_file != NULL) { in drxj_open()
11460 common_attr->is_opened = true; in drxj_open()
11461 ucode_info.mc_file = common_attr->microcode_file; in drxj_open()
11473 if (common_attr->verify_microcode == true) { in drxj_open()
11481 common_attr->is_opened = false; in drxj_open()
11492 common_attr->scan_demod_lock_timeout = DRXJ_SCAN_TIMEOUT; in drxj_open()
11493 common_attr->scan_desired_lock = DRX_LOCKED; in drxj_open()
11547 common_attr->is_opened = false; in drxj_open()