mtk_adsp_get_registers(9)
bestie, welcome to mtk_adsp_get_registers(9) from the Kernel API Manual β this is the page for when the DSP has an oops and we need the receipts. β¨ main character energy only π
π NAME π
okay so mtk_adsp_get_registers is the function you call in case of a DSP oops, because we need to gather information about the registers, filename and linenumber, and the stack. itβs giving crash-scene investigator but make it kernel β¨
πΈ SYNOPSIS πΈ
the whole signature, no cap:
void mtk_adsp_get_registers (struct snd_sof_dev *sdev , struct sof_ipc_dsp_oops_xtensa *xoops , struct sof_ipc_panic_info *panic_info , u32 *stack , size_t stack_words );
π ARGUMENTS π
sdevβ SOF device. thatβs the device itself, bestie π«Άxoopsβ Stores information about registers. registers get their own little info home β¨panic_infoβ Stores information about filename and line number. filename and line number info, periodt πstackβ Stores the stack dump. literally the receipts πstack_wordsβ Size of the stack dump. the size, no cap π
π¦ SEE ALSO π¦
Kernel file: ./sound/soc/sof/mediatek/mtk-adsp-common.c β thatβs where this lives π
related function besties, all linked and everything:
mtk_adsp_dump(9)mtk_adsp_send_msg(9)mtk_adsp_handle_reply(9)mtk_adsp_handle_request(9)mtk_adsp_get_bar_index(9)mtk_adsp_stream_pcm_hw_params(9)mtk_adsp_stream_pcm_pointer(9)
cute sign-off time: source/version is ./sound/soc/sof/mediatek, date is October 2026, and the page is mtk_adsp_get_registers(9). byeee, go gather those registers responsibly π«Άπβ¨
π¦ 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