Home
last modified time | relevance | path

Searched refs:cpu_cx_states (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/xen/cpu/
H A Dxen_acpi_cpu.c68 struct xen_processor_cx *cpu_cx_states; member
141 set_xen_guest_handle(op.u.set_pminfo.u.power.states, sc->cpu_cx_states); in xen_upload_cx()
288 sc->cpu_cx_states = mallocarray(count, sizeof(struct xen_processor_cx), in acpi_fetch_cx()
297 &sc->cpu_cx_states[sc->cpu_cx_count]; in acpi_fetch_cx()
322 free(sc->cpu_cx_states, M_XENACPI); in acpi_fetch_cx()
323 sc->cpu_cx_states = NULL; in acpi_fetch_cx()
475 free(sc->cpu_cx_states, M_XENACPI); in acpi_notify()
476 sc->cpu_cx_states = NULL; in acpi_notify()
610 free(sc->cpu_cx_states, M_XENACPI); in xen_acpi_cpu_attach()
611 sc->cpu_cx_states = NULL; in xen_acpi_cpu_attach()
/freebsd/sys/dev/acpica/
H A Dacpi_cpu.c87 struct acpi_cx cpu_cx_states[MAX_CX_STATES]; member
704 cx_ptr = sc->cpu_cx_states; in acpi_cpu_generic_cx_probe()
832 cx_ptr = sc->cpu_cx_states; in acpi_cpu_cx_cst()
883 if (sc->cpu_cx_states[0].type == ACPI_STATE_C0) { in acpi_cpu_cx_cst()
885 sc->cpu_cx_states[0] = *cx_ptr; in acpi_cpu_cx_cst()
942 cx_ptr = sc->cpu_cx_states; in acpi_cpu_cx_cst()
1027 sbuf_printf(&sb, "C%d/%d/%d ", i + 1, sc->cpu_cx_states[i].type, in acpi_cpu_cx_list()
1028 sc->cpu_cx_states[i].trans_lat); in acpi_cpu_cx_list()
1119 if (sc->cpu_cx_states[i].trans_lat * 3 <= us) { in acpi_cpu_idle()
1131 cx_next = &sc->cpu_cx_states[cx_next_idx]; in acpi_cpu_idle()
[all …]