STRUCT OMAP_WD_TIMER_PLATFORM_DATA(9)
β¨ struct omap_wd_timer_platform_data π
okay so bestie, welcome to the Kernel API Manual entry for struct omap_wd_timer_platform_data(9) β yes that's the full name, yes the header line gets truncated to struct omap_...latform_data(9) when it doesn't fit, and no, we are not going to be normal about it. π
This is the little struct that handles WDTIMER integration to the host SoC. That's the whole vibe. β¨
πΈ NAME πΈ
struct omap_wd_timer_platform_data β WDTIMER integration to the host SoC
and the member, which is genuinely the entire personality of this struct:
@read_reset_sourcesβ fn ptr for the SoC to indicate the last reset cause π
π¦ SYNOPSIS π¦
struct omap_wd_timer_platform_data {
u32 (*read_reset_sources)(void);
};
that's it. that's the struct. one (1) member. no cap. π
π Members π
read_reset_sourcesβ au32 (*)(void)function pointer. it's the fn ptr for the SoC to indicate the last reset cause, and it's lowkey carrying this whole struct on its back. π«Ά
π₯ Description π₯
bestie, listen. the function pointed to by read_reset_sources must return its data in a standard format. that's not a suggestion, that's the rules. β¨
wanna know what the standard format actually is? go search for RST_SRC_ID_SHIFT in arch/arm/mach-omap2. that's the homework. iykyk. π
π SEE ALSO π
- Kernel file
./include/linux/platform_data/omap-wd-timer.hβ go read it, it's iconic π
okay that's the whole page, bestie!! π§ source: ./include/linux/platform_data, dated October 2026, and yes the footer also says struct omap_...latform_data(9) again because the man page renderer is nothing if not consistent. slay. ππ
π¦ 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