Lines Matching refs:ctdp_level

930 	struct isst_pkg_ctdp_level_info ctdp_level;  in isst_print_extended_platform_info()  local
967 ret = isst_get_ctdp_control(i, j, &ctdp_level); in isst_print_extended_platform_info()
971 if (!fact_support && ctdp_level.fact_support) in isst_print_extended_platform_info()
974 if (!pbf_support && ctdp_level.pbf_support) in isst_print_extended_platform_info()
1117 struct isst_pkg_ctdp_level_info *ctdp_level; in clx_n_config() local
1120 ctdp_level = &clx_n_pkg_dev.ctdp_level[0]; in clx_n_config()
1121 pbf_info = &ctdp_level->pbf_info; in clx_n_config()
1122 ctdp_level->core_cpumask_size = in clx_n_config()
1123 alloc_cpu_set(&ctdp_level->core_cpumask); in clx_n_config()
1126 ctdp_level->tdp_ratio = clx_n_get_base_ratio(); in clx_n_config()
1127 if (ctdp_level->tdp_ratio == 0) { in clx_n_config()
1148 CPU_SET_S(i, ctdp_level->core_cpumask_size, in clx_n_config()
1149 ctdp_level->core_cpumask); in clx_n_config()
1196 ctdp_level->processed = 1; in clx_n_config()
1197 ctdp_level->pbf_support = 1; /* PBF is always supported and enabled */ in clx_n_config()
1198 ctdp_level->pbf_enabled = 1; in clx_n_config()
1199 ctdp_level->fact_support = 0; /* FACT is never supported */ in clx_n_config()
1200 ctdp_level->fact_enabled = 0; in clx_n_config()
1205 free_cpu_set(ctdp_level->core_cpumask); in clx_n_config()
1223 struct isst_pkg_ctdp_level_info *ctdp_level; in dump_clx_n_config_for_cpu() local
1226 ctdp_level = &clx_n_pkg_dev.ctdp_level[0]; in dump_clx_n_config_for_cpu()
1227 pbf_info = &ctdp_level->pbf_info; in dump_clx_n_config_for_cpu()
1230 free_cpu_set(ctdp_level->core_cpumask); in dump_clx_n_config_for_cpu()
1299 struct isst_pkg_ctdp_level_info ctdp_level; in set_tdp_level_for_cpu() local
1307 ctdp_level.core_cpumask_size = in set_tdp_level_for_cpu()
1308 alloc_cpu_set(&ctdp_level.core_cpumask); in set_tdp_level_for_cpu()
1309 ret = isst_get_coremask_info(cpu, tdp_level, &ctdp_level); in set_tdp_level_for_cpu()
1314 if (ctdp_level.cpu_count) { in set_tdp_level_for_cpu()
1319 if (CPU_ISSET_S(i, ctdp_level.core_cpumask_size, ctdp_level.core_cpumask)) { in set_tdp_level_for_cpu()
1369 struct isst_pkg_ctdp_level_info *ctdp_level; in clx_n_dump_pbf_config_for_cpu() local
1372 ctdp_level = &clx_n_pkg_dev.ctdp_level[0]; in clx_n_dump_pbf_config_for_cpu()
1373 pbf_info = &ctdp_level->pbf_info; in clx_n_dump_pbf_config_for_cpu()
1375 free_cpu_set(ctdp_level->core_cpumask); in clx_n_dump_pbf_config_for_cpu()
1507 struct isst_pkg_ctdp_level_info *ctdp_level; in set_clx_pbf_cpufreq_scaling_min_max() local
1518 ctdp_level = &clx_n_pkg_dev.ctdp_level[0]; in set_clx_pbf_cpufreq_scaling_min_max()
1519 pbf_info = &ctdp_level->pbf_info; in set_clx_pbf_cpufreq_scaling_min_max()
1729 struct isst_pkg_ctdp_level_info ctdp_level; in set_pbf_for_cpu() local
1752 ret = isst_get_ctdp_control(cpu, pkg_dev.current_level, &ctdp_level); in set_pbf_for_cpu()
1758 if (!ctdp_level.pbf_support) { in set_pbf_for_cpu()
1890 struct isst_pkg_ctdp_level_info ctdp_level; in set_fact_for_cpu() local
1907 ret = isst_get_ctdp_control(cpu, pkg_dev.current_level, &ctdp_level); in set_fact_for_cpu()
1913 if (!ctdp_level.fact_support) { in set_fact_for_cpu()