STRUCT RESET_SIMPLE_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct reset_simple_data(9) β€” Kernel API Manual πŸ’–

okay so bestie, this is the Kernel API Manual page for struct reset_simple_data, and it's literally the driver data for simple reset controllers. no cap, that's the whole vibe. πŸŽ€


✨ NAME ✨

struct reset_simple_data β€” driver data for simple reset controllers. slay. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

       struct reset_simple_data {
           spinlock_t lock;
           void __iomem                    *membase;
           struct reset_controller_dev     rcdev;
           bool active_low;
           bool status_active_low;
           unsigned int                    reset_us;
        };

🌸 Members 🌸

  • lock β€” the spinlock that protects registers during read-modify-write cycles. protecting the registers, periodt. πŸ”’
  • membase β€” the memory mapped I/O register range. it's giving "where the registers live." πŸ“
  • rcdev β€” the reset controller device base structure. the main character structure, honestly. πŸ‘‘
  • active_low β€” if true, bits are cleared to assert the reset. Otherwise, bits are set to assert the reset. Note that this says nothing about the voltage level of the actual reset line. so like, do not read this as a voltage-level claim, bestie β€” it's strictly about the bits. πŸ™ˆ
  • status_active_low β€” if true, bits read back as cleared while the reset is asserted. Otherwise, bits read back as set while the reset is asserted. status bits doing their little readback thing. 🫢
  • reset_us β€” minimum delay in microseconds needed that needs to be waited for between an assert and a deassert to reset the device. If multiple consumers with different delay requirements are connected to this controller, it must be the largest minimum delay. 0 means that such a delay is unknown and the reset operation is unsupported. okay so 0 is not cute here β€” it means unknown + unsupported, fr fr. 😭
tiny but important vibe check: reset_us with multiple consumers has to be the largest minimum delay, and 0 means the delay is unknown and the reset operation is unsupported.

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/reset/reset-simple.h β€” go read it, iykyk. πŸ“–

that's the whole page, bestie β€” source/version ./include/linux/reset, dated October 2026, for struct reset_simple_data(9). iconic. πŸ’–βœ¨

πŸ“¦ where this page comes from