mtk_adsp_get_bar_index(9)
π mtk_adsp_get_bar_index(9) π
okay bestie, welcome to the Kernel API Manual β this one is short and sweet, and it's giving "small function, big helper" energy, fr fr. π¦
π NAME π
mtk_adsp_get_bar_index β Map section type with BAR idx. no cap, that's literally the whole job. π
πΈ SYNOPSIS πΈ
int mtk_adsp_get_bar_index (struct snd_sof_dev *sdev , u32 type );
π¦ ARGUMENTS π¦
sdevβ the SOF device. main character energy β¨typeβ the section type, as described bysnd_sof_fw_blk_type. iykyk π
π DESCRIPTION π
MediaTek Audio DSPs have a 1:1 match between type and BAR idx β so the type and the BAR idx line up one-to-one. that's the vibe, periodt. π
π₯ SEE ALSO π₯
- Kernel file
./sound/soc/sof/mediatek/mtk-adsp-common.cβ go read the source, bestie π mtk_adsp_get_registers(9)mtk_adsp_dump(9)mtk_adsp_send_msg(9)mtk_adsp_handle_reply(9)mtk_adsp_handle_request(9)mtk_adsp_stream_pcm_hw_params(9)mtk_adsp_stream_pcm_pointer(9)
and that's the page, periodt π this cutie comes from the Kernel API Manual, source ./sound/soc/sof/mediatek, dated October 2026. mwah π«Ά
π¦ 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