21 matching pages, found in 18 ms
Ask StyxWritten on your GPU machine; takes a few seconds the first time.
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › indexkernel - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › clk › struct.HertzHertz in kernel::clk - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › opp › struct.OPPOPP in kernel::opp - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › next › kernel › indexkernel - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cpufreq › indexkernel::cpufreq - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cpufreq › enum.RelationRelation in kernel::cpufreq - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › opp › enum.SearchTypeSearchType in kernel::opp - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › amdgpu › indexcore::arch::amdgpu - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › ops › trait.MulAssignMulAssign in core::ops - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › clone › trait.CloneClone in core::clone - Rust
More about rust.docs.kernel.org
… 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 …
Search for “frequency site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.