devm_regmap_init_i3c(9)
π 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 π§:
struct reg_default(9)struct reg_sequence(9)regmap_read_poll_timeout(9)regmap_read_poll_timeout_atomic(9)regmap_field_read_poll_timeout(9)struct regmap_range(9)struct regmap_access_table(9)struct regmap_config(9)struct regmap_range_cfg(9)struct regmap_sdw_mbq_cfg(9)struct regmap_bus(9)regmap_init(9)regmap_init_i2c(9)regmap_init_mdio(9)regmap_init_sccb(9)regmap_init_slimbus(9)regmap_init_spi(9)regmap_init_spmi_base(9)regmap_init_spmi_ext(9)regmap_init_w1(9)regmap_init_mmio_clk(9)regmap_init_mmio(9)regmap_init_ac97(9)regmap_init_sdw(9)regmap_init_sdw_mbq(9)regmap_init_sdw_mbq_cfg(9)regmap_init_i3c(9)regmap_init_spi_avmm(9)regmap_init_fsi(9)devm_regmap_init(9)devm_regmap_init_i2c(9)devm_regmap_init_mdio(9)devm_regmap_init_sccb(9)devm_regmap_init_spi(9)devm_regmap_init_spmi_base(9)devm_regmap_init_spmi_ext(9)devm_regmap_init_w1(9)devm_regmap_init_mmio_clk(9)devm_regmap_init_mmio(9)devm_regmap_init_ac97(9)devm_regmap_init_sdw(9)devm_regmap_init_sdw_mbq(9)devm_regmap_init_sdw_mbq_cfg(9)devm_regmap_init_slimbus(9)devm_regmap_init_spi_avmm(9)devm_regmap_init_fsi(9)struct reg_field(9)struct regmap_irq_type(9)struct regmap_irq(9)struct regmap_irq_chip(9)
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
- 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