STRUCT REGMAP_RANGE(9)
π struct regmap_range(9) π
okay so bestie, welcome to the Kernel API Manual page for struct regmap_range π
this one's short and sweet β it's the little struct that says "here's a chunk of registers, from this one to that one" β and it's what the regmap access checks (readable / writeable / volatile / precious) use to make their decisions β¨
β¨ SYNOPSIS β¨
struct regmap_range {
unsigned int range_min;
unsigned int range_max;
};
literally the whole struct, that's her π«Ά two unsigned ints and a dream.
π¦ Members π¦
range_minβ the address of the first register in the range, i.e. where the vibe starts πΈrange_maxβ the address of the last register in the range, i.e. where the vibe ends π
so it's an inclusive lil window of registers, and the access related checks (readable/writeable/volatile/precious) use it to know what's in bounds, no cap π
π SEE ALSO π
the Kernel file to go look at is ./include/linux/regmap.h β that's the main character file of this whole situation π
and here's the rest of the friend group, bestie, all of them, no skipping π:
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_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_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)
like I said, big friend group, but every single one of them showed up ππ iykyk
this page lives in./include/linux, dated October 2026, and it'sstruct regmap_range(9)all the way down. mwah, go read the sidebar, slay π§ββοΈπΈ
π¦ 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