STRUCT ASPEED_GATE_DATA(9)
π 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-1if 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms