Home
last modified time | relevance | path

Searched refs:sc_pstate_count (Results 1 – 6 of 6) sorted by relevance

/netbsd/sys/dev/acpi/
H A Dacpi_cpu_pstate.c167 size = sc->sc_pstate_count * sizeof(*sc->sc_pstate); in acpicpu_pstate_detach()
255 sc->sc_pstate_count = obj->Package.Count; in acpicpu_pstate_pss()
257 if (sc->sc_pstate_count == 0) { in acpicpu_pstate_pss()
262 if (sc->sc_pstate_count > ACPICPU_P_STATE_MAX) { in acpicpu_pstate_pss()
267 sc->sc_pstate = kmem_zalloc(sc->sc_pstate_count * in acpicpu_pstate_pss()
275 for (count = i = 0; i < sc->sc_pstate_count; i++) { in acpicpu_pstate_pss()
377 if (obj->Package.Count != sc->sc_pstate_count) { in acpicpu_pstate_xpss()
382 while (i < sc->sc_pstate_count) { in acpicpu_pstate_xpss()
594 for (i = 0; i < sc->sc_pstate_count; i++) { in acpicpu_pstate_pct()
791 sc->sc_pstate_min = sc->sc_pstate_count - 1; in acpicpu_pstate_reset()
[all …]
H A Dacpi_cpu.c311 cf.cf_state_count = sc->sc_pstate_count; in acpicpu_start()
315 for (i = 0; i < sc->sc_pstate_count; i++) { in acpicpu_start()
669 for (i = 0; i < sc->sc_pstate_count; i++) { in acpicpu_evcnt_attach()
715 for (i = 0; i < sc->sc_pstate_count; i++) { in acpicpu_evcnt_detach()
762 for (i = 0; i < sc->sc_pstate_count; i++) { in acpicpu_debug_print()
H A Dacpi_cpu.h212 uint32_t sc_pstate_count; member
H A Dacpi_cpu_tstate.c188 for (i = sc->sc_pstate_count - 1; i >= 0; i--) { in acpicpu_tstate_callback()
/netbsd/sys/arch/x86/acpi/
H A Dacpi_cpu_md.c514 if (sc->sc_pstate_count >= 2 && in acpicpu_md_pstate_init()
576 while (i < sc->sc_pstate_count) { in acpicpu_md_pstate_init()
692 for (i = 0; i < sc->sc_pstate_count; i++) { in acpicpu_md_pstate_get()
714 for (i = 0; i < sc->sc_pstate_count; i++) { in acpicpu_md_pstate_get()
733 KASSERT(sc->sc_pstate_count > 0); in acpicpu_md_pstate_get()
790 for (i = 0; i < sc->sc_pstate_count; i++) { in acpicpu_md_pstate_fidvid_get()
1129 for (len = 0, i = sc->sc_pstate_max; i < sc->sc_pstate_count; i++) { in acpicpu_md_pstate_sysctl_all()
1138 i < (sc->sc_pstate_count - 1) ? " " : ""); in acpicpu_md_pstate_sysctl_all()
/netbsd/sys/arch/arm/acpi/
H A Dacpi_cpu_md.c211 for (len = 0, i = sc->sc_pstate_max; i < sc->sc_pstate_count; i++) { in acpicpu_md_pstate_sysctl_available()
218 i < (sc->sc_pstate_count - 1) ? " " : ""); in acpicpu_md_pstate_sysctl_available()