STRUCT REG_SEQUENCE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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) πŸ’€


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