STRUCT OMAP_WD_TIMER_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” a u32 (*)(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