STRUCT ASPEED_CLK_SOC_DATA(9)
π struct aspeed_clk_soc_data(9) π
okay so bestie, we're in the Kernel API Manual and today's main character is struct aspeed_clk_soc_data β literally the Aspeed SoC specific divisor information bundle. slay.
πΈ NAME πΈ
struct aspeed_clk_soc_data β Aspeed SoC specific divisor information. that's the vibe, no cap.
β¨ SYNOPSIS β¨
here's the struct, exactly as it is, because we do not play around with source code in this group chat:
struct aspeed_clk_soc_data {
const struct clk_div_table *div_table;
const struct clk_div_table *eclk_div_table;
const struct clk_div_table *mac_div_table;
struct clk_hw *(*calc_pll)(const char *name, u32 val);
};
π Members π
div_tableβ the common divider lookup table. iconic little lookup table behavior.eclk_div_tableβ divider lookup table for ECLK. ECLK said "I have my own table actually" πmac_div_tableβ divider lookup table for MAC (Ethernet) clocks. ethernet clocks stay hydrated fr fr.calc_pllβ callback to maculate common PLL settings. yes, that's literally the wording β keep it cute and keep it exact π«Ά
π SEE ALSO π
- Kernel file:
./drivers/clk/aspeed/clk-aspeed.h - struct
aspeed_gate_data(9) - struct
aspeed_clk_gate(9) - struct
aspeed_reset(9)
go read those too, bestie, it's giving very "one of us" energy π
Source/version: ./drivers/clk/aspeed Β· date: October 2026 Β· this page: struct aspeed_clk_soc_data(9) β mwah, periodt πβ¨
π¦ 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