Searched refs:Relation (Results 1 – 1 of 1) sorted by relevance
| /rust/kernel/ |
| A D | cpufreq.rs | 80 pub enum Relation { enum 89 impl Relation { impls 103 impl From<Relation> for u32 { 105 fn from(rel: Relation) -> Self { in from() 107 Relation::Low(e) => (CPUFREQ_RELATION_L, e), in from() 108 Relation::High(e) => (CPUFREQ_RELATION_H, e), in from() 109 Relation::Close(e) => (CPUFREQ_RELATION_C, e), in from() 780 fn target(_policy: &mut Policy, _target_freq: u32, _relation: Relation) -> Result { in target() 1212 T::target(policy, target_freq, Relation::new(relation)?).map(|()| 0) in target_callback()
|
Completed in 5 milliseconds