STRUCT ASPEED_CLK_SOC_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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