STRUCT FSL_ASOC_CARD_PRIV(9)
β¨ struct fsl_asoc_card_priv(9) β¨
okay so bestie, welcome to the Kernel API Manual π this is the page for struct fsl_asoc_card_priv, and no cap, it's literally the whole personality of the Freescale Generic ASOC card just chilling in one struct. grab a strawberry π and let's get into it.
πΈ NAME πΈ
struct fsl_asoc_card_priv β Freescale Generic ASOC card private data. that's it, that's the vibe check π
π SYNOPSIS π
here's the whole glow-up, character for character, don't touch a single glyph:
struct fsl_asoc_card_priv {
struct snd_soc_dai_link dai_link[3];
struct simple_util_jack hp_jack;
struct simple_util_jack mic_jack;
struct platform_device *pdev;
const struct fsl_asoc_card_pdata *pdata;
struct codec_priv codec_priv[2];
struct cpu_priv cpu_priv;
struct snd_soc_card card;
const struct snd_pcm_hw_constraint_list *constraint_rates;
const struct snd_pcm_hw_constraint_list *constraint_channels;
u8 streams;
u32 sample_rate;
snd_pcm_format_t sample_format;
u32 asrc_rate;
snd_pcm_format_t asrc_format;
u32 dai_fmt;
u64 exclude_format;
char name[32];
};
π Members π
okay these are the fields, and every single one of them is a main character in their own right:
dai_linkβ the DAI link structure, and yes it's giving both energies: it holds the normal one and the DPCM link π¦hp_jackβ the Headphone Jack structure. headphones on, world off, periodt π§mic_jackβ the Microphone Jack structure. speak bestie, we're listening β¨pdevβ platform device pointer, just pointing at things, iconic behavior πpdataβ pointer to the per-compatible card platform data πcodec_privβ the CODEC private data π₯cpu_privβ the CPU private data βcardβ the ASoC card structure, the whole moment fr fr πconstraint_ratesβ array of supported rates πconstraint_channelsβ array of supported channels πΈstreamsβ mask of current active streams, lowkey the busiest field here πsample_rateβ current sample rate π΅sample_formatβ current sample format β¨asrc_rateβ the ASRC sample rate used by Back-Ends π§asrc_formatβ the ASRC sample format used by Back-Ends π«Άdai_fmtβ the DAI format between CPU and CODEC πexclude_formatβ excluded format; (yep, that semicolon is canon, we don't edit the source material π)nameβ the Card name π
π¦ SEE ALSO π¦
- Kernel file
./sound/soc/fsl/fsl-asoc-card.c struct codec_priv(9)struct cpu_priv(9)
go read those next, iykyk π
and that's the page bestie!! π this little masterpiece lives in ./sound/soc/fsl, and it's dated October 2026 β so yeah, it's from the future, we don't question it, we just slay. byeeee π«Άππ
π¦ 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