STRUCT CS_DSP_TEST(9)
π struct cs_dsp_test(9) π
okay so this is a page from the Kernel API Manual, and it's literally the glow-up guide to a struct bestie. no cap, let's get into it π«Ά
β¨ NAME β¨
struct cs_dsp_test β the base class for test utilities, aka the main character of your test setup π
π¦ SYNOPSIS π¦
struct cs_dsp_test {
struct kunit *test;
struct cs_dsp *dsp;
struct cs_dsp_test_local *local;
};
like, that's the whole vibe. three members, zero drama β¨
π Members π
testβ a pointer to astruct kunitinstance. yup, your kunit test bestie lives here π§dspβ a pointer to astruct cs_dspinstance. the actual dsp situation, fr fr πlocalβ private data for each test suite. it's giving "don't read my diary" π
π SEE ALSO π
- kernel file
./include/linux/firmware/cirrus/cs_dsp_test_utils.h struct cs_dsp_mock_alg_def(9)struct cs_dsp_mock_xm_header(9)
like, go read those too, iykyk ππ₯
lowkey a reminder that this all lives in the kernel file ./include/linux/firmware/cirrus β that's the address, bestie, don't lose it π‘
and that's the tea π this icon was served up October 2026 out of ./include/linux/firmware/cirrus, and honestly? periodt. π
β¨
π¦ 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