Home
last modified time | relevance | path

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

/freebsd-13.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.c76 struct cf_setting sets[2]; /* Only two settings. */
85 static int smist_settings(device_t dev, struct cf_setting *sets,
87 static int smist_set(device_t dev, const struct cf_setting *set);
88 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_amd.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);
244 hwpstate_set(device_t dev, const struct cf_setting *cf) in hwpstate_set()
264 hwpstate_get(device_t dev, struct cf_setting *cf) in hwpstate_get()
287 hwpstate_settings(device_t dev, struct cf_setting *sets, int *count) in hwpstate_settings()
491 struct cf_setting *perf_set; in hwpstate_get_info_from_acpi_perf()
H A Dpowernow.c245 static int pn_set(device_t dev, const struct cf_setting *cf);
246 static int pn_get(device_t dev, struct cf_setting *cf);
247 static int pn_settings(device_t dev, struct cf_setting *sets,
441 pn_set(device_t dev, const struct cf_setting *cf) in pn_set()
477 pn_get(device_t dev, struct cf_setting *cf) in pn_get()
522 pn_settings(device_t dev, struct cf_setting *sets, int *count) in pn_settings()
770 struct cf_setting sets[POWERNOW_MAX_STATES]; in pn_decode_acpi()
H A Dest.c869 static int est_settings(device_t dev, struct cf_setting *sets, int *count);
870 static int est_set(device_t dev, const struct cf_setting *set);
871 static int est_get(device_t dev, struct cf_setting *set);
1065 struct cf_setting *sets; in est_acpi_info()
1296 est_settings(device_t dev, struct cf_setting *sets, int *count) in est_settings()
1320 est_set(device_t dev, const struct cf_setting *set) in est_set()
1341 est_get(device_t dev, struct cf_setting *set) in est_get()
H A Dhwpstate_intel.c67 static int intel_hwpstate_get(device_t dev, struct cf_setting *cf);
530 intel_hwpstate_get(device_t dev, struct cf_setting *set) in intel_hwpstate_get()
/freebsd-13.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);
142 dfs_settings(device_t dev, struct cf_setting *sets, int *count) in dfs_settings()
169 dfs_set(device_t dev, const struct cf_setting *set) in dfs_set()
197 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);
151 pmufreq_settings(device_t dev, struct cf_setting *sets, int *count) in pmufreq_settings()
175 pmufreq_set(device_t dev, const struct cf_setting *set) in pmufreq_set()
198 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);
159 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()
206 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);
238 pcr_settings(device_t dev, struct cf_setting *sets, int *count) in pcr_settings()
263 pcr_set(device_t dev, const struct cf_setting *set) in pcr_set()
309 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);
216 mpc85xx_jog_settings(device_t dev, struct cf_setting *sets, int *count) in mpc85xx_jog_settings()
288 mpc85xx_jog_set(device_t dev, const struct cf_setting *set) in mpc85xx_jog_set()
309 mpc85xx_jog_get(device_t dev, struct cf_setting *set) in mpc85xx_jog_get()
/freebsd-13.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-13.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()
267 cpufreq_dt_settings(device_t dev, struct cf_setting *sets, int *count) in cpufreq_dt_settings()
/freebsd-13.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);
192 struct cf_setting set; in acpi_throttle_attach()
348 acpi_thr_settings(device_t dev, struct cf_setting *sets, int *count) in acpi_thr_settings()
369 acpi_thr_set(device_t dev, const struct cf_setting *set) in acpi_thr_set()
414 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);
427 struct cf_setting set; in acpi_px_available()
444 acpi_px_to_set(device_t dev, struct acpi_px *px, struct cf_setting *set) in acpi_px_to_set()
463 acpi_px_settings(device_t dev, struct cf_setting *sets, int *count) in acpi_px_settings()
484 acpi_px_set(device_t dev, const struct cf_setting *set) in acpi_px_set()
539 acpi_px_get(device_t dev, struct cf_setting *set) in acpi_px_get()
/freebsd-13.1/sys/kern/
H A Dkern_cpu.c86 struct cf_setting sets[MAX_SETTINGS];
236 const struct cf_setting *set; in cf_set_method()
425 struct cf_setting set; in cpufreq_get_frequency()
459 struct cf_setting *curr_set; in cf_get_method()
476 struct cf_setting set; in cf_get_method()
573 struct cf_setting *sets; in cpufreq_add_levels()
659 struct cf_setting set; in cf_levels_method()
788 struct cf_setting *set; in cpufreq_expand_set()
842 struct cf_setting *set) in cpufreq_dup_set()
995 struct cf_setting *set; in cpufreq_levels_sysctl()
[all …]
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
/freebsd-13.1/sys/arm64/nvidia/tegra210/
H A Dtegra210_cpufreq.c251 tegra210_cpufreq_settings(device_t dev, struct cf_setting *sets, int *count) in tegra210_cpufreq_settings()
298 tegra210_cpufreq_set(device_t dev, const struct cf_setting *cf) in tegra210_cpufreq_set()
321 tegra210_cpufreq_get(device_t dev, struct cf_setting *cf) in tegra210_cpufreq_get()
/freebsd-13.1/sys/arm/nvidia/tegra124/
H A Dtegra124_cpufreq.c293 tegra124_cpufreq_settings(device_t dev, struct cf_setting *sets, int *count) in tegra124_cpufreq_settings()
370 tegra124_cpufreq_set(device_t dev, const struct cf_setting *cf) in tegra124_cpufreq_set()
393 tegra124_cpufreq_get(device_t dev, struct cf_setting *cf) in tegra124_cpufreq_get()
/freebsd-13.1/sys/arm/broadcom/bcm2835/
H A Dbcm2835_cpufreq.c1359 bcm2835_cpufreq_set(device_t dev, const struct cf_setting *cf) in bcm2835_cpufreq_set()
1454 bcm2835_cpufreq_get(device_t dev, struct cf_setting *cf) in bcm2835_cpufreq_get()
1491 bcm2835_cpufreq_make_freq_list(device_t dev, struct cf_setting *sets, in bcm2835_cpufreq_make_freq_list()
1549 bcm2835_cpufreq_settings(device_t dev, struct cf_setting *sets, int *count) in bcm2835_cpufreq_settings()