STRUCT FSL_ASRC_PRIV(9)
π 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 frsocβ soc specific data π§ that's your per-soc goodies, the "every chip is different and that's valid" energyclk_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 ofREG_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
- 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