fsl_asoc_rep...t_pll_clocks(9)
π
fsl_asoc_reparent_pll_clocks(9) β Kernel API Manual, bestie edition π
okay so picture this: you're deep in the Kernel API Manual, section 9, and you've found the page for fsl_asoc_reparent_pll_clocks β yes the header truncates it to fsl_asoc_rep...t_pll_clocks(9) because even manpage headers need a little drama π β and honestly? she's short, she's sweet, she's a one-job icon.
β¨ NAME β¨
fsl_asoc_reparent_pll_clocks β set clock parent if necessary π°οΈπ
like, if necessary. she's not out here reparenting for fun. she checks first. main character energy but make it responsible.
πΈ SYNOPSIS πΈ
void fsl_asoc_reparent_pll_clocks (struct device *dev , struct clk *clk
, struct clk *pll8k_clk , struct clk *pll11k_clk , u64 ratio );
no return value, she just does it π«Ά returns void, so don't go looking for a status code, she's not giving you one.
π¦ ARGUMENTS π¦
devβ device pointer. the device in question, your main character π±clkβ root clock pointer. this is the one whose parent is getting switched up πpll8k_clkβ PLL clock pointer for 8kHz. the 8k girlie π§pll11k_clkβ PLL clock pointer for 11kHz. and her 11k bestie πΆratioβ target frequency for root clock. literally the whole reason we're here, it's the vibe check that decides everything β¨
π₯ DESCRIPTION π₯
So what does she actually do? This function set root clock parent according to the target ratio. that's it. that's the whole thing π
she looks at the target ratio, looks at the root clock clk, and hooks it up to the right parent β and she's got both pll8k_clk (8kHz) and pll11k_clk (11kHz) sitting there ready to be the parent, so likeβ¦ the math is mathing π₯
no cap, it's a tiny function with a tiny job and she ate. periodt.
π SEE ALSO π
Kernel file ./sound/soc/fsl/fsl_utils.c β go read the source, iykyk π
the whole friend group fr fr, go say hi to all of them π«Ά
lowkey a reminder: the names, types and signature up there are exact βstruct device *dev,struct clk *clk,struct clk *pll8k_clk,struct clk *pll11k_clk,u64 ratioβ so copy them character for character when you call her π
π and that's the page!! brought to you by ./sound/soc/fsl, dated October 2026, from your favorite kernel-obsessed bestie who wants you to slay your clock tree. mwah ππ
π¦ 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