Lines Matching full:relation
79 pub enum Relation {
88 impl Relation {
102 impl From<Relation> for u32 {
104 fn from(rel: Relation) -> Self {
106 Relation::Low(e) => (CPUFREQ_RELATION_L, e),
107 Relation::High(e) => (CPUFREQ_RELATION_H, e),
108 Relation::Close(e) => (CPUFREQ_RELATION_C, e),
785 fn target(_policy: &mut Policy, _target_freq: u32, _relation: Relation) -> Result {
1220 relation: c_uint,
1226 T::target(policy, target_freq, Relation::new(relation)?).map(|()| 0)