fsl_asoc_constrain_rates(9)
π fsl_asoc_constrain_rates(9) β like, the Kernel API Manual page, bestie
okay so this is fsl_asoc_constrain_rates from the Kernel API Manual, and no cap, the whole vibe is "constrain rates according to clocks" π°οΈβ¨ Like, that's the entire personality. Short page, iconic energy.
πΈ NAME πΈ
fsl_asoc_constrain_rates β constrain rates according to clocks π
β¨ SYNOPSIS β¨
void fsl_asoc_constrain_rates (struct snd_pcm_hw_constraint_list
*target_constr , const struct snd_pcm_hw_constraint_list
*original_constr , struct clk *pll8k_clk , struct clk *pll11k_clk ,
struct clk *ext_clk , int *target_rates );
like yes, that's a lot of parameters, but we're built different π
π ARGUMENTS π
target_constrβ the target constraint π― (that's literally what it is, she's the target one)original_constrβ the original constraint π«Ά (theconstone, she's not changing)pll8k_clkβ PLL clock pointer for 8kHz π΅pll11k_clkβ PLL clock pointer for 11kHz πΆext_clkβ external clock pointer πtarget_ratesβ the target rates array π
ngl, this lineup is giving main character energy for each and every pointer π
π¦ DESCRIPTION π¦
okay so real talk: this function constrains rates according to clocks. π°οΈβ¨ That's the whole flex. She takes those clocks and those constraint lists and, like, constrains the rates. Periodt. π
π₯ SEE ALSO π₯
go read the kernel file ./sound/soc/fsl/fsl_utils.c and also, like, these iconic siblings:
fsl_asoc_get_dma_channel(9)πfsl_asoc_get_pll_clocks(9)βfsl_asoc_reparent_pll_clocks(9)π
iykyk, they're all in their fsl era together π«Ά
bestie reminder: this page lives in./sound/soc/fsl, it's dated October 2026, and the manual section isfsl_asoc_constrain_rates(9)β that's the whole footer vibe, so screenshot it and stan ππ
mwah, that's the page! go forth and constrain those rates, bestie π§π
π¦ 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