Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 25 of 49) sorted by relevance

12

/include/trace/events/
Dthermal.h96 TP_PROTO(const struct cpumask *cpus, unsigned long freq, u32 *load,
99 TP_ARGS(cpus, freq, load, load_len, dynamic_power),
103 __field(unsigned long, freq )
112 __entry->freq = freq;
120 __get_bitmask(cpumask), __entry->freq,
126 TP_PROTO(const struct cpumask *cpus, unsigned int freq,
129 TP_ARGS(cpus, freq, cdev_state, power),
133 __field(unsigned int, freq )
141 __entry->freq = freq;
147 __get_bitmask(cpumask), __entry->freq, __entry->cdev_state,
[all …]
Ddevfreq.h17 __field(unsigned long, freq)
25 __entry->freq = devfreq->previous_freq;
33 __get_str(dev_name), __entry->freq, __entry->polling_ms,
Drtc.h61 TP_PROTO(int freq, int err),
63 TP_ARGS(freq, err),
66 __field(int, freq)
71 __entry->freq = freq;
76 __entry->freq, __entry->err
Dpower.h74 u32 freq,
85 freq,
97 __field(u32, freq)
109 __entry->freq = freq;
121 (unsigned long)__entry->freq,
/include/linux/mfd/
Dsi476x-core.h186 static inline u16 hz_to_si476x(struct si476x_core *core, int freq) in hz_to_si476x() argument
193 result = freq / 10000; in hz_to_si476x()
196 result = freq / 1000; in hz_to_si476x()
203 static inline int si476x_to_hz(struct si476x_core *core, u16 freq) in si476x_to_hz() argument
210 result = freq * 10000; in si476x_to_hz()
213 result = freq * 1000; in si476x_to_hz()
223 static inline int hz_to_v4l2(int freq) in hz_to_v4l2() argument
225 return (freq * 10) / 625; in hz_to_v4l2()
228 static inline int v4l2_to_hz(int freq) in v4l2_to_hz() argument
230 return (freq * 625) / 10; in v4l2_to_hz()
[all …]
/include/trace/hooks/
Dtopology.h17 TP_PROTO(struct cpumask *cpus, unsigned long freq, unsigned long max,
19 TP_ARGS(cpus, freq, max, scale));
23 #define trace_android_vh_arch_set_freq_scale(cpus, freq, max, scale) argument
Dsched.h74 TP_PROTO(unsigned long util, unsigned long freq,
76 TP_ARGS(util, freq, cap, next_freq));
/include/linux/sched/
Dcpufreq.h28 unsigned long freq, unsigned long cap) in map_util_freq() argument
30 return (freq + (freq >> 2)) * util / cap; in map_util_freq()
/include/linux/
Dpm_opp.h97 unsigned long freq,
103 unsigned long *freq);
108 unsigned long *freq);
111 int dev_pm_opp_add(struct device *dev, unsigned long freq,
113 void dev_pm_opp_remove(struct device *dev, unsigned long freq);
116 int dev_pm_opp_enable(struct device *dev, unsigned long freq);
118 int dev_pm_opp_disable(struct device *dev, unsigned long freq);
200 unsigned long freq, bool available) in dev_pm_opp_find_freq_exact() argument
212 unsigned long *freq) in dev_pm_opp_find_freq_floor() argument
224 unsigned long *freq) in dev_pm_opp_find_freq_ceil() argument
[all …]
Ddw_apb_timer.h21 unsigned long freq; member
44 void __iomem *base, int irq, unsigned long freq);
47 unsigned long freq);
Dcpufreq.h553 unsigned int freq);
706 unsigned int freq);
722 unsigned int freq; in cpufreq_table_find_index_al() local
726 freq = pos->frequency; in cpufreq_table_find_index_al()
728 if (freq >= target_freq) in cpufreq_table_find_index_al()
743 unsigned int freq; in cpufreq_table_find_index_dl() local
747 freq = pos->frequency; in cpufreq_table_find_index_dl()
749 if (freq == target_freq) in cpufreq_table_find_index_dl()
752 if (freq > target_freq) { in cpufreq_table_find_index_dl()
785 unsigned int freq; in cpufreq_table_find_index_ah() local
[all …]
Denergy_model.h78 int (*active_power)(unsigned long *power, unsigned long *freq, int cpu);
98 unsigned long freq, scale_cpu; in em_pd_energy() local
110 freq = map_util_freq(max_util, cs->frequency, scale_cpu); in em_pd_energy()
118 if (cs->frequency >= freq) in em_pd_energy()
Dclock_cooling.h38 unsigned long freq);
51 unsigned long freq) in clock_cooling_get_level() argument
Dclockchips.h187 u32 freq, unsigned long min_delta,
190 extern int clockevents_update_freq(struct clock_event_device *ce, u32 freq);
193 clockevents_calc_mult_shift(struct clock_event_device *ce, u32 freq, u32 maxsec) in clockevents_calc_mult_shift() argument
195 return clocks_calc_mult_shift(&ce->mult, &ce->shift, NSEC_PER_SEC, freq, maxsec); in clockevents_calc_mult_shift()
Dclocksource.h129 static inline u32 clocksource_freq2mult(u32 freq, u32 shift_constant, u64 from) in clocksource_freq2mult() argument
140 tmp += freq/2; /* round for do_div */ in clocksource_freq2mult()
141 do_div(tmp, freq); in clocksource_freq2mult()
213 __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq);
215 __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq);
Ddevfreq_cooling.h59 unsigned long freq,
62 unsigned long freq, unsigned long voltage);
Ddevfreq.h99 int (*target)(struct device *dev, unsigned long *freq, u32 flags);
102 int (*get_cur_freq)(struct device *dev, unsigned long *freq);
218 unsigned long *freq, u32 flags);
289 int (*get_target_freq)(struct devfreq *this, unsigned long *freq);
338 unsigned long *freq, u32 flags) in devfreq_recommended_opp() argument
Domap-gpmc.h43 int gpmc_omap_onenand_set_timings(struct device *dev, int cs, int freq,
55 int gpmc_omap_onenand_set_timings(struct device *dev, int cs, int freq, in gpmc_omap_onenand_set_timings() argument
Dscpi_protocol.h10 u32 freq; member
/include/net/
Dregulatory.h234 #define MHZ_TO_KHZ(freq) ((freq) * 1000) argument
235 #define KHZ_TO_MHZ(freq) ((freq) / 1000) argument
/include/linux/spi/
Dspi_oc_tiny.h15 unsigned int freq; member
/include/linux/platform_data/x86/
Dclk-pmc-atom.h21 unsigned long freq; member
/include/uapi/linux/
Dtimex.h67 __kernel_long_t freq; /* frequency offset (scaled ppm) */ member
104 long long freq; /* frequency offset (scaled ppm) */ member
/include/linux/usb/
Dtegra_usb_phy.h65 const struct tegra_xtal_freq *freq; member
/include/uapi/linux/can/
Dnetlink.h63 __u32 freq; /* CAN system clock frequency in Hz */ member

12