STRUCT REG_FIELD(9)
β¨ NAME β¨
Okay so welcome to the Kernel API Manual, bestie π β this is the struct reg_field(9) page, and it's literally the description of an register field. Yes, βan registerβ β that's what it says, and we are not out here rewriting the facts, periodt π
.
π SYNOPSIS π
Here's the struct in all its main-character glory β¨:
struct reg_field {
unsigned int reg;
unsigned int lsb;
unsigned int msb;
unsigned int id_size;
unsigned int id_offset;
};
π Members π
Vibe check on the members, one by one π«Ά:
regβ Offset of the register within the regmap bank. Slay, that's the location bestie π.lsbβ lsb of the register field. Lowkey the lsb vibe β¨.msbβ msb of the register field. Highkey the msb vibe π.id_sizeβ port size if it has some ports. If it's got ports, this is the size, no cap πͺ.id_offsetβ address offset for each ports. The address offset for each of those ports, periodt π .
π SEE ALSO π
Kernel file ./include/linux/regmap.h β and then the whole friend group of references, bestie, all of them, no skips π:
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_i3c(9)devm_regmap_init_spi_avmm(9)devm_regmap_init_fsi(9)struct regmap_irq_type(9)struct regmap_irq(9)struct regmap_irq_chip(9)
Source/version and date check, bestie: this page comes from ./include/linux, dated October 2026, and it's the struct reg_field(9) manual page. Bye, love you! π«Άβ¨
π¦ 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