Home
last modified time | relevance | path

Searched refs:cf_setting (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/sys/x86/cpufreq/
H A Dp4tcc.c79 static int p4tcc_settings(device_t dev, struct cf_setting *sets,
81 static int p4tcc_set(device_t dev, const struct cf_setting *set);
82 static int p4tcc_get(device_t dev, struct cf_setting *set);
158 struct cf_setting set; in p4tcc_attach()
222 struct cf_setting set; in p4tcc_detach()
238 p4tcc_settings(device_t dev, struct cf_setting *sets, int *count) in p4tcc_settings()
262 p4tcc_set(device_t dev, const struct cf_setting *set) in p4tcc_set()
309 p4tcc_get(device_t dev, struct cf_setting *set) in p4tcc_get()
H A Dsmist.c75 struct cf_setting sets[2]; /* Only two settings. */
84 static int smist_settings(device_t dev, struct cf_setting *sets,
86 static int smist_set(device_t dev, const struct cf_setting *set);
87 static int smist_get(device_t dev, struct cf_setting *set);
414 smist_settings(device_t dev, struct cf_setting *sets, int *count) in smist_settings()
417 struct cf_setting set; in smist_settings()
448 smist_set(device_t dev, const struct cf_setting *set) in smist_set()
483 smist_get(device_t dev, struct cf_setting *set) in smist_get()
H A Dhwpstate.c116 static int hwpstate_set(device_t dev, const struct cf_setting *cf);
117 static int hwpstate_get(device_t dev, struct cf_setting *cf);
118 static int hwpstate_settings(device_t dev, struct cf_setting *sets, int *count);
233 hwpstate_set(device_t dev, const struct cf_setting *cf) in hwpstate_set()
253 hwpstate_get(device_t dev, struct cf_setting *cf) in hwpstate_get()
276 hwpstate_settings(device_t dev, struct cf_setting *sets, int *count) in hwpstate_settings()
475 struct cf_setting *perf_set; in hwpstate_get_info_from_acpi_perf()
H A Dpowernow.c247 static int pn_set(device_t dev, const struct cf_setting *cf);
248 static int pn_get(device_t dev, struct cf_setting *cf);
249 static int pn_settings(device_t dev, struct cf_setting *sets,
444 pn_set(device_t dev, const struct cf_setting *cf) in pn_set()
480 pn_get(device_t dev, struct cf_setting *cf) in pn_get()
525 pn_settings(device_t dev, struct cf_setting *sets, int *count) in pn_settings()
773 struct cf_setting sets[POWERNOW_MAX_STATES]; in pn_decode_acpi()
H A Dest.c867 static int est_settings(device_t dev, struct cf_setting *sets, int *count);
868 static int est_set(device_t dev, const struct cf_setting *set);
869 static int est_get(device_t dev, struct cf_setting *set);
1054 struct cf_setting *sets; in est_acpi_info()
1285 est_settings(device_t dev, struct cf_setting *sets, int *count) in est_settings()
1309 est_set(device_t dev, const struct cf_setting *set) in est_set()
1330 est_get(device_t dev, struct cf_setting *set) in est_get()
/freebsd-12.1/sys/powerpc/cpufreq/
H A Ddfs.c49 static int dfs_settings(device_t dev, struct cf_setting *sets, int *count);
50 static int dfs_set(device_t dev, const struct cf_setting *set);
51 static int dfs_get(device_t dev, struct cf_setting *set);
143 dfs_settings(device_t dev, struct cf_setting *sets, int *count) in dfs_settings()
170 dfs_set(device_t dev, const struct cf_setting *set) in dfs_set()
198 dfs_get(device_t dev, struct cf_setting *set) in dfs_get()
H A Dpmufreq.c57 static int pmufreq_settings(device_t dev, struct cf_setting *sets, int *count);
58 static int pmufreq_set(device_t dev, const struct cf_setting *set);
59 static int pmufreq_get(device_t dev, struct cf_setting *set);
152 pmufreq_settings(device_t dev, struct cf_setting *sets, int *count) in pmufreq_settings()
176 pmufreq_set(device_t dev, const struct cf_setting *set) in pmufreq_set()
199 pmufreq_get(device_t dev, struct cf_setting *set) in pmufreq_get()
H A Dpmcr.c89 static int pmcr_settings(device_t dev, struct cf_setting *sets, int *count);
90 static int pmcr_set(device_t dev, const struct cf_setting *set);
91 static int pmcr_get(device_t dev, struct cf_setting *set);
160 pmcr_settings(device_t dev, struct cf_setting *sets, int *count) in pmcr_settings()
185 pmcr_set(device_t dev, const struct cf_setting *set) in pmcr_set()
208 pmcr_get(device_t dev, struct cf_setting *set) in pmcr_get()
H A Dpcr.c52 static int pcr_settings(device_t dev, struct cf_setting *sets, int *count);
53 static int pcr_set(device_t dev, const struct cf_setting *set);
54 static int pcr_get(device_t dev, struct cf_setting *set);
239 pcr_settings(device_t dev, struct cf_setting *sets, int *count) in pcr_settings()
264 pcr_set(device_t dev, const struct cf_setting *set) in pcr_set()
310 pcr_get(device_t dev, struct cf_setting *set) in pcr_get()
H A Dmpc85xx_jog.c75 static int mpc85xx_jog_settings(device_t dev, struct cf_setting *sets, int *count);
76 static int mpc85xx_jog_set(device_t dev, const struct cf_setting *set);
77 static int mpc85xx_jog_get(device_t dev, struct cf_setting *set);
217 mpc85xx_jog_settings(device_t dev, struct cf_setting *sets, int *count) in mpc85xx_jog_settings()
289 mpc85xx_jog_set(device_t dev, const struct cf_setting *set) in mpc85xx_jog_set()
310 mpc85xx_jog_get(device_t dev, struct cf_setting *set) in mpc85xx_jog_get()
/freebsd-12.1/sys/dev/cpufreq/
H A Dichss.c64 struct cf_setting sets[2]; /* Only two settings. */
100 static int ichss_settings(device_t dev, struct cf_setting *sets,
102 static int ichss_set(device_t dev, const struct cf_setting *set);
103 static int ichss_get(device_t dev, struct cf_setting *set);
291 ichss_settings(device_t dev, struct cf_setting *sets, int *count) in ichss_settings()
294 struct cf_setting set; in ichss_settings()
325 ichss_set(device_t dev, const struct cf_setting *set) in ichss_set()
377 ichss_get(device_t dev, struct cf_setting *set) in ichss_get()
H A Dcpufreq_dt.c124 struct cf_setting *set) in cpufreq_dt_opp_to_setting()
139 cpufreq_dt_get(device_t dev, struct cf_setting *set) in cpufreq_dt_get()
164 cpufreq_dt_set(device_t dev, const struct cf_setting *set) in cpufreq_dt_set()
262 cpufreq_dt_settings(device_t dev, struct cf_setting *sets, int *count) in cpufreq_dt_settings()
/freebsd-12.1/sys/sys/
H A Dcpu.h80 struct cf_setting { struct
94 struct cf_setting total_set; argument
95 struct cf_setting abs_set;
96 struct cf_setting rel_set[MAX_SETTINGS];
/freebsd-12.1/sys/dev/acpica/
H A Dacpi_throttle.c100 static int acpi_thr_settings(device_t dev, struct cf_setting *sets,
102 static int acpi_thr_set(device_t dev, const struct cf_setting *set);
103 static int acpi_thr_get(device_t dev, struct cf_setting *set);
191 struct cf_setting set; in acpi_throttle_attach()
347 acpi_thr_settings(device_t dev, struct cf_setting *sets, int *count) in acpi_thr_settings()
368 acpi_thr_set(device_t dev, const struct cf_setting *set) in acpi_thr_set()
413 acpi_thr_get(device_t dev, struct cf_setting *set) in acpi_thr_get()
H A Dacpi_perf.c103 struct cf_setting *set);
107 static int acpi_px_settings(device_t dev, struct cf_setting *sets,
109 static int acpi_px_set(device_t dev, const struct cf_setting *set);
110 static int acpi_px_get(device_t dev, struct cf_setting *set);
426 struct cf_setting set; in acpi_px_available()
443 acpi_px_to_set(device_t dev, struct acpi_px *px, struct cf_setting *set) in acpi_px_to_set()
462 acpi_px_settings(device_t dev, struct cf_setting *sets, int *count) in acpi_px_settings()
483 acpi_px_set(device_t dev, const struct cf_setting *set) in acpi_px_set()
538 acpi_px_get(device_t dev, struct cf_setting *set) in acpi_px_get()
/freebsd-12.1/sys/kern/
H A Dcpufreq_if.m35 struct cf_setting;
73 const struct cf_setting *set; struct
81 struct cf_setting *set; struct
89 struct cf_setting *sets; struct
H A Dkern_cpu.c85 struct cf_setting sets[MAX_SETTINGS];
111 struct cf_setting *sets, int count);
115 struct cf_level *dup, struct cf_setting *set);
244 const struct cf_setting *set; in cf_set_method()
429 struct cf_setting *curr_set, set; in cf_get_method()
535 struct cf_setting *sets; in cf_levels_method()
735 struct cf_setting *set; in cpufreq_expand_set()
789 struct cf_setting *set) in cpufreq_dup_set()
793 struct cf_setting *fill_set, *itr_set; in cpufreq_dup_set()
942 struct cf_setting *set; in cpufreq_levels_sysctl()
[all …]
/freebsd-12.1/sys/arm/nvidia/tegra124/
H A Dtegra124_cpufreq.c295 tegra124_cpufreq_settings(device_t dev, struct cf_setting *sets, int *count) in tegra124_cpufreq_settings()
372 tegra124_cpufreq_set(device_t dev, const struct cf_setting *cf) in tegra124_cpufreq_set()
395 tegra124_cpufreq_get(device_t dev, struct cf_setting *cf) in tegra124_cpufreq_get()
/freebsd-12.1/sys/arm/broadcom/bcm2835/
H A Dbcm2835_cpufreq.c1398 bcm2835_cpufreq_set(device_t dev, const struct cf_setting *cf) in bcm2835_cpufreq_set()
1493 bcm2835_cpufreq_get(device_t dev, struct cf_setting *cf) in bcm2835_cpufreq_get()
1530 bcm2835_cpufreq_make_freq_list(device_t dev, struct cf_setting *sets, in bcm2835_cpufreq_make_freq_list()
1588 bcm2835_cpufreq_settings(device_t dev, struct cf_setting *sets, int *count) in bcm2835_cpufreq_settings()