fsl_asoc_constrain_rates(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🫢 (the const one, 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:

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 is fsl_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