STRUCT ATCWDT_DRV(9)
π 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:
- Kernel file
./drivers/watchdog/atcwdt200_wdt.c enum timer_type(9)atcwdt_get_index(9)atcwdt_get_clock_period(9)atcwdt_get_timeout_params(9)atcwdt_get_int_timer_type(9)
xoxo, your kernel bestie π β source/version: ./drivers/watchdog β’ dated October 2026 πΈ
π¦ 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