clk_register_divider(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’– NAME ๐Ÿ’–

okay bestie, welcome to the clk_register_divider(9) page in the Kernel API Manual โ€” we're talking about clk_register_divider, which literally registers a divider clock with the clock framework. slay. โœจ


๐Ÿ› ๏ธ SYNOPSIS ๐Ÿ› ๏ธ

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

๐Ÿงš ARGUMENTS ๐Ÿงš

  • dev โ€” the device registering this clock, aka the one making it official.
  • name โ€” name of this clock. give her a good one ๐Ÿ’…
  • parent_name โ€” name of clock's parent. family tree but make it hardware.
  • flags โ€” framework-specific flags.
  • reg โ€” register address to adjust divider. this is where the magic happens.
  • shift โ€” number of bits to shift the bitfield.
  • width โ€” width of the bitfield.
  • clk_divider_flags โ€” divider-specific flags for this clock. not the same vibe as the framework flags, iykyk.
  • lock โ€” shared register lock for this clock. sharing is caring, but also safety.

๐Ÿ”ฎ SEE ALSO ๐Ÿ”ฎ

bestie, the lore is deep โ€” peep all these related pages and structs:


mwah ๐Ÿ’‹ โ€” signing off from source/version ./include/linux, dated October 2026, on the clk_register_divider(9) page. periodt. ๐Ÿซถ

๐Ÿ“ฆ where this page comes from