Home
last modified time | relevance | path

Searched refs:ot_nopp (Results 1 – 4 of 4) sorted by relevance

/openbsd/src/sys/arch/arm/arm/
Dcpu.c603 u_int ot_nopp; member
645 ot->ot_nopp = count; in cpu_opp_init_legacy()
670 ci->ci_opp_max = ot->ot_nopp - 1; in cpu_opp_init_legacy()
724 ot->ot_nopp = count; in cpu_opp_init()
758 ci->ci_opp_max = ot->ot_nopp - 1; in cpu_opp_init()
924 for (i = 0; i < ot->ot_nopp; i++) { in cpu_opp_setperf()
931 for (i = 0; i < ot->ot_nopp; i++) { in cpu_opp_setperf()
955 return ot->ot_nopp - ci->ci_opp_max - 1; in cpu_opp_get_cooling_level()
965 if (level > (ot->ot_nopp - 1)) in cpu_opp_set_cooling_level()
966 level = ot->ot_nopp - 1; in cpu_opp_set_cooling_level()
[all …]
/openbsd/src/sys/arch/riscv64/riscv64/
Dcpu.c510 u_int ot_nopp; member
564 ot->ot_nopp = count; in cpu_opp_init()
599 ci->ci_opp_max = ot->ot_nopp - 1; in cpu_opp_init()
766 for (i = 0; i < ot->ot_nopp; i++) { in cpu_opp_setperf()
773 for (i = 0; i < ot->ot_nopp; i++) { in cpu_opp_setperf()
801 return ot->ot_nopp - ci->ci_opp_max - 1; in cpu_opp_get_cooling_level()
811 if (level > (ot->ot_nopp - 1)) in cpu_opp_set_cooling_level()
812 level = ot->ot_nopp - 1; in cpu_opp_set_cooling_level()
814 opp_max = (ot->ot_nopp - level - 1); in cpu_opp_set_cooling_level()
/openbsd/src/sys/arch/arm64/dev/
Daplcpu.c57 u_int ot_nopp; member
241 ot->ot_nopp = count; in aplcpu_opp_init()
320 for (k = 0; k < ot->ot_nopp; k++) { in aplcpu_clockspeed()
381 for (k = 0; k < ot->ot_nopp; k++) { in aplcpu_setperf()
426 for (j = 0; j < ot->ot_nopp; j++) { in aplcpu_refresh_sensors()
/openbsd/src/sys/arch/arm64/arm64/
Dcpu.c1988 u_int ot_nopp; member
2042 ot->ot_nopp = count; in cpu_opp_init()
2076 ci->ci_opp_max = ot->ot_nopp - 1; in cpu_opp_init()
2246 for (i = 0; i < ot->ot_nopp; i++) { in cpu_opp_setperf()
2253 for (i = 0; i < ot->ot_nopp; i++) { in cpu_opp_setperf()
2277 return ot->ot_nopp - ci->ci_opp_max - 1; in cpu_opp_get_cooling_level()
2287 if (level > (ot->ot_nopp - 1)) in cpu_opp_set_cooling_level()
2288 level = ot->ot_nopp - 1; in cpu_opp_set_cooling_level()
2290 opp_max = (ot->ot_nopp - level - 1); in cpu_opp_set_cooling_level()