Lines Matching full:cpufreq
90 #define CF_MTX_INIT(x) sx_init((x), "cpufreq lock")
97 printf("cpufreq: " msg); \
131 "cpufreq", cpufreq_methods, sizeof(struct cpufreq_softc)
134 DRIVER_MODULE(cpufreq, cpu, cpufreq_driver, 0, 0);
138 static SYSCTL_NODE(_debug, OID_AUTO, cpufreq, CTLFLAG_RD | CTLFLAG_MPSAFE, NULL,
139 "cpufreq debugging");
455 * Used by the cpufreq core, this function will populate *level with the current
514 printf("cpufreq: need to increase CF_MAX_LEVELS\n"); in cf_get_method()
572 * Either directly obtain settings from the cpufreq driver, or build a list of
833 ("cpufreq: too many relative drivers (%d)", in cpufreq_expand_set()
966 error = devclass_get_devices(devclass_find("cpufreq"), &devs, &devcount); in cpufreq_curr_sysctl()
975 "cpufreq: need to increase CF_MAX_LEVELS\n"); in cpufreq_curr_sysctl()
1018 printf("cpufreq: need to increase CF_MAX_LEVELS\n"); in cpufreq_levels_sysctl()
1082 "cpufreq driver used by this cpu"); in cpufreq_add_freq_driver_sysctl()
1100 * Add only one cpufreq device to each CPU. Currently, all CPUs in cpufreq_register()
1104 if ((cf_dev = device_find_child(cpu_dev, "cpufreq", -1))) { in cpufreq_register()
1112 cf_dev = BUS_ADD_CHILD(cpu_dev, 0, "cpufreq", device_get_unit(cpu_dev)); in cpufreq_register()
1134 * If this is the last cpufreq child device, remove the control in cpufreq_unregister()
1135 * device as well. We identify cpufreq children by calling a method in cpufreq_unregister()
1138 cf_dev = device_find_child(device_get_parent(dev), "cpufreq", -1); in cpufreq_unregister()
1141 "warning: cpufreq_unregister called with no cpufreq device active\n"); in cpufreq_unregister()