Home
last modified time | relevance | path

Searched refs:cpu_dev (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/sys/dev/acpica/
H A Dacpi_throttle.c58 device_t cpu_dev; member
199 sc->cpu_dev = dev; in acpi_throttle_attach()
246 if (device_get_unit(sc->cpu_dev) == 0) { in acpi_throttle_evaluate()
256 device_printf(sc->cpu_dev, in acpi_throttle_evaluate()
261 device_printf(sc->cpu_dev, in acpi_throttle_evaluate()
278 device_printf(sc->cpu_dev, "_PTC buffer too small\n"); in acpi_throttle_evaluate()
282 acpi_bus_alloc_gas(sc->cpu_dev, &sc->cpu_p_type, &thr_rid, in acpi_throttle_evaluate()
285 device_printf(sc->cpu_dev, "P_CNT from _PTC %#jx\n", in acpi_throttle_evaluate()
302 acpi_bus_alloc_gas(sc->cpu_dev, &sc->cpu_p_type, &thr_rid, in acpi_throttle_evaluate()
306 device_printf(sc->cpu_dev, in acpi_throttle_evaluate()
[all …]
H A Dacpi_cpu.c83 device_t cpu_dev; member
329 sc->cpu_dev = dev; in acpi_cpu_attach()
453 bus_generic_probe(sc->cpu_dev); in acpi_cpu_postattach()
457 bus_generic_attach(sc->cpu_dev); in acpi_cpu_postattach()
836 acpi_cpu_cx_cst_free_plvlx(sc->cpu_dev, cx_ptr); in acpi_cpu_cx_cst()
843 bus_set_resource(sc->cpu_dev, SYS_RES_IOPORT, in acpi_cpu_cx_cst()
849 bus_delete_resource(sc->cpu_dev, SYS_RES_IOPORT, in acpi_cpu_cx_cst()
851 device_printf(sc->cpu_dev, in acpi_cpu_cx_cst()
878 device_get_unit(sc->cpu_dev), i)); in acpi_cpu_cx_cst()
885 acpi_cpu_cx_cst_free_plvlx(sc->cpu_dev, cx_ptr); in acpi_cpu_cx_cst()
[all …]
/freebsd-13.1/sys/kern/
H A Dkern_cpu.c1083 device_t cf_dev, cpu_dev; in cpufreq_register() local
1097 cpu_dev = device_get_parent(dev); in cpufreq_register()
1098 if ((cf_dev = device_find_child(cpu_dev, "cpufreq", -1))) { in cpufreq_register()
1106 cf_dev = BUS_ADD_CHILD(cpu_dev, 0, "cpufreq", device_get_unit(cpu_dev)); in cpufreq_register()