Searched refs:cpu_dev (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/xen/cpu/ |
H A D | xen_acpi_cpu.c | 65 device_t cpu_dev; member 145 device_printf(sc->cpu_dev, in xen_upload_cx() 199 device_printf(sc->cpu_dev, in xen_upload_px() 207 device_printf(sc->cpu_dev, in xen_upload_px() 237 device_printf(sc->cpu_dev, in acpi_set_pdc() 282 device_printf(sc->cpu_dev, in acpi_fetch_cx() 304 device_printf(sc->cpu_dev, in acpi_fetch_cx() 371 device_printf(sc->cpu_dev, in acpi_fetch_px() 407 device_printf(sc->cpu_dev, in acpi_fetch_px() 413 device_printf(sc->cpu_dev, in acpi_fetch_px() [all …]
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_throttle.c | 56 device_t cpu_dev; member 195 sc->cpu_dev = dev; in acpi_throttle_attach() 242 if (device_get_unit(sc->cpu_dev) == 0) { in acpi_throttle_evaluate() 252 device_printf(sc->cpu_dev, in acpi_throttle_evaluate() 257 device_printf(sc->cpu_dev, in acpi_throttle_evaluate() 274 device_printf(sc->cpu_dev, "_PTC buffer too small\n"); in acpi_throttle_evaluate() 278 acpi_bus_alloc_gas(sc->cpu_dev, &sc->cpu_p_type, &thr_rid, in acpi_throttle_evaluate() 281 device_printf(sc->cpu_dev, "P_CNT from _PTC %#jx\n", in acpi_throttle_evaluate() 298 acpi_bus_alloc_gas(sc->cpu_dev, &sc->cpu_p_type, &thr_rid, in acpi_throttle_evaluate() 302 device_printf(sc->cpu_dev, in acpi_throttle_evaluate() [all …]
|
H A D | acpi_cpu.c | 81 device_t cpu_dev; member 329 sc->cpu_dev = dev; in acpi_cpu_attach() 469 bus_generic_probe(sc->cpu_dev); in acpi_cpu_postattach() 473 bus_generic_attach(sc->cpu_dev); in acpi_cpu_postattach() 855 acpi_cpu_cx_cst_free_plvlx(sc->cpu_dev, cx_ptr); in acpi_cpu_cx_cst() 862 bus_set_resource(sc->cpu_dev, SYS_RES_IOPORT, in acpi_cpu_cx_cst() 868 bus_delete_resource(sc->cpu_dev, SYS_RES_IOPORT, in acpi_cpu_cx_cst() 870 device_printf(sc->cpu_dev, in acpi_cpu_cx_cst() 897 device_get_unit(sc->cpu_dev), i)); in acpi_cpu_cx_cst() 904 acpi_cpu_cx_cst_free_plvlx(sc->cpu_dev, cx_ptr); in acpi_cpu_cx_cst() [all …]
|
/freebsd/sys/dev/sound/fdt/ |
H A D | audio_soc.c | 68 device_t cpu_dev; member 151 return AUDIO_DAI_SET_CHANFORMAT(sc->cpu_dev, format); in audio_soc_chan_setformat() 168 if (AUDIO_DAI_SET_SYSCLK(sc->cpu_dev, rate, AUDIO_DAI_CLOCK_IN)) in audio_soc_chan_setspeed() 183 speed = AUDIO_DAI_SET_CHANSPEED(sc->cpu_dev, speed); in audio_soc_chan_setspeed() 201 return AUDIO_DAI_GET_PTR(sc->cpu_dev, ausoc_chan->dir); in audio_soc_chan_getptr() 240 return AUDIO_DAI_TRIGGER(sc->cpu_dev, go, ausoc_chan->dir); in audio_soc_chan_trigger() 268 return AUDIO_DAI_GET_CAPS(sc->cpu_dev); in audio_soc_chan_getcaps() 291 channel_intr_required = AUDIO_DAI_INTR(sc->cpu_dev, sc->play_channel.buf, sc->rec_channel.buf); in audio_soc_intr() 343 sc->cpu_dev = daidev; in audio_soc_init() 382 if (AUDIO_DAI_INIT(sc->cpu_dev, sc->format)) { in audio_soc_init() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_cpu.c | 1081 device_t cf_dev, cpu_dev; in cpufreq_register() local 1095 cpu_dev = device_get_parent(dev); in cpufreq_register() 1096 if ((cf_dev = device_find_child(cpu_dev, "cpufreq", -1))) { in cpufreq_register() 1104 cf_dev = BUS_ADD_CHILD(cpu_dev, 0, "cpufreq", device_get_unit(cpu_dev)); in cpufreq_register()
|