STRUCT TEGRA_CLK_PLL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct tegra_clk_pll(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so welcome to the Kernel API Manual page for struct tegra_clk_pll, which is literally the Tegra PLL clock struct and honestly? kind of iconic. sit down, grab a strawberry drink πŸ“, we're gonna go through the whole thing together, no cap.


✨ NAME ✨

struct tegra_clk_pll β€” the Tegra PLL clock πŸ•°οΈπŸ’–

🌸 SYNOPSIS 🌸

here's the whole struct, exactly as it is, don't touch the characters bestie:

struct tegra_clk_pll {
    struct clk_hw   hw;
    void __iomem    *clk_base;
    void __iomem    *pmc;
    spinlock_t *lock;
    struct tegra_clk_pll_params     *params;
 };

πŸ¦‹ Members πŸ¦‹

  • hw β€” the handle that sits between the common clk interfaces and the hardware-specific ones 🫢 (the go-between, the mutual friend of the clock world).
  • clk_base β€” the address of the CAR controller πŸ“
  • pmc β€” the address of PMC, which you need to read the override bits πŸ‘€
  • lock β€” the register lock πŸ”’ (yes queen, keep it safe)
  • params β€” the PLL parameters βš™οΈ

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/clk/tegra/clk.h, plus the whole friend group:

  • struct tegra_clk_sync_source(9)
  • struct tegra_clk_frac_div(9)
  • struct tegra_clk_pll_freq_table(9)
  • struct pdiv_map(9)
  • struct div_nmp(9)
  • struct tegra_clk_pll_params(9)
  • struct tegra_audio_clk_info(9)
  • struct tegra_clk_pll_out(9)
  • struct tegra_clk_periph_regs(9)
  • struct tegra_clk_periph_gate(9)
  • struct tegra_sdmmc_mux(9)

lowkey a whole squad. go read them too, iykyk πŸ’€βœ¨

and that's the page!! mwah πŸ’‹ β€” it lives in ./drivers/clk/tegra, the source/version is dated October 2026, and the footer still signs off as struct tegra_clk_pll(9). slay, periodt. πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from