mtk_adsp_get_bar_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 by snd_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 πŸ”₯


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