ds1685_rtc_poweroff(9)
β¨ 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 theplatform_devicestructure. 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):
ds1685_read(9)ds1685_write(9)ds1685_indirect_read(9)ds1685_indirect_write(9)ds1685_rtc_bcd2bin(9)ds1685_rtc_bin2bcd(9)ds1685_rtc_check_mday(9)ds1685_rtc_switch_to_bank0(9)ds1685_rtc_switch_to_bank1(9)ds1685_rtc_begin_data_access(9)ds1685_rtc_end_data_access(9)ds1685_rtc_get_ssn(9)ds1685_rtc_read_time(9)ds1685_rtc_set_time(9)ds1685_rtc_read_alarm(9)ds1685_rtc_set_alarm(9)ds1685_rtc_alarm_irq_enable(9)ds1685_rtc_extended_irq(9)ds1685_rtc_irq_handler(9)ds1685_rtc_proc(9)ds1685_rtc_sysfs_battery_show(9)ds1685_rtc_sysfs_auxbatt_show(9)ds1685_rtc_sysfs_serial_show(9)ds1685_rtc_probe(9)ds1685_rtc_remove(9)
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
- 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