cs_dsp_creat...ck_xm_header(9)
π cs_dsp_creat...ck_xm_header(9) π
okay bestie so this is a page from the Kernel API Manual, and yes the title is doing that truncated thing (cs_dsp_creat...ck_xm_header(9)) β it's just cs_dsp_create_mock_xm_header, the name got squished by the man page formatter. Iconic of it, honestly. π
β¨ NAME β¨
cs_dsp_create_mock_xm_header β literally just makes a dummy XM header. That's the whole vibe. π«Ά
πΈ SYNOPSIS πΈ
struct cs_dsp_mock_xm_header * cs_dsp_create_mock_xm_header (struct
cs_dsp_test *priv , const struct cs_dsp_mock_alg_def *algs , size_t
num_algs );
π¦ ARGUMENTS π¦
privβ a pointer tostruct cs_dsp_test. Just the test context, your lil' home base. πalgsβ pointer to an array ofstruct cs_dsp_mock_alg_defthat lists which dummy algorithm entries go into the XM header. iykyk, it's the guest list πnum_algsβ the number of entries in thealgsarray. gotta tell it how many guests are actually showing up π₯
β RETURN β
It hands you back a pointer to the freshly created struct cs_dsp_mock_xm_header. no cap, that's it. π
π SEE ALSO π
- the kernel file:
./drivers/firmware/cirrus/test/cs_dsp_mock_mem_maps.c cs_dsp_mock_size_of_region(9)cs_dsp_mock_base_addr_for_mem(9)cs_dsp_mock_reg_addr_inc_per_unpacked_word(9)cs_dsp_mock_reg_block_length_bytes(9)cs_dsp_mock_reg_block_length_registers(9)cs_dsp_mock_reg_block_length_dsp_words(9)cs_dsp_mock_has_zm(9)cs_dsp_mock_packed_to_unpacked_mem_type(9)cs_dsp_mock_num_dsp_words_to_num_packed_regs(9)cs_dsp_mock_xm_header_get_alg_base_in_words(9)cs_dsp_mock_xm_header_get_fw_version(9)cs_dsp_mock_xm_header_drop_from_regmap_cache(9)cs_dsp_mock_xm_header_write_to_regmap(9)
ngl that's a whole lot of cs_dsp_mock_* friends but they're all serving in their own way π§
and that's the page!! mwah π it lives in ./drivers/firmware/cirrus/test, dated October 2026 β so yeah, bookmark it for your future self, bestie. π
π¦ 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