cs_dsp_wseq_multi_write(9)
π 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. thestruct 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β iftrue, it searches for the first entry in the write sequence with the same address andop_code, and replaces it. iffalse, 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 π«Ά:
cs_dsp_mem_region_name(9)cs_dsp_init_debugfs(9)cs_dsp_cleanup_debugfs(9)cs_dsp_coeff_write_acked_control(9)cs_dsp_coeff_write_ctrl(9)cs_dsp_coeff_lock_and_write_ctrl(9)cs_dsp_coeff_read_ctrl(9)cs_dsp_coeff_lock_and_read_ctrl(9)cs_dsp_hibernate(9)cs_dsp_get_ctl(9)cs_dsp_find_alg_region(9)cs_dsp_adsp1_init(9)cs_dsp_adsp1_power_up(9)cs_dsp_adsp1_power_down(9)cs_dsp_set_dspclk(9)cs_dsp_power_up(9)cs_dsp_power_down(9)cs_dsp_run(9)cs_dsp_stop(9)cs_dsp_adsp2_init(9)cs_dsp_halo_init(9)cs_dsp_remove(9)cs_dsp_read_raw_data_block(9)cs_dsp_read_data_word(9)cs_dsp_write_data_word(9)cs_dsp_remove_padding(9)cs_dsp_adsp2_bus_error(9)cs_dsp_halo_bus_error(9)cs_dsp_halo_wdt_expire(9)cs_dsp_chunk_write(9)cs_dsp_chunk_flush(9)cs_dsp_chunk_read(9)cs_dsp_wseq_init(9)cs_dsp_wseq_write(9)
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
- 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