STRUCT CS_DSP_MOCK_ALG_DEF(9)
π struct cs_dsp_mock_alg_def(9) π
okay so this is a page straight outta the Kernel API Manual, and we're talking about struct cs_dsp_mock_alg_def β literally the little info bundle you use for creating a mock algorithm entry. bestie. a mock algorithm. it's fake but make it fashion π
β¨ NAME β¨
struct cs_dsp_mock_alg_def β the info you need for creating a mock algorithm entry, no cap π
π¦ SYNOPSIS π¦
struct cs_dsp_mock_alg_def {
unsigned int id;
unsigned int ver;
unsigned int xm_base_words;
unsigned int xm_size_words;
unsigned int ym_base_words;
unsigned int ym_size_words;
unsigned int zm_base_words;
unsigned int zm_size_words;
};
likeβ¦ look at her. eight unsigned ints and not a single one out of place. main character energy fr fr π
πΈ Members πΈ
idβ the Algorithm ID. that's her government name π«Άverβ the Algorithm version. gotta keep track of which era of her we're in.xm_base_wordsβ the XM base address in DSP words. words!! not bytes!! iykyk πxm_size_wordsβ the XM size in DSP words. how much XM she's serving πym_base_wordsβ the YM base address in DSP words. yeah she's got a whole other memory space, obsessed.ym_size_wordsβ the YM size in DSP words. again: words. don't come for me about bytes πzm_base_wordsβ the ZM base address in DSP words. third memory, third vibe β¨zm_size_wordsβ the ZM size in DSP words. and that's the full set, periodt π
ngl the whole XM/YM/ZM trio is giving "three besties, one group chat" and honestly? iconic.
π SEE ALSO π
- Kernel file
./include/linux/firmware/cirrus/cs_dsp_test_utils.hβ go read the source, it's right there bestie π struct cs_dsp_test(9)β the test struct, she's in the group chat too πstruct cs_dsp_mock_xm_header(9)β and the XM header one, completing the trio π§
and that's the whole page!! ok bye ily, this was the Kernel API Manual for struct cs_dsp_mock_alg_def(9), sourced from ./include/linux/firmware/cirrus, dated October 2026 β catch you in the next manpage, mwah ππΈπ«Ά
π¦ 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