/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`]. 108 /// use kernel::clk::{Clk, Hertz}; 113 /// let clk = Clk::get(dev, Some(c_str!("apb_clk")))?; 130 pub struct Clk(*mut bindings::clk); struct 132 impl Clk { implementation 133 /// Gets [`Clk`] corresponding to a [`Device`] and a connection id. 143 // INVARIANT: The reference-count is decremented when [`Clk`] goes out of scope. in get() 205 /// Equivalent to calling [`Clk 248 impl Drop for Clk { global() implementation 323 deref(&self) -> &Clk deref() argument [all...] |
H A D | cpufreq.rs | 25 use crate::clk::Clk; 553 /// The caller must guarantee that the returned [`Clk`] is not dropped while it is getting used 556 pub unsafe fn set_clk(&mut self, dev: &Device, name: Option<&CStr>) -> Result<Clk> { in set_clk() argument 557 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/clk/microchip/ |
H A D | Kconfig | 7 bool "Clk driver for PolarFire SoC"
|
/linux/drivers/cpufreq/ |
H A D | rcpufreq_dt.rs | 7 clk::Clk, 48 _clk: Clk,
|
/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/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxbb-odroidc2.dts | 294 "Eth MDIO", "Eth MDC", "Eth RGMII RX Clk", 296 "Eth RX D3", "Eth RGMII TX Clk", "Eth TX En", 303 "eMMC D5", "eMMC D6", "eMMC D7", "eMMC Clk",
|
H A D | meson-gxbb-nanopi-k2.dts | 251 "Eth MDIO", "Eth MDC", "Eth RGMII RX Clk", 253 "Eth RX D3", "Eth RGMII TX Clk", "Eth TX En", 261 "eMMC D5", "eMMC D6", "eMMC D7", "eMMC Clk",
|
H A D | meson-gxl-s805x-libretech-ac.dts | 251 "eMMC Clk", "eMMC Reset", "eMMC CMD", 252 "SPI NOR MOSI", "SPI NOR MISO", "SPI NOR Clk",
|
H A D | meson-gxl-s905x-khadas-vim.dts | 186 "eMMC Clk", "eMMC Reset", "eMMC CMD",
|
/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
|