21 matching pages, found in 18 ms

Ask StyxWritten on your GPU machine; takes a few seconds the first time.

  1. rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › index
    More about rust.docs.kernel.org
    kernel - Rust

    … CPU definitions. cpufreq CPU frequency scaling. cpumask CPU Mask abstractions. cred Credentials management. debugfs DebugFS Abstraction device Generic devices that are part of the kernel’s driver model. device_ id Generic implementation of …

    0 points
  2. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › clk › struct.Hertz
    More about rust.docs.kernel.org
    Hertz in kernel::clk - Rust

    … c_ulong Get the frequency in hertz Source pub const fn as_khz (&self) -> c_ulong Get the frequency in kilohertz Source pub const fn as_mhz (&self) -> c_ulong Get the …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › opp › struct.OPP
    More about rust.docs.kernel.org
    OPP in kernel::opp - Rust

    … OPP corresponding to a frequency value and configure the device with it. use kernel::clk::Hertz; use kernel::error::Result; use kernel::opp::{SearchType, Table}; fn configure_opp(table: & Table, freq: Hertz …

    0 points
  4. rust.docs.kernel.orghttps://rust.docs.kernel.org › next › kernel › index
    More about rust.docs.kernel.org
    kernel - Rust

    … CPU definitions. cpufreq CPU frequency scaling. cpumask CPU Mask abstractions. cred Credentials management. debugfs DebugFS Abstraction device Generic devices that are part of the kernel’s driver model. device_ id Generic implementation of …

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cpufreq › index
    More about rust.docs.kernel.org
    kernel::cpufreq - Rust

    … cpufreq.html Modules § flags CPU frequency driver flags. Structs § Policy CPU frequency policy. Policy Data Policy data. Registration CPU frequency driver Registration. Table CPU frequency table. Table Box CPU frequency table owned and …

    0 points
  6. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cpufreq › enum.Relation
    More about rust.docs.kernel.org
    Relation in kernel::cpufreq - Rust

    … bool ), } Expand description CPU frequency selection relations. CPU frequency selection relations, each optionally marked as “efficient”. Variants § § Low( bool ) Select the lowest frequency at or above target. § High( bool ) Select the highest …

    0 points
  7. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › opp › enum.SearchType
    More about rust.docs.kernel.org
    SearchType in kernel::opp - Rust

    … Exact Match the exact frequency. § Floor Find the highest frequency less than or equal to the given value. § Ceil Find the lowest frequency greater than or equal to the given value. Trait …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › amdgpu › index
    More about rust.docs.kernel.org
    core::arch::amdgpu - Rust

    … based on a fixed frequency. s_ sethalt Experimental Stop execution of the kernel. s_sleep Experimental Sleeps for approximately COUNT * 64 cycles. sched_ barrier ⚠ Experimental Prevent movement of some instruction types. sched …

    0 points
  9. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › ops › trait.MulAssign
    More about rust.docs.kernel.org
    MulAssign in core::ops - Rust

    … derive(Debug, PartialEq)] struct Frequency { hertz: f64 } impl MulAssign<f64> for Frequency { fn mul_assign( &mut self , rhs: f64) { self .hertz * = rhs; } } let mut frequency = Frequency { hertz: 50.0 }; frequency * = 4.0 ; assert_eq …

    0 points
  10. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › clone › trait.Clone
    More about rust.docs.kernel.org
    Clone in core::clone - Rust

    … Clone)] struct Reading<T> { frequency: T, } § How can I implement Clone ? Types that are Copy should have a trivial implementation of Clone . More formally: if T: Copy , x: T , and y: &T …

    0 points

Search for “frequency site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.