snd_sof_dsp_get_bar_index(9)
π
snd_sof_dsp_get_bar_index(9) β Kernel API Manual β¨
okay bestie, welcome to the Kernel API Manual page for snd_sof_dsp_get_bar_index β it's giving βtiny function, very specific jobβ energy and honestly? iconic π
πΈ NAME πΈ
snd_sof_dsp_get_bar_index β Maps a section type with a BAR index π
β¨ SYNOPSIS β¨
int snd_sof_dsp_get_bar_index (struct snd_sof_dev *sdev , u32 type );
π¦ ARGUMENTS π¦
sdevβ the sof device, periodt πtypeβ the section type, as described bysnd_sof_fw_blk_typeβ¨
π DESCRIPTION π
This one returns the corresponding BAR index β a positive integer β or -EINVAL in case there is no mapping π
So like: mapping exists? cute positive integer BAR index. No mapping? -EINVAL, no cap. That's the whole vibe check π«Ά
π SEE ALSO π
- Kernel file
./sound/soc/sof/ops.hπ
okay bye bestie β this page came from the Kernel API Manual, source chilling at ./sound/soc/sof, dated October 2026 π«Άβ¨
π¦ 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