STRUCT REG_SEQUENCE(9)
π struct reg_sequence(9) β a little glow-up for your writes π
okay so bestie, welcome to the Kernel API Manual page for struct reg_sequence(9) β¨ this is the little struct that carries one register write out of a whole sequence of writes, and honestly? it's giving main character energy for something so smol π
β¨ NAME β¨
struct reg_sequence β literally just an individual write from a sequence of writes π«Ά
π¦ SYNOPSIS π¦
struct reg_sequence {
unsigned int reg;
unsigned int def;
unsigned int delay_us;
};
(yes that's the whole thing, no cap β three lil fields and she's done π )
πΈ Members πΈ
regβ the register address. this is which register we're talking to, iykyk πdefβ the register value. this is the actual thing we're writing in there πdelay_usβ a delay to be applied after the register write, measured in microseconds. so like, post-write chill time β³β¨
π Description π
so what is this for? it's register/value pairs for sequences of writes, and each one can carry an optional delay in microseconds that gets applied after each write π that's it, that's the vibe. one struct = one write + maybe a lil pause. adorable. iconic. periodt. π
π₯ SEE ALSO π₯
Kernel file ./include/linux/regmap.h, plus the whole regmap friend group (she knows everybody, fr fr) π
struct reg_default(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 reg_field(9)struct regmap_irq_type(9)struct regmap_irq(9)struct regmap_irq_chip(9)
and that's the whole page bestie!! π§ mwah π
sign-off time: this lil beauty lives in ./include/linux, dated October 2026, and she's officially titled struct reg_sequence(9) β stay slay, stay registered, and don't forget your delay_us πππ
π¦ 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