STRUCT AT91_RESET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct at91_reset(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this page is literally all about struct at91_reset, the AT91 reset-specific data structure. it’s giving β€œreset controller main character energy” and we’re obsessed ✨

🌸 NAME 🌸

struct at91_reset is the AT91 reset specific data structure β€” the dedicated struct for AT91 reset stuff, periodt πŸ’–

✨ SYNOPSIS ✨

struct at91_reset {
    void __iomem *rstc_base;
    void __iomem *ramc_base[2];
    void __iomem *dev_base;
    struct clk *sclk;
    const struct at91_reset_data *data;
    struct reset_controller_dev rcdev;
    spinlock_t lock;
    struct notifier_block nb;
    u32 args;
    u32 ramc_lpr;
};

πŸŽ€ Members πŸŽ€

vibe check on the members β€” every single field is here, no skips, no cap:

  • rstc_base β€” base address for system reset. that’s her home base πŸ’…
  • ramc_base β€” array with base addresses of RAM controllers. yes bestie, it’s an array, and the synopsis says [2] 🫢
  • dev_base β€” base address for devices reset. slay.
  • sclk β€” slow clock. lowkey essential.
  • data β€” platform specific reset data. iykyk.
  • rcdev β€” reset controller device. main character energy fr fr.
  • lock β€” lock for devices reset register access. protect the register access, bestie πŸ”’
  • nb β€” reset notifier block. not me being notified πŸ™ˆ
  • args β€” SoC specific system reset arguments. cute.
  • ramc_lpr β€” SDRAM Controller Low Power Register. iconic name honestly πŸ‘‘

🌈 SEE ALSO 🌈

  • the SEE ALSO squad is: Kernel file ./drivers/power/reset/at91-reset.c, plus enum reset_type(9), struct at91_reset_data(9) β€” go read them, fr fr πŸ’œ

xoxo πŸ’– β€” this page lives under ./drivers/power/reset, dated October 2026, and it’s still serving struct at91_reset(9) realness πŸ¦‹

πŸ“¦ where this page comes from