cs_dsp_mock..._patch_off32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the Kernel API Manual β€” this page is all about cs_dsp_mock_bin_add_patch_off32, and what it does is literally just add a patch data block with 32-bit offset. that's it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

void cs_dsp_mock_bin_add_patch_off32 (struct cs_dsp_mock_bin_builder
*builder , unsigned int alg_id , unsigned int alg_ver , int mem_region ,
unsigned int reg_addr_offset , const void *payload_data , size_t
payload_len_bytes );

no return value, it's a void girlie β€” she does the thing and dips πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • builder β€” pointer to struct cs_dsp_mock_bin_builder. this is the main character, the builder you're poking at ✨
  • alg_id β€” the algorithm ID for the patch. like, which algo are we talking about here πŸ‘€
  • alg_ver β€” the algorithm version for the patch. gotta be specific, periodt.
  • mem_region β€” the memory region for the patch. where it lives, fr fr.
  • reg_addr_offset β€” offset to the start of the data in register addresses. lowkey important, don't skip it 🫢
  • payload_data β€” pointer to the buffer containing the payload data. the actual good stuff πŸ’–
  • payload_len_bytes β€” length of payload data in bytes. gotta know how much of that buffer to read, ngl πŸ“

πŸ’œ SEE ALSO πŸ’œ


ok that's the whole page bestie, go forth and build your mock bins 🫑πŸ”₯

source: ./drivers/firmware/cirrus/test Β· dated October 2026 β€” mwah, hope this helped, ily, bye! πŸ’…πŸŽ€πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from