Lines Matching refs:clk_data
559 if (inst->clk_data.core_id == core_id &&
587 vpp_freq = inst_pos->clk_data.vpp_freq;
589 vpp_freq = low_power ? inst_pos->clk_data.low_power_freq :
590 inst_pos->clk_data.vpp_freq;
594 coreid = inst_pos->clk_data.core_id;
640 if (inst->clk_data.core_id != VIDC_CORE_ID_DEFAULT)
644 cur_inst_load *= inst->clk_data.vpp_freq;
648 cur_inst_lp_load *= inst->clk_data.low_power_freq;
657 inst->clk_data.core_id = min_coreid;
661 inst->clk_data.core_id = min_coreid;
666 inst->clk_data.core_id = min_lp_coreid;
692 if (inst->clk_data.core_id & VIDC_CORE_ID_1) {
699 if (inst->clk_data.core_id & VIDC_CORE_ID_2) {
718 if (inst->clk_data.core_id & VIDC_CORE_ID_1) {
725 if (inst->clk_data.core_id & VIDC_CORE_ID_2) {
737 inst->clk_data.core_id = VIDC_CORE_ID_DEFAULT;
1073 inst->clk_data.low_power_freq :
1074 inst->clk_data.vpp_freq;
1078 vpp_freq = mbs_per_sec * inst->clk_data.vpp_freq;
1083 vsp_freq = mbs_per_sec * inst->clk_data.vsp_freq;
1111 inst->clk_data.freq = freq;
1115 if (inst->clk_data.core_id == VIDC_CORE_ID_1) {
1116 freq_core1 += inst->clk_data.freq;
1117 } else if (inst->clk_data.core_id == VIDC_CORE_ID_2) {
1118 freq_core2 += inst->clk_data.freq;
1119 } else if (inst->clk_data.core_id == VIDC_CORE_ID_3) {
1120 freq_core1 += inst->clk_data.freq;
1121 freq_core2 += inst->clk_data.freq;