Searched refs:cf_dev (Results 1 – 3 of 3) sorted by relevance
576 sc = device_get_softc(cf_dev); in cpufreq_add_levels()1070 sc = device_get_softc(cf_dev); in cpufreq_add_freq_driver_sysctl()1081 device_t cf_dev, cpu_dev; in cpufreq_register() local1097 sc = device_get_softc(cf_dev); in cpufreq_register()1105 if (cf_dev == NULL) in cpufreq_register()1107 device_quiet(cf_dev); in cpufreq_register()1113 sc = device_get_softc(cf_dev); in cpufreq_register()1122 device_t cf_dev; in cpufreq_unregister() local1131 if (cf_dev == NULL) { in cpufreq_unregister()1136 sc = device_get_softc(cf_dev); in cpufreq_unregister()[all …]
509 device_t cf_dev; in aw_thermal_throttle() local517 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()
823 device_t cf_dev; in tsc_levels_changed() local833 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()