devm_clk_rate_exclusive_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devm_clk_rate_exclusive_get(9) β€” bestie clock edition πŸ’…

okay so we’re in the Kernel API Manual, and the star of this page is devm_clk_rate_exclusive_get(9). It’s giving managed clock exclusivity, and yes bestie, we’re getting into every single detail. ✨


🌸 NAME 🌸

devm_clk_rate_exclusive_get β€” the devm variant of clk_rate_exclusive_get. periodt.

πŸŽ€ SYNOPSIS πŸŽ€

int devm_clk_rate_exclusive_get (struct device *dev , struct clk *clk );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” device the exclusivity is bound to. This is the device anchor, bestie.
  • clk β€” clock source. The clock in question. iconic.

πŸ’– DESCRIPTION πŸ’–

Calls clk_rate_exclusive_get on clk and registers a devm cleanup handler on dev to call clk_rate_exclusive_put.

🚨 Important, no cap: must not be called from within atomic context. Like, do not. That is the vibe check and it is a hard pass.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./include/linux/clk.h

mwah πŸ’‹ β€” source/version: ./include/linux; date: October 2026; manual page: devm_clk_rate_exclusive_get(9). bye bestie 🫢✨

πŸ“¦ where this page comes from