fsl_esai_set_dai_sysclk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fsl_esai_set_dai_sysclk(9) β€” from the Kernel API Manual πŸŽ€

okay so bestie, buckle up, because today we're configuring the clock frequency of MCLK β€” that's HCKT/HCKR to you and me ✨ this little function lives its whole life in the kernel API manual and honestly? iconic. let's get into it πŸ¦‹


✨ SYNOPSIS ✨

int fsl_esai_set_dai_sysclk (struct snd_soc_dai *dai , int clk_id ,
       unsigned int freq , int dir );

that's the whole vibe check right there πŸ’… four arguments, one int coming back at you, no cap 🫢


🌸 ARGUMENTS 🌸

  • dai β€” pointer to DAI 🫢 literally just a pointer, she's pointing at a DAI, that's her whole job
  • clk_id β€” The clock source of HCKT/HCKR (Input from outside; output from inside, FSYS or EXTAL) πŸ‘‘ so like, where the clock is coming from: outside input, inside output, FSYS, or EXTAL, iykyk
  • freq β€” The required clock rate of HCKT/HCKR πŸ”₯ the actual rate you want, unsigned int and everything
  • dir β€” The clock direction of HCKT/HCKR πŸ¦‹ which way the clock is going, bestie

⭐ NOTE ⭐

If the direction is input, we do not care about clk_id πŸ’€ like, genuinely do not care. input direction? clk_id is not invited to the conversation. periodt.

🌈 SEE ALSO 🌈

go read those, they're all in the same friend group fr fr πŸ’–


sign-off time 🧚 this gorgeous little page comes to you from ./sound/soc/fsl, dated October 2026, and it's filed under fsl_esai_set_dai_sysclk(9) β€” main character energy, obviously πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from