STRUCT RESET_SIMPLE_DEVDATA(9)
β¨ 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β iftrue, 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β iftrue, 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
- 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