STRUCT CLOCK_PARENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct clock_parent(9) β€” Clock parent

okay so this is a page straight out of the Kernel API Manual bestie, and it's a little struct that just holds onto the deets about who a clock's parent is. tiny struct, big main character energy 🌸


✨ NAME ✨

struct clock_parent β€” Clock parent 🫢


🌈 SYNOPSIS 🌈

struct clock_parent {
    char name[MAX_NAME_LEN];
    int id;
    u32 flag;
 };

no cap, that's the whole thing. three little fields and she's done πŸ’…


πŸŽ€ Members πŸŽ€

okay so let's go through the members one by one, because they all matter:

  • name β€” the parent's name, stored in a char array of MAX_NAME_LEN. it's giving "hi my name is" πŸ¦‹
  • id β€” the parent clock's ID. her little number, her identifier, her whole vibe check ✨
  • flag β€” the parent's flags. yes plural concept, yes a u32, iconic πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

like, go read these next, they're all in the kernel file ./drivers/clk/zynqmp/clkc.c and they're lowkey all connected:

that's the whole friend group fr fr, don't skip any of them πŸ«ΆπŸ’–


ngl this struct is literally just a name tag, a number, and some flags for a clock's parent. simple, slay, periodt. 🌟

okay bestie that's the page!! this one lives in ./drivers/clk/zynqmp, dated October 2026, and the header/footer both say struct clock_parent(9) because she contains multitudes πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from