cs_dsp_mock...p_drop_range(9)
π NAME π
cs_dsp_mock_regmap_drop_range β bestie, this one literally drops a whole range of registers straight out of the cache ποΈβ¨
Ok so like, this is from the Kernel API Manual (that's the manual name, keep up π«Ά), and it's the little function that says "yeah no, these registers? not cached anymore, bye π".
β¨ SYNOPSIS β¨
void cs_dsp_mock_regmap_drop_range (struct cs_dsp_test *priv , unsigned int first_reg , unsigned int last_reg );
Like, that's the whole signature. Void return, three args, no notes π
void means it hands nothing back to you, it just does the thing and dips π.
π ARGUMENTS π
privβ Pointer tostruct cs_dsp_testobject. This is the main character, the test context, the vibe provider π.first_regβ Address of first register to drop. The beginning of the range, the opening act πΈ.last_regβ Address of last register to drop. The end of the range, the finale π¦.
So between first_reg and last_reg you've got your whole range, and this function is like "not me evicting all of you from the cache at once" ππ₯.
Heads up bestie: it wants register addresses for both ends, not counts or offsets. Address of first, address of last. Don't get cute with it π.
π SEE ALSO π
The kernel file lives at ./drivers/firmware/cirrus/test/cs_dsp_mock_regmap.c β that's the source of truth, go read it if you want the lore ππ
And the whole friend group π―ββοΈ:
cs_dsp_mock_regmap_drop_regs(9)β plural version, for when you have opinions about which ones β¨cs_dsp_mock_regmap_drop_bytes(9)β bytes instead of regs, different energy πcs_dsp_mock_regmap_drop_system_regs(9)β the system ones, special little guys πcs_dsp_mock_regmap_is_dirty(9)β the vibe check, is the cache dirty or not πcs_dsp_mock_regmap_init(9)β the origin story, where it all starts π§
Ok that's the whole page, periodt π This masterpiece comes to you courtesy of /drivers/firmware/cirrus/test (the source/version, iconic), dated October 2026 β β and yes the page is called cs_dsp_mock...p_drop_range(9), she's got a nickname, we love her for it ππΈ
π¦ 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