Lines Matching refs:numdevs
152 int numdevs; in cpufreq_attach() local
179 numdevs = devclass_get_count(cpufreq_dc); in cpufreq_attach()
180 if (numdevs > 1) in cpufreq_attach()
219 int numdevs; in cpufreq_detach() local
231 numdevs = devclass_get_count(cpufreq_dc); in cpufreq_detach()
232 if (numdevs == 1) { in cpufreq_detach()
432 int bdiff, count, diff, error, i, n, numdevs; in cf_get_method() local
464 error = device_get_children(device_get_parent(dev), &devs, &numdevs); in cf_get_method()
479 for (n = 0; n < numdevs && curr_set->freq == CPUFREQ_VAL_UNKNOWN; n++) { in cf_get_method()
538 int error, i, numdevs, set_count, type; in cf_levels_method() local
546 error = device_get_children(device_get_parent(dev), &devs, &numdevs); in cf_levels_method()
557 for (i = 0; i < numdevs; i++) { in cf_levels_method()