cs_dsp_mock_..._packed_regs(9)
π cs_dsp_mock_..._packed_regs(9) β like, the kernel API manual bestie β¨
okay so first things first, the full title is literally cs_dsp_mock_..._packed_regs(9) and it's living in the Kernel API Manual, section 9, iykyk π
πΈ NAME πΈ
cs_dsp_mock_num_dsp_words_to_num_packed_regs β it takes a number of DSP words and gives you back the number of packed registers. that's it. that's the whole vibe π¦
β¨ SYNOPSIS β¨
unsigned int cs_dsp_mock_num_dsp_words_to_num_packed_regs (unsigned int
num_dsp_words );
like, look at her. she's gorgeous. unsigned int in, unsigned int out, no cap π
π«Ά ARGUMENTS π«Ά
num_dsp_wordsβ the number of DSP words you're bringing to the function. yes bestie, that's the one π
π§ DESCRIPTION π§
so this function converts a number of DSP words into a number of packed registers, and here's the important part β it rounds down to the nearest register. not up, not sideways, down. main character rounding energy fr fr β¬οΈπ
β RETURN β
returns the number of packed registers. that's your answer, periodt π
π₯ SEE ALSO π₯
- the kernel file
./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_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_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)
bestie the whole friend group is here, honestly iconic. go read all of them, you'll be obsessed ππ
and that's the whole page!! πβ¨ official sign-off time: this cutie comes from ./drivers/firmware/cirrus/test, she's dated October 2026, and her page handle is cs_dsp_mock_..._packed_regs(9). bye bestie, go convert some words π¦ππ
π¦ 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