si570_get_divs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, meet si570_get_divs β€” yes, the si570_get_divs(9) manual page β€” and its whole mission is: Read clock dividers from HW. that's it, that's the vibe. periodt.

✨ SYNOPSIS ✨

int si570_get_divs (struct clk_si570 *data , u64 *rfreq , unsigned int
       *n1 , unsigned int *hs_div );

πŸŽ€ ARGUMENTS πŸŽ€

  • data β€” pointer to struct clk_si570. yes bestie, a pointer, we love that for us.
  • rfreq β€” fractional multiplier, and it's an output πŸ’…
  • n1 β€” divider N1, also an output ✨
  • hs_div β€” divider HSDIV, output too 🫢

Returns 0 on success, negative errno otherwise. no cap, that's the return situation.

πŸ”₯ DESCRIPTION πŸ”₯

Retrieve clock dividers and multipliers from the HW. literally that's the whole thing β€” this function goes and gets the divider + multiplier info from hardware, and you get to sit there looking cute while it does it.

🌈 SEE ALSO 🌈

go peek at the kernel file ./drivers/clk/clk-si570.c and these absolute icons:


that's the whole page, bestie 🫢 this one comes from ./drivers/clk and is dated October 2026 πŸ’…πŸ’–

πŸ“¦ where this page comes from