STRUCT ATCWDT_DRV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct atcwdt_drv(9) πŸ’–

okay bestie, this is straight outta the Kernel API Manual and it's giving kernel-private-data realness ✨


🌸 NAME 🌸

struct atcwdt_drv β€” ATCWDT200 watchdog driver private data. yep, it's the private-data bundle for this watchdog driver, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct atcwdt_drv {
    struct watchdog_device  wdt_dev;
    struct regmap           *regmap;
    struct clk              *clk;
    spinlock_t lock;
    unsigned int            clk_freq;
    unsigned char           clk_src;
    unsigned char           int_timer_type;
};

πŸŽ€ Members πŸŽ€

  • wdt_dev β€” Watchdog device used by the watchdog framework. literally the watchdog-framework-facing device, slay 🫢
  • regmap β€” Register map for accessing hardware registers. your little map to the hardware registers ✨
  • clk β€” Hardware clock used by the watchdog timer. the hardware clock the watchdog timer runs on πŸ’«
  • lock β€” Spinlock protecting register accesses and driver state. keeps register accesses and driver state safe, periodt πŸ”’
  • clk_freq β€” Input clock frequency of the ATCWDT200. the input clock frequency, noted πŸŽ€
  • clk_src β€” Selected clock source for the watchdog timer. which clock source got picked for the watchdog timer πŸ‘‘
  • int_timer_type β€” Detected interrupt timer type (16-bit, 32-bit, or unknown). the detected interrupt timer type β€” 16-bit, 32-bit, or unknown, iykyk πŸ’€

🌈 SEE ALSO 🌈

go peek at these, bestie:


xoxo, your kernel bestie πŸ’– β€” source/version: ./drivers/watchdog β€’ dated October 2026 🌸

πŸ“¦ where this page comes from