STRUCT CLK_HW_FIXED_RATE_KUNIT_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct clk_hw_fixed_rate_kunit_params(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual β€” yes we're reading kernel docs for fun now, this is who we are πŸ’… and today's main character is struct clk_hw_fixed_rate_kunit_params, like the whole entire vibe ✨


🌸 NAME 🌸

struct clk_hw_fixed_rate_kunit_params β€” literally just the parameters you pass to __clk_hw_register_fixed_rate(), no cap 🫢


✨ SYNOPSIS ✨

here's the whole glow-up, copied exactly so you can screenshot it and put it on your wall:

struct clk_hw_fixed_rate_kunit_params {
    struct device *dev;
    struct device_node *np;
    const char *name;
    const char *parent_name;
    const struct clk_hw *parent_hw;
    const struct clk_parent_data *parent_data;
    unsigned long flags;
    unsigned long fixed_rate;
    unsigned long fixed_accuracy;
    unsigned long clk_fixed_flags;
 };

yes there's a lil extra space before the closing brace, we don't ask questions, we just respect it πŸ™ˆ


πŸŽ€ Members πŸŽ€

every single field, bestie, in order, so nobody gets left out:

  • dev β€” the device that's registering the clk 🫢 that's its whole job
  • np β€” the device_node of the device registering the clk 🌱
  • name β€” the name of the clk, iconic, unique-ish, love that for it ✨
  • parent_name β€” the parent name of the clk, iykyk β€” it's giving "who's your mother" 🌈
  • parent_hw β€” a clk_hw pointer to the parent of the clk, pointer bestie πŸ’…
  • parent_data β€” parent_data describing the parent of the clk, literally the lore πŸ’€
  • flags β€” the clk framework flags, the ✨system✨ level vibes
  • fixed_rate β€” the frequency of the clk, it's fixed, it's not changing, periodt πŸ”₯
  • fixed_accuracy β€” the accuracy of the clk, precision queen πŸ‘‘
  • clk_fixed_flags β€” fixed rate specific clk flags, the extra special little flags just for fixed-rate girlies πŸŽ€

πŸ’œ SEE ALSO πŸ’œ

go be nosy, bestie, the receipts are all here:


🫢 friendly reminder: this is a kunit test helper struct, so it lives in testing-land β€” it's not out here running your production clocks, bestie, okay? πŸ’–

and that's the page!! πŸ’– from ./drivers/clk, dated October 2026, signed struct clk_...kunit_params(9) β€” the abbreviation ate, honestly, struct clk_...kunit_params(9) is such a mood 😭 stay slay, stay clocked, xoxo πŸŽ€βœ¨

πŸ“¦ where this page comes from