STRUCT CLK_HW_FIXED_RATE_KUNIT_PARAMS(9)
π¦ 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β thedevicethat's registering the clk π«Ά that's its whole jobnpβ thedevice_nodeof 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β aclk_hwpointer to the parent of the clk, pointer bestie πparent_dataβparent_datadescribing the parent of the clk, literally the lore πflagsβ the clk framework flags, the β¨systemβ¨ level vibesfixed_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:
- Kernel file
./drivers/clk/clk-fixed-rate_test.cβ the source of truth π§ clk_hw_register_fixed_rate_kunit(9)β the registering one πΈclk_hw_unregister_fixed_rate_kunit(9)β the unregistering one, cleanup crew π
π«Ά 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
- 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