devm_regmap_init_mmio(9)
β¨ devm_regmap_init_mmio β¨
okay so bestie, welcome to the Kernel API Manual β this is the page for devm_regmap_init_mmio, and it's literally the "set up your register map and let the kernel clean up after you" moment π
πΈ NAME πΈ
devm_regmap_init_mmio β Initialise managed register map π
π¦ SYNOPSIS π¦
devm_regmap_init_mmio (dev , regs , config );
that's the whole vibe, no cap β¨
π ARGUMENTS π
devβ the Device that will be interacted with π«Ά like, this is the one doing the interacting, keep upregsβ Pointer to memory-mapped IO region π a pointer, to the mmio region, that's the whole thingconfigβ Configuration for register map βοΈ the settings, the setup, the little blueprint for your regmap
π DESCRIPTION π
okay so here's the tea π₯ the return value will be an ERR_PTR on error, or a valid pointer to a struct regmap. so like, check your return values, bestie, fr fr π
the regmap will be automatically freed by the device management code β that's the "devm" part doing its main character thing, you don't have to free it yourself, she handles it π β¨
and Implies 'fast_io'. that's it, that's the note, it just implies it π§
π SEE ALSO π
okay this list is LONG but we're listing every single one because I said so π no skipping, periodt:
Kernel file ./include/linux/regmap.h β plus all of these besties:
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_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_i3c(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)
fr fr that's all of them, every last one, I counted π
mwah π this page came from ./include/linux and it's dated October 2026 β and it's signed off as devm_regmap_init_mmio(9) because we stay on brand around here π«Άβ¨
π¦ 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