Searched refs:Clk (Results 1 – 10 of 10) sorted by relevance
| /linux/rust/kernel/ |
| H A D | clk.rs | 96 /// A [`Clk`] instance holds either a pointer to a valid [`struct clk`] created by the C 99 /// Instances of this type are reference-counted. Calling [`Clk::get`] ensures that the 100 /// allocation remains valid for the lifetime of the [`Clk`]. 107 /// use kernel::clk::{Clk, Hertz}; 112 /// let clk = Clk::get(dev, Some(c"apb_clk"))?; 129 pub struct Clk(*mut bindings::clk); 131 impl Clk { 132 /// Gets [`Clk`] corresponding to a [`Device`] and a connection id. implementation 142 // INVARIANT: The reference-count is decremented when [`Clk`] goes out of scope. in get() 204 /// Equivalent to calling [`Clk 130 pub struct Clk(*mut bindings::clk); global() struct 248 impl Drop for Clk { global() implementation 323 deref(&self) -> &Clk deref() argument [all...] |
| H A D | cpufreq.rs | 25 use crate::clk::Clk; 552 /// The caller must guarantee that the returned [`Clk`] is not dropped while it is getting used 555 pub unsafe fn set_clk(&mut self, dev: &Device, name: Option<&CStr>) -> Result<Clk> { in set_clk() argument 556 let clk = Clk::get(dev, name)?; in set_clk()
|
| /linux/drivers/video/fbdev/via/ |
| H A D | vt1636.c | 140 static int get_clk_range_index(u32 Clk) in get_clk_range_index() argument 142 if (Clk < DPA_CLK_30M) in get_clk_range_index() 144 else if (Clk < DPA_CLK_50M) in get_clk_range_index() 146 else if (Clk < DPA_CLK_70M) in get_clk_range_index() 148 else if (Clk < DPA_CLK_100M) in get_clk_range_index() 150 else if (Clk < DPA_CLK_150M) in get_clk_range_index()
|
| /linux/Documentation/dev-tools/kunit/api/ |
| H A D | clk.rst | 4 Clk API
|
| /linux/drivers/net/ethernet/apple/ |
| H A D | bmac.h | 45 # define Clk 0x0002 macro
|
| H A D | bmac.c | 1017 #define Clk 0x0002 macro 1033 bmwrite(dev, SROMCSR, ChipSelect | Clk); in bmac_clock_out_bit() 1057 bmwrite(dev, SROMCSR, data | ChipSelect | Clk ); in bmac_clock_in_bit()
|
| /linux/Documentation/devicetree/bindings/pwm/ |
| H A D | pwm-st.txt | 18 For Clk properties, please refer to [2].
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | am335x-boneblack-hdmi.dtsi | 127 enable-gpios = <&gpio1 27 0>; /* BeagleBone Black Clk enable on GPIO1_27 */
|
| H A D | am335x-osd3358-sm-red.dts | 129 enable-gpios = <&gpio1 27 0>; /* BeagleBone Black Clk enable on GPIO1_27 */
|
| /linux/Documentation/driver-api/ |
| H A D | clk.rst | 2 The Common Clk Framework
|