devm_sigmadsp_init_regmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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, periodt
  • ops β€” The sigmadsp_ops to 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