cs_dsp_wseq_multi_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cs_dsp_wseq_multi_write β€” the kernel API manual, but make it group chat

okay so bestie, welcome to the manual page for cs_dsp_wseq_multi_write(9) πŸ’– this one lives in the Kernel API Manual and it's literally about adding or updating a whole bunch of entries in a write sequence at once. multi-write. multi-slay. you get it ✨


🌸 NAME 🌸

cs_dsp_wseq_multi_write β€” add or update multiple entries in a write sequence. not one. not two. multiple, bestie 🫢


✨ SYNOPSIS ✨

int cs_dsp_wseq_multi_write (struct cs_dsp *dsp , struct cs_dsp_wseq
*wseq , const struct reg_sequence *reg_seq , int num_regs , u8 op_code ,
bool update );

that's the whole signature, no cap. keep every character exactly where it is πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • dsp β€” pointer to a DSP structure. yeah. that one. the struct cs_dsp * πŸ’…
  • wseq β€” the write sequence you're writing to πŸ¦‹
  • reg_seq β€” list of address-data pairs. like a lil shopping list but for registers πŸ›οΈ
  • num_regs β€” how many address-data pairs are in that list. count 'em πŸ”’
  • op_code β€” the types of operations of the new entries 🌈
  • update β€” if true, it searches for the first entry in the write sequence with the same address and op_code, and replaces it. if false, it creates a brand new entry at the tail 🌱
lowkey important: true = find-and-replace the first matching one. false = fresh entry, tail end, no searching. don't mix those up bestie 😭

πŸ’€ DESCRIPTION πŸ’€

so what does it actually do? simple. this function calls cs_dsp_wseq_write for multiple address-data pairs πŸ”₯

that's it. that's the whole vibe. it's a loop-ish situation wearing a trench coat 🧚


⭐ RETURN ⭐

zero for success πŸŽ‰ a negative number on error πŸ˜” (iykyk, that's the standard kernel mood)


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file it lives in, iconic: ./drivers/firmware/cirrus/cs_dsp.c

and now the full friend group, absolutely no one left out 🫢:


and that's the page!! πŸ’œ this lil masterpiece comes from ./drivers/firmware/cirrus, dated October 2026, and it's titled cs_dsp_wseq_multi_write(9) β€” go forth and multi-write, bestie, you're gonna ate this πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from