STRUCT CLK_PARENT_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the struct clk_parent_data(9) page from the Kernel API Manual. It's literally: struct clk_parent_data β€” clk parent information. That's the whole assignment: keeping track of a clk's parent info. πŸ‘‘


✨ SYNOPSIS ✨

Here's the struct in all its main-character glory:

struct clk_parent_data {
    const struct clk_hw     *hw;
    const char              *fw_name;
    const char              *name;
    int index;
};

No cap, that's the exact shape. πŸŽ€


🫢 Members 🫢

  • hw β€” parent clk_hw pointer (used for clk providers with internal clks). It's the ride-or-die pointer for providers with internal clks.
  • fw_name β€” parent name local to provider registering clk. It's the name that lives with the provider doing the registering.
  • name β€” globally unique parent name (used as a fallback). Your backup name, but make it globally unique, bestie.
  • index β€” parent index local to provider registering clk (if fw_name absent). If fw_name isn't there, this index steps in.

🌈 SEE ALSO 🌈

The whole posse is here, no one left out:


mwah πŸ’‹ this page came from ./include/linux, its date stamp is October 2026, and the title on the tin is still struct clk_parent_data(9) β€” bye bestie, go make those clocks behave! πŸŽ€βœ¨

πŸ“¦ where this page comes from