STRUCT DFLL_RATE_REQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dfll_rate_req(9) β€” bestie edition

okay so this is a page from the Kernel API Manual and it's literally all about struct dfll_rate_req, which is the target DFLL rate request data πŸŽ€ like, this is the little bundle of info that says "hey, here's the frequency we want." no cap. let's get into it ✨


✨ NAME ✨

struct dfll_rate_req β€” target DFLL rate request data πŸ¦‹

like, the name says it all honestly. it's the request, it's for the DFLL, and it's full of data. iconic.


🌸 SYNOPSIS 🌸

struct dfll_rate_req {
    unsigned long rate;
    unsigned long dvco_target_rate;
    int lut_index;
    u8 mult_bits;
    u8 scale_bits;
 };

that's the whole struct, bestie. five members. she's compact. she's efficient. we stan πŸ’…


πŸ”₯ Members πŸ”₯

okay so let's go through them one by one because each one is doing her own thing and we respect that:

  • rate β€” target frequency, after the postscaling. periodt.
  • dvco_target_rate β€” target frequency, after the postscaling. yes it also says "after the postscaling," that's literally what the original says, i'm not making this up πŸ™ˆ
  • lut_index β€” the LUT index at which voltage dvco_target_rate will be reached. so like, which rung on the ladder gets you that rate πŸ”₯
  • mult_bits β€” the value you program into the MULT bits of the DFLL_FREQ_REQ register. it's giving "here's your multiplier, go off."
  • scale_bits β€” the value you program into the SCALE bits of the DFLL_FREQ_REQ register. same energy, different bits ✨

πŸ‘‘ SEE ALSO πŸ‘‘

okay bestie this list is LONG and i need you to stay with me because every single one of these is here for a reason. this struct lives in the Kernel file ./drivers/clk/tegra/clk-dfll.c and it runs with all of these:

like. that's the whole friend group. they all hang out together in ./drivers/clk/tegra and honestly their group chat must be chaos 🫢


pro tip bestie: if you're touching this struct, you're probably also touching at least three of the functions above. they travel together. it's giving found family πŸ’€

and that's the page!! 🌈 you made it to the end, i'm so proud of you. this one's from the Kernel API Manual, living in the <pink>./drivers/clk/tegra</pink> neighborhood, dated October 2026, and catalogued as struct dfll_rate_req(9) β€” go forth and request some rates, you absolute icon πŸ’–πŸ‘‘β­

πŸ“¦ where this page comes from