Lines Matching refs:clos_config
988 int isst_pm_get_clos(int cpu, int clos, struct isst_clos_config *clos_config) in isst_pm_get_clos() argument
998 clos_config->pkg_id = get_physical_package_id(cpu); in isst_pm_get_clos()
999 clos_config->die_id = get_physical_die_id(cpu); in isst_pm_get_clos()
1001 clos_config->epp = resp & 0x0f; in isst_pm_get_clos()
1002 clos_config->clos_prop_prio = (resp >> 4) & 0x0f; in isst_pm_get_clos()
1003 clos_config->clos_min = (resp >> 8) & 0xff; in isst_pm_get_clos()
1004 clos_config->clos_max = (resp >> 16) & 0xff; in isst_pm_get_clos()
1005 clos_config->clos_desired = (resp >> 24) & 0xff; in isst_pm_get_clos()
1010 int isst_set_clos(int cpu, int clos, struct isst_clos_config *clos_config) in isst_set_clos() argument
1016 req = clos_config->epp & 0x0f; in isst_set_clos()
1017 req |= (clos_config->clos_prop_prio & 0x0f) << 4; in isst_set_clos()
1018 req |= (clos_config->clos_min & 0xff) << 8; in isst_set_clos()
1019 req |= (clos_config->clos_max & 0xff) << 16; in isst_set_clos()
1020 req |= (clos_config->clos_desired & 0xff) << 24; in isst_set_clos()