Home | History | Annotate | Download | only in kern

Lines Matching defs:cfs

334 cpufreq_get_state(uint32_t freq, struct cpufreq_state *cfs)
340 if (cf->cf_init != true || cfs == NULL) {
345 cpufreq_get_state_raw(freq, cfs);
352 cpufreq_get_state_index(uint32_t index, struct cpufreq_state *cfs)
358 if (cf->cf_init != true || cfs == NULL) {
368 memcpy(cfs, &cf->cf_state[index], sizeof(*cfs));
375 cpufreq_get_state_raw(uint32_t freq, struct cpufreq_state *cfs)
382 KASSERT(cfs != NULL);
400 memcpy(cfs, &cf->cf_state[i], sizeof(*cfs));
478 struct cpufreq_state cfs;
496 cpufreq_get_state_raw(freq, &cfs);
497 index = cfs.cfs_index + step;