ds1685_rtc_poweroff(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so, ds1685_rtc_poweroff β€” bestie, the whole entire job of this function is using the RTC chip to power the system off. that's it, that's the function πŸ’…

and quick vibe check before we go any further: this page lives in the Kernel API Manual, section 9, so it's kernel-internal, deep-lore territory. iykyk 🫢


πŸŽ€ SYNOPSIS πŸŽ€

void __noreturn ds1685_rtc_poweroff (struct platform_device *pdev );

notice the __noreturn? yeah. it's marked as not returning, so like… literally do not expect to come back from this one 😭


🌸 ARGUMENTS 🌸

  • pdev β€” a pointer to the platform_device structure. that's the one and only thing you hand it. 🎁

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file it all lives in, no cap:

./drivers/rtc/rtc-ds1685.c

and here's the whole squad it hangs out with (all section 9, obvi):

like, the whole ds1685_rtc_* family reunion is right there if you need it πŸ”₯


and that's the page, bestie πŸŽ€ that little sign-off at the bottom of the original said ./drivers/rtc for the source, dated October 2026, and the title it was filed under is ds1685_rtc_poweroff(9) β€” consider all of it credited, mwah πŸ’‹

πŸ“¦ where this page comes from