sh_wdt_write_cnt(9)
π NAME π
sh_wdt_write_cnt β Write to Counter
okay bestie, this is sh_wdt_write_cnt(9) from the Kernel API Manual, and yes the name is literally βwrite to counter.β iconic.
β¨ SYNOPSIS β¨
void sh_wdt_write_cnt (__u8 val );
π ARGUMENTS π
valβ Value to write. Thatβs the whole assignment, no cap.
π¦ DESCRIPTION π¦
No cap: this writes the given value val to the lower byte of the timer counter. The upper byte is set manually on each write.
So yeah β lower byte gets val, upper byte is a manual situation every single time. slay.
π SEE ALSO π
Kernel file ./arch/sh/include/asm/watchdog.h β plus the whole linked bestie lineup:
sh_wdt_read_cnt(9)sh_wdt_write_bst(9)sh_wdt_read_csr(9)sh_wdt_write_csr(9)sh_wdt_read_cnt(9)sh_wdt_read_csr(9)sh_wdt_write_csr(9)
mwah π
shoutout to the source/version ./arch/sh/include/asm, dated October 2026. periodt. π«Ά
π¦ 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