STRUCT CLK_DUTY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct clk_duty β€” the lil struct that encodes the duty cycle ratio of a clock πŸ’… (yes bestie, we're talking struct clk_duty(9) from the Kernel API Manual, buckle up πŸŽ€)


πŸ¦‹ SYNOPSIS πŸ¦‹

struct clk_duty {
    unsigned int num;
    unsigned int den;
 };

okay so it's literally two unsigned ints in a trench coat and that's the whole struct, no cap 🫢


πŸ’– MEMBERS πŸ’–

  • num β€” the numerator of the duty cycle ratio. top of the fraction, main character energy πŸ‘‘
  • den β€” the denominator of the duty cycle ratio. bottom of the fraction, doing the quiet supporting work 🌸
fr fr that's it. two members. no hidden fields, no surprises, we love a minimalist icon ✨

🌈 SEE ALSO 🌈

okay this part is a whole friend group, so let's do a headcount so nobody gets left out of the group chat 😭

the kernel file it lives in: ./include/linux/clk-provider.h 🧚

and then, in the order the original gives them:

like… every single one is here, i counted, we don't ghost a manpage reference in this house πŸ”₯


and that's the whole vibe check bestie πŸ’œ this page came from the kernel file ./include/linux, dated October 2026, and the manual page itself is struct clk_duty(9) β€” go forth and clock responsibly, mwah πŸŽ€πŸ’‹

πŸ“¦ where this page comes from