devm_clk_hw_...ster_divider(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 devm_clk_hw_register_divider β€” the Kernel API Manual, bestie edition 🌸

Okay so this one's from the Kernel API Manual, and the page header is literally devm_clk_hw_...ster_divider(9) (yes the title is truncated, no that's not my fault, that's just how it printed πŸ’€). Anyway β€” it's the devm_clk_hw_register_divider page, and it's giving "register a divider clock with the clock framework." Let's get into it.


✨ NAME ✨

Bestie. This is the whole point of the page:

devm_clk_hw_register_divider - register a divider clock with the clock framework

That's it. That's the vibe. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

Here's exactly how you call it β€” copy it character for character, no freestyling:

devm_clk_hw_register_divider (dev , name , parent_name , flags , reg ,
shift , width , clk_divider_flags , lock );

Nine whole parameters, okay? She's thorough. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

Every single one, coming right up β€” nothing skipped, nothing merged, I promise 🫢

  • dev β€” the device that's registering this clock. Like, who's the parent in the paperwork sense, not the clock-tree sense (that's parent_name, keep up 😭).
  • name β€” the name of this clock. Her name. Her identity. Iconic.
  • parent_name β€” the name of the clock's parent. Yes, clocks have parents, it's a whole family tree 🌈.
  • flags β€” framework-specific flags. The generic ones, not the divider ones (those are literally two bullets down, we'll get there).
  • reg β€” the register address you're adjusting the divider in. This is the address, not the value β€” do not get it twisted.
  • shift β€” how many bits to shift the bitfield. The bitfield's little offset era ✨.
  • width β€” the width of the bitfield. How chonky it is.
  • clk_divider_flags β€” divider-specific flags for this clock. See? Told you we'd get here. These are the divider ones, separate from flags up top, don't mix 'em up πŸ’€.
  • lock β€” the shared register lock for this clock. Shared, okay, so be polite about it.

πŸ’œ SEE ALSO πŸ’œ

Okay this list is long long, and every single one of these is required reading according to the page, so here we go, in order, no cap:

Like I said. Long long. But she ate, honestly πŸ”₯


Heads up bestie: the page lists those SEE ALSO entries exactly as written above, so if you're grepping, match the (9) suffixes and don't drop the struct keywords πŸ’–

Okay that's the whole page, and we're done!! Sign-off time: this one ships from ./include/linux and is dated October 2026, filed under the manual title devm_clk_hw_...ster_divider(9). Slay, go register some dividers, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from