clk_set_rate_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

clk_set_rate_range β€” bestie, it sets a rate range for a clock source ✨ (this one lives in the Kernel API Manual, section 9, iykyk 🫢)


🌸 SYNOPSIS 🌸

int clk_set_rate_range (struct clk *clk , unsigned long min , unsigned long max );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • clk β€” the clock source in question πŸ‘‘ your main character, literally
  • min β€” the minimum clock rate you want, in Hz, and yes it's inclusive πŸ’–
  • max β€” the maximum clock rate you want, in Hz, also inclusive πŸŽ€

✨ DESCRIPTION ✨

Okay so here's the whole vibe: it returns success (0) or a negative errno 😭 that's it, that's the description, no cap.

Heads up bestie: errno being negative means something went sideways β€” check it, fr fr πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

The kernel file lives at ./include/linux/clk.h πŸ‘€ and here's the whole friend group, no one left out:


✨ and that's the whole page bestie ✨ this cutie came from ./include/linux, dated October 2026, and it's filed as clk_set_rate_range(9) β€” periodt πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from