Searched refs:Hertz (Results 1 – 5 of 5) sorted by relevance
| /linux/rust/kernel/ |
| H A D | clk.rs | 30 pub struct Hertz(pub c_ulong); struct 32 impl Hertz { implementation 73 impl From<Hertz> for c_ulong { 74 fn from(freq: Hertz) -> Self { in from() 81 use super::Hertz; 229 pub fn rate(&self) -> Hertz { in rate() argument 232 Hertz(unsafe { bindings::clk_get_rate(self.as_raw()) }) in rate() 241 pub fn set_rate(&self, rate: Hertz) -> Result { in set_rate()
|
| H A D | cpufreq.rs | 12 clk::Hertz, 251 pub fn freq(&self, index: TableIndex) -> Result<Hertz> { in freq() argument 254 Ok(Hertz::from_khz(unsafe { in freq() 365 pub fn add(&mut self, freq: Hertz, flags: u32, driver_data: u32) -> Result { in add() argument 380 self.add(Hertz(c_ulong::MAX), 0, 0)?; in to_table() 475 pub fn min(&self) -> Hertz { in min() argument 476 Hertz::from_khz(self.as_ref().min as usize) in min() 481 pub fn set_min(&mut self, min: Hertz) -> &mut Self { in set_min() 488 pub fn max(&self) -> Hertz { in max() argument 489 Hertz::from_khz(self.as_ref().max as usize) in max() [all …]
|
| H A D | opp.rs | 12 clk::Hertz, 177 freq: Hertz, 231 pub fn new(freq: Hertz, volt: MicroVolt, level: u32, turbo: bool) -> Self { in new() argument 251 fn freq(&self) -> Hertz { in freq() argument 252 Hertz(self.0.freq) in freq() 748 pub fn suspend_freq(&self) -> Hertz { in suspend_freq() argument 751 Hertz(unsafe { bindings::dev_pm_opp_get_suspend_opp_freq(self.dev.as_raw()) }) in suspend_freq() 801 freq: Hertz, in adjust_voltage() argument 828 pub fn set_rate(&self, freq: Hertz) -> Result { in set_rate() 845 freq: Hertz, in opp_from_freq() argument [all …]
|
| /linux/Documentation/userspace-api/media/rc/ |
| H A D | lirc-dev-intro.rst | 116 the carrier frequency in Hertz.
|
| /linux/Documentation/networking/device_drivers/hamradio/ |
| H A D | z8530drv.rst | 110 default), measured in Hertz
|