STRUCT S3C2410_WDT_VARIANT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct s3c2410_wdt_variant ✨

okay bestie, so this page is from the Kernel API Manual and it's literally all about struct s3c2410_wdt_variant β€” that's the per-variant config data struct πŸŽ€ like, every Samsung watchdog IP-core gets to have its own little personality file, and this is it. no cap.


πŸ’… SYNOPSIS

struct s3c2410_wdt_variant {
    int disable_reg;
    int mask_reset_reg;
    bool mask_reset_inv;
    int mask_bit;
    int rst_stat_reg;
    int rst_stat_bit;
    int cnt_en_reg;
    int cnt_en_bit;
    u32 quirks;
 };

look at her. nine members, all gorgeous, all doing their own lil job 🫢


🌸 Members

so let's do a vibe check on every single field, one by one, because they ALL matter:

  • disable_reg β€” Offset in pmureg for the register that disables the watchdog timer reset functionality. like, this is where you go to turn the reset off πŸ’€
  • mask_reset_reg β€” Offset in pmureg for the register that masks the watchdog timer reset functionality. masking = hiding, and this one hides the reset 🎭
  • mask_reset_inv β€” If set, mask_reset_reg value will have inverted meaning. so, like, backwards logic β€” if this is true, read that register the opposite way πŸ™ˆ
  • mask_bit β€” Bit number for the watchdog timer in the disable register and the mask reset register. yep, one bit, two registers, iconic crossover ✨
  • rst_stat_reg β€” Offset in pmureg for the register that has the reset status. this is the receipts register, it tells you if a reset happened πŸ“‹
  • rst_stat_bit β€” Bit number in the rst_stat register indicating a watchdog reset. the one specific bit that says "yeah, the watchdog did that" πŸ‘‘
  • cnt_en_reg β€” Offset in pmureg for the register that enables WDT counter. counter go brrr πŸ”₯
  • cnt_en_bit β€” Bit number for "watchdog counter enable" in cnt_en register. quote marks and all, that's literally the name, iykyk πŸ’…
  • quirks β€” A bitfield of quirks. that's it. that's the description. mysterious. main character energy fr fr 🌈
side note bb: every Offset in pmureg one is an offset in pmureg β€” don't forget the pmureg part, that's where all the tea lives πŸ’–

πŸ¦‹ SEE ALSO

  • Kernel file ./drivers/watchdog/s3c2410_wdt.c β€” the actual source, go read her
  • Quirk flags for different Samsung watchdog IP-cores(9) β€” yes that's a whole other manpage, and yes you should read it next, the quirks deserve context 😭

okay that's the whole page bestie, go forth and configure your watchdog variants with confidence 🌟

mwah πŸ’‹ β€” this was the ./drivers/watchdog corner of the kernel docs, dated October 2026, signing off πŸŽ€βœ¨

πŸ“¦ where this page comes from