cs_dsp_hibernate(9)
π€ cs_dsp_hibernate β the Kernel API Manual glow-up β¨
okay so bestie, this one's a kernel API page from the 9 manual (the kernel API section, yk) β and it's literally the nap button for a DSP π
πΈ NAME πΈ
cs_dsp_hibernate β disable or enable all controls for a DSP π€
β¨ SYNOPSIS β¨
void cs_dsp_hibernate (struct cs_dsp *dsp , bool hibernate );
like, that's the whole vibe β one call, two args, no return, no drama π
π«Ά ARGUMENTS π«Ά
dspβ pointer to the DSP structure π (your main character struct, fr)hibernateβ whether to set the controls to cache only mode π§
π¦ DESCRIPTION π¦
okay so here's the tea β when hibernate is true, the DSP is entering hibernation mode β the regmap is inaccessible, and all controls become cache only. like, they're not touching the hardware, they're just vibing in memory π
when hibernate is false, the DSP has exited hibernation mode. and if the DSP is running, all controls are re-synced to the DSP β¨ lowkey the wake-up stretch after the nap, periodt.
π SEE ALSO π
the whole friend group, no cap:
- Kernel file
./drivers/firmware/cirrus/cs_dsp.c 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_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)cs_dsp_wseq_multi_write(9)
and that's the whole page bestie, go put your DSP to sleep π«Άπ
sign-off time π this lil beauty lives in ./drivers/firmware/cirrus, dropped October 2026, and it's cs_dsp_hibernate(9) β iconic, no notes π
β¨
π¦ 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