devm_sigmadsp_init_regmap(9)
π devm_sigmadsp_init_regmap(9) π
okay so bestie, you found yourself in the Kernel API Manual β¨ and this page is literally all about devm_sigmadsp_init_regmap β say that five times fast, i dare you π
π NAME π
devm_sigmadsp_init_regmap β Initialize SigmaDSP instance
no cap, that's the whole vibe: we're initializing a SigmaDSP instance π
β¨ SYNOPSIS β¨
struct sigmadsp * devm_sigmadsp_init_regmap (struct device *dev , struct
regmap *regmap , const struct sigmadsp_ops *ops , const char
*firmware_name );
look at that signature, it's giving main character energy π
π¦ ARGUMENTS π¦
devβ The parent device πΈregmapβ Regmap instance to use, like the regmap you're passing in, periodtopsβ Thesigmadsp_opsto use for this instance π«Άfirmware_nameβ Name of the firmware file to load π
π DESCRIPTION π
So what does it actually do? It allocates a SigmaDSP instance and loads the specified firmware file π₯ that's it, that's the whole thing, and honestly? iconic.
On success you get back a pointer to a struct sigmadsp π but if something goes sideways, you get a PTR_ERR on error π (iykyk β that's the error-pointer thing, check it, don't just dereference it, bestie π).
π SEE ALSO π
- Kernel file
./sound/soc/codecs/sigmadsp-regmap.cβ
π friendly reminder: every flag, value, and path above is exactly as the kernel devs wrote it β so don't go "fixing" the spelling of anything, fr fr.
slay and goodbye π this page came from the source dir ./sound/soc/codecs, dated October 2026, and yes the manual itself is called devm_sigmadsp_init_regmap(9) β go forth and load some firmware, bestie! π§π
π¦ 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