cs_dsp_mock_...th_dsp_words(9)
π cs_dsp_mock_reg_block_length_dsp_words(9) π
okay so this is a page from the Kernel API Manual, and honestly? it's a little guy with a big job. bestie, we're counting words. DSP words. in a block. let's get into it β¨
πΈ NAME πΈ
cs_dsp_mock_reg_block_length_dsp_words β literally just tells you the number of dsp_words in an access block. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
unsigned int cs_dsp_mock_reg_block_length_dsp_words (struct cs_dsp_test
*priv , int mem_type );
yes she takes two args, yes she returns an unsigned int, no she will not elaborate further (jk she will, scroll down π)
β¨ ARGUMENTS β¨
privβ a pointer tostruct cs_dsp_test. like, the whole test situation. you gotta hand her the context or she can't do her thing π«Άmem_typeβ the memory region type. which region are we talking about? that one. this tells her π
π₯ RETURN π₯
the total number of DSP words in a group of registers that make up the smallest bus access size. no cap, that's the answer. that's what you get back. π―
lowkey important: she's counting DSP words here, not bytes, not registers. those have their own whole functions (see below, there's like a whole friend group of them π)
π SEE ALSO π
the whole squad, fr fr β go say hi:
- 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_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)cs_dsp_create_mock_xm_header(9)
π that's the whole page, bestie. she lives in ./drivers/firmware/cirrus/test and this version is dated October 2026 β mwah, iconic, 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