Lines Matching refs:set_arr
112 struct cf_setting_array *set_arr);
578 struct cf_setting_array *set_arr; in cpufreq_add_levels() local
620 set_arr = malloc(sizeof(*set_arr), M_TEMP, M_NOWAIT); in cpufreq_add_levels()
621 if (set_arr == NULL) { in cpufreq_add_levels()
625 bcopy(sets, set_arr->sets, set_count * sizeof(*sets)); in cpufreq_add_levels()
626 set_arr->count = set_count; in cpufreq_add_levels()
627 TAILQ_INSERT_TAIL(rel_sets, set_arr, link); in cpufreq_add_levels()
641 struct cf_setting_array *set_arr; in cf_levels_method() local
691 TAILQ_FOREACH(set_arr, &rel_sets, link) in cf_levels_method()
692 cpufreq_expand_set(sc, set_arr); in cf_levels_method()
725 while ((set_arr = TAILQ_FIRST(&rel_sets)) != NULL) { in cf_levels_method()
726 TAILQ_REMOVE(&rel_sets, set_arr, link); in cf_levels_method()
727 free(set_arr, M_TEMP); in cf_levels_method()
791 cpufreq_expand_set(struct cpufreq_softc *sc, struct cf_setting_array *set_arr) in cpufreq_expand_set() argument
809 for (i = 0; i < set_arr->count; i++) { in cpufreq_expand_set()
810 set = &set_arr->sets[i]; in cpufreq_expand_set()