STRUCT FSL_ASRC_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct fsl_asrc_priv(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ and yes we're doing a whole deep-dive on struct fsl_asrc_priv β€” it's the ASRC private data struct and honestly it's kind of the main character of this little corner of ./sound/soc/fsl 🌸


✨ NAME ✨

struct fsl_asrc_priv β€” ASRC private data πŸŽ€ that's it, that's the name, it's giving "my private data, do not perceive it" πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole glow-up, look at it, look at her:

struct fsl_asrc_priv {
    struct clk *asrck_clk[ASRC_CLK_MAX_NUM];
    const struct fsl_asrc_soc_data *soc;
    unsigned char *clk_map[2];
    u32 regcache_cfg;
 };

periodt πŸ’« nothing added, nothing removed, we keep it exact.


🌈 Members 🌈

okay let's meet the cast, one by one 🫢

  • asrck_clk β€” clock sources to driver ASRC internal logic πŸ”₯ like, this array is literally the clock supply for the driver's own internal logic, it's the group chat admin of timing fr fr
  • soc β€” soc specific data 🧚 that's your per-soc goodies, the "every chip is different and that's valid" energy
  • clk_map β€” clock map for input/output clock 😭 one map for in, one for out, a whole little two-slot situation ([2], iconic)
  • regcache_cfg β€” store register value of REG_ASRCFG πŸ’Ύ lowkey just a place to keep that register value hanging out so it's not lost, ngl that's a mood
πŸ’€ real talk though β€” everything above is a field, not an option, so please don't go passing any of these as flags. we're just describing the struct, bestie πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, they're the rest of the lore in Kernel file ./sound/soc/fsl/fsl_asrc.h:

  • struct fsl_asrc_soc_data(9)
  • struct fsl_asrc_pair_priv(9)

iykyk πŸ¦‹


and that's the whole page πŸ’– straight from ./sound/soc/fsl, stamped October 2026, and the header at the top said struct fsl_asrc_priv(9) twice because it's extra like that ✨ slay, you're now fully versed in ASRC private data, go forth and be iconic πŸ‘‘πŸŒˆπŸ’œ

πŸ“¦ where this page comes from