STRUCT ASPEED_GATE_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct aspeed_gate_data(9) β€” the Aspeed gated clocks manual, bestie edition

okay so this is a page straight out of the Kernel API Manual (that's the manual name, we're not copying the header line, we're being chill about it) and it's all about struct aspeed_gate_data β€” Aspeed gated clocks, babes. it's giving "small struct, big responsibilities" and honestly? we're obsessed. πŸŽ€


✨ NAME ✨

struct aspeed_gate_data β€” Aspeed gated clocks 🌸


✨ SYNOPSIS ✨

here's the whole vibe, character for character, don't touch a thing:

struct aspeed_gate_data {
    u8 clock_idx;
    s8 reset_idx;
    const char      *name;
    const char      *parent_name;
    unsigned long   flags;
 };

like. five fields. five little icons, each one doing its job. main character energy fr fr πŸ’–


✨ Members ✨

  • clock_idx β€” the bit used to gate this clock in the clock register. yeah, that bit. the one that flips the switch. πŸ¦‹
  • reset_idx β€” the bit used to reset this IP in the reset register. and listen β€” it's -1 if no reset is required when enabling the clock. so if you see -1, that's not a bug, that's just the "we don't need a reset here" vibe check. πŸ’€
  • name β€” the clock name. that's literally it. it's the name. iconic. ✨
  • parent_name β€” the name of the parent clock. everyone's got a parent clock, iykyk πŸ‘‘
  • flags β€” standard clock framework flags. standard! nothing weird! just the usual flags doing usual flag things. 🌈
ngl these member one-liners are short but they're doing exactly what they need to do and I respect it deeply 🫢

✨ SEE ALSO ✨

go look at these, bestie, they're the friend group:

  • The Kernel file ./drivers/clk/aspeed/clk-aspeed.h β€” where the actual header lives πŸ’œ
  • struct aspeed_clk_gate(9)
  • struct aspeed_reset(9)
  • struct aspeed_clk_soc_data(9)
  • ./drivers/clk/aspeed β€” the directory, the whole neighborhood, the entire block party 🏑

and that's the page!! πŸŽ‰ fr fr you now know everything this manual has to say about struct aspeed_gate_data.

this little masterpiece is dated October 2026 and it comes to you straight from ./drivers/clk/aspeed in the Kernel API Manual β€” so go forth, gate those clocks, and slay πŸ’…βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from