cs_dsp_mock...p_drop_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to struct cs_dsp_test object. 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 πŸ‘―β€β™€οΈ:


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