cs_dsp_mock_...npacked_word(9)
π cs_dsp_mock_...npacked_word(9) π
okay so this is a page straight out of the Kernel API Manual, and honestly? it's a little one but it's a mighty one. bestie, we're talking about one tiny function that tells you how far to scoot the register address to land on the next DSP word in unpacked XM/YM/ZM. that's it. that's the whole vibe. but it matters, so let's go π«Ά
β¨ NAME β¨
cs_dsp_mock_reg_addr_inc_per_unpacked_word β the "how much do I add to the address" function. literally just: the register address increment per unpacked DSP word. no cap.
πΈ SYNOPSIS πΈ
unsigned int cs_dsp_mock_reg_addr_inc_per_unpacked_word (struct
cs_dsp_test *priv );
like, you hand it a priv and it hands you back an unsigned int. that's the trade. fair deal fr fr π
π ARGUMENTS π
privβ a pointer tostruct cs_dsp_test. that's your context bestie, she's carrying everything you need.
π¦ RETURN π¦
the amount by which the register address increments to move to the next DSP word in unpacked XM/YM/ZM. so likeβ¦ the step size. the stride. the little hop the address does to get to the next word β¨
note the "unpacked" bestie β this is the unpacked XM/YM/ZM case specifically, not the packed one. iykyk π
π SEE ALSO π
okay so here's the whole friend group, go say hi:
- the kernel file itself:
./drivers/firmware/cirrus/test/cs_dsp_mock_mem_maps.cβ that's where she lives π cs_dsp_mock_size_of_region(9)cs_dsp_mock_base_addr_for_mem(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)cs_dsp_create_mock_xm_header(9)
and that's the whole page, bestie π this icon dropped in October 2026, lives in ./drivers/firmware/cirrus/test, and yes it's got its own (9) section tag like the main character she is π mwah, go read the rest of the mock series, ily π
π¦ 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