devm_regmap_init_i3c(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devm_regmap_init_i3c(9) ✨

okay bestie, welcome to the Kernel API Manual β€” this is the one that spins up a managed register map for an I3C device, and honestly? it's giving "the kernel will clean up after you" main character energy 🫢


🌸 NAME 🌸

devm_regmap_init_i3c β€” init a register map, but make it managed πŸ’–


✨ SYNOPSIS ✨

devm_regmap_init_i3c (i3c , config );

πŸŽ€ ARGUMENTS πŸŽ€

  • i3c β€” the device you're gonna be interacting with, no cap πŸ¦‹
  • config β€” the configuration for the register map, aka how you want this thing set up ⭐

πŸ’œ DESCRIPTION πŸ’œ

So here's the tea β˜•: what you get back is either an ERR_PTR if something went wrong 😭, or a valid pointer to a struct regmap if it slayed πŸ”₯.

And the iconic part? The regmap gets automatically freed by the device management code. Not you. Never you. Device management handles it, periodt πŸ’…βœ¨


🌈 SEE ALSO 🌈

Kernel file ./include/linux/regmap.h, plus the whole extended fam 🧚:


lowkey obsessed with how this whole list is just the regmap init extended universe 🌌 iykyk

and that's the whole page, bestie πŸ’– straight from ./include/linux, dated October 2026, and yeah β€” the footer still says devm_regmap_init_i3c(9) because some things never change 😌 mwah πŸ’‹

πŸ“¦ where this page comes from