Searched refs:cf_dev (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/kern/ |
H A D | kern_cpu.c | 576 cpufreq_add_levels(device_t cf_dev, struct cf_setting_lst *rel_sets) in cpufreq_add_levels() argument 584 sc = device_get_softc(cf_dev); in cpufreq_add_levels() 588 if (!device_is_attached(cf_dev)) in cpufreq_add_levels() 599 device_get_nameunit(cf_dev)); in cpufreq_add_levels() 1074 cpufreq_add_freq_driver_sysctl(device_t cf_dev) in cpufreq_add_freq_driver_sysctl() argument 1078 sc = device_get_softc(cf_dev); in cpufreq_add_freq_driver_sysctl() 1080 SYSCTL_CHILDREN(device_get_sysctl_tree(cf_dev)), OID_AUTO, in cpufreq_add_freq_driver_sysctl() 1089 device_t cf_dev, cpu_dev; in cpufreq_register() local 1104 if ((cf_dev = device_find_child(cpu_dev, "cpufreq", -1))) { in cpufreq_register() 1105 sc = device_get_softc(cf_dev); in cpufreq_register() [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_thermal.c | 509 device_t cf_dev; in aw_thermal_throttle() local 517 cf_dev = devclass_get_device(devclass_find("cpufreq"), 0); in aw_thermal_throttle() 518 if (cf_dev == NULL) in aw_thermal_throttle() 521 error = CPUFREQ_LEVELS(cf_dev, sc->levels, &count); in aw_thermal_throttle() 525 error = CPUFREQ_SET(cf_dev, &sc->levels[count - 1], in aw_thermal_throttle()
|
/freebsd/sys/x86/x86/ |
H A D | tsc.c | 823 device_t cf_dev; in tsc_levels_changed() local 833 cf_dev = devclass_get_device(devclass_find("cpufreq"), unit); in tsc_levels_changed() 834 if (cf_dev == NULL) { in tsc_levels_changed() 844 error = CPUFREQ_LEVELS(cf_dev, levels, &count); in tsc_levels_changed()
|