clk_hw_get_clk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– clk_hw_get_clk(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” yes, the clk_hw_get_clk(9) page, and honestly? it's giving lowkey legendary. buckle up πŸŽ€


✨ NAME ✨

clk_hw_get_clk β€” get clk consumer given an clk_hw πŸ’…

🌸 SYNOPSIS 🌸

struct clk * clk_hw_get_clk (struct clk_hw *hw , const char *con_id );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” the clk_hw that's associated with the clk being consumed, like it's the hardware's whole identity fr fr πŸ‘‘
  • con_id β€” the connection ID string on device, aka the little name-tag situation ✨

πŸ’€ RETURN πŸ’€

returns a new clk consumer 🫢

and like, this is the function to be used by providers which need to get a consumer clk and act on the clock element. so if that's your vibe, this is your function, no cap.

⚠️ okay this part matters bestie: calls to this function must be balanced with calls clk_put. literally do not forget or it's gonna be a whole thing 😭 balance your calls like your life depends on it. periodt.

🌈 SEE ALSO 🌈

the friend group 🧚 β€” every single one of them, and yes i'm listing them all because nobody gets left out:


and that's the whole page, you ate that πŸ“

signing off from the source dir ./drivers/clk, dated October 2026 β€” catch you in the next manpage bestie, mwah πŸ’œβœ¨

πŸ“¦ where this page comes from