clk_set_min_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… clk_set_min_rate β€” set a minimum clock rate for a clock source πŸŽ€

okay so bestie, welcome to clk_set_min_rate(9) from the Kernel API Manual β€” yes it's a real one, yes it's iconic, let's get into it ✨


🌸 NAME 🌸

clk_set_min_rate β€” set a minimum clock rate for a clock source

like, it's literally in the name bestie, we're setting the floor on how slow a clock is allowed to go 🫢


✨ SYNOPSIS ✨

int clk_set_min_rate (struct clk *clk , unsigned long rate );

that's the whole signature, no cap πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • clk β€” the clock source πŸ’– that's the clock you're doing all this for
  • rate β€” the desired minimum clock rate in Hz, inclusive ⭐ (yes inclusive, so the minimum counts as allowed, don't come for me)

πŸ”₯ DESCRIPTION πŸ”₯

Returns success (0) or negative errno.

that's it, that's the description. short and slay. if it works you get a 0, if it doesn't you get a negative errno and honestly that's the vibe check 😭


πŸ‘‘ SEE ALSO πŸ‘‘

lowkey the friend group is HUGE, gather round:

Kernel file ./include/linux/clk.h plus these besties:


that's the whole page bestie, go set some minimums responsibly πŸ’œ

β€” signed, sealed, delivered from ./include/linux, dated October 2026, brought to you by the Kernel API Manual crew πŸ§šβ­πŸ’…

πŸ“¦ where this page comes from