STRUCT CS_DSP_MOCK_ALG_DEF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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