STRUCT RESET_SIMPLE_DEVDATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct reset_simple_devdata(9) ✨

okay so real talk, this is a page straight outta the Kernel API Manual, and it's about one lil struct that basically holds the ~vibe settings~ for a simple reset controller. that's it. that's the whole thing. but bestie, the details MATTER, so let's go πŸ’…


πŸŽ€ NAME πŸŽ€

struct reset_simple_devdata β€” literally just the simple reset controller properties. no cap, that's what it is.


πŸ¦‹ SYNOPSIS πŸ¦‹

okay here's the whole struct, copy it exactly, don't be weird about it:

struct reset_simple_devdata {
    u32 reg_offset;
    u32 nr_resets;
    bool active_low;
    bool status_active_low;
 };

🌸 Members 🌸

okay so let's meet the squad, one member at a time 🫢

  • reg_offset β€” the offset between the base address and the first reset register. like, how far you gotta scoot over before the resets start. muy importante ✨
  • nr_resets β€” number of resets. and here's the tea: if it's not set, it defaults to the resource size in bits. so like, if you forget, the kernel just figures it out for you. king behavior honestly πŸ‘‘
  • active_low β€” if true, the bits are cleared to assert the reset. otherwise (so, false), the bits are set to assert the reset. two totally different vibes, don't mix 'em up πŸ’€
  • status_active_low β€” if true, the bits read back as cleared while the reset is asserted. otherwise (yep, false), the bits read back as set while the reset is asserted. so this one's about what you read back on the status side, not what you write. iykyk 🧚

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/reset/reset-simple.c β€” go read it, it's giving main character energy ⭐

and that's the page!! mwah πŸ’– this lil icon is filed under ./drivers/reset, dated October 2026, and that's the whole footer moment bestie β€” periodt. πŸŒˆπŸŽ€

πŸ“¦ where this page comes from