STRUCT SCI_CLK_PROVIDER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct sci_clk_provider(9) β€” the TI SCI clock provider glow-up ✨

okay bestie, so this is a page from the Kernel API Manual, and it's literally all about struct sci_clk_provider β€” the TI SCI clock provider representation. yes that's a lot of words. no i will not be toning it down. πŸŽ€

It's giving "the main character struct that holds the whole clock situation together," and honestly? obsessed. 🫢


✨ NAME ✨

struct sci_clk_provider β€” the TI SCI clock provider representation, fr fr. it's the struct, it's the vibe, it's the way that it represents the whole provider. πŸ’–


🌸 SYNOPSIS 🌸

struct sci_clk_provider {
    const struct ti_sci_handle *sci;
    const struct ti_sci_clk_ops *ops;
    struct device *dev;
    struct sci_clk **clocks;
    int num_clocks;
 };

that's the whole thing. five members. iconic. copy it exactly please, no rewriting it in your own words, i'm watching πŸ‘€


πŸ¦‹ Members πŸ¦‹

πŸ’œ sci

the Handle to the System Control Interface protocol handler. it's the protocol handler hookup, iykyk. lowkey the backbone of this whole situation ✨

πŸ’œ ops

Pointer to the SCI ops to be used by the clocks. like, the operations the clocks are gonna be doing. periodt. πŸ”₯

πŸ’œ dev

the Device pointer for the clock provider β€” this is the device's whole identity in provider-land πŸŽ€

πŸ’œ clocks

the Clocks array for this device. all of them. in an array. living their best lives. 🌈

πŸ’œ num_clocks

Total number of clocks for this provider. the headcount. the census. the "how many clocks are we even talking about" number πŸ’€


🌟 SEE ALSO 🌟

go read these next, bestie, they're all in the Kernel file ./drivers/clk/keystone/sci-clk.c:

that's the full reading list, no skips, we're doing the whole syllabus πŸ§šπŸ’œ


and that's the page!! thank you for coming to my TED talk 🎀✨

little sign-off moment: this came from ./drivers/clk/keystone, dated October 2026, and yeah the footer still says struct sci_clk_provider(9) because the manpage said so and i don't make the rules πŸ’… slay πŸ¦‹
πŸ“¦ where this page comes from