ds1685_rtc_proc(9)
π ds1685_rtc_proc β the kernel manual, but make it cute
okay so this is the ds1685_rtc_proc(9) page from the Kernel API Manual and bestie, it's short but it matters β it's literally the procfs access function, no cap. π
β¨ NAME β¨
ds1685_rtc_proc β the procfs access function. that's it, that's the whole vibe. it's giving "small function, big responsibility" honestly π
πΈ SYNOPSIS πΈ
int ds1685_rtc_proc (struct device *dev , struct seq_file *seq );
like look at her. two args, returns an int, absolute main character energy π₯
π¦ ARGUMENTS π¦
devβ a pointer to thedevicestructure. she's the one holding the hardware context, iykyk π«Άseqβ a pointer to theseq_filestructure. this is the procfs-side bestie that actually carries the output π
ngl there are only two of them so if you get these mixed up that's fully on you π
π SEE ALSO π
okay so this is the part where we shout out the whole friend group. the kernel file is ./drivers/rtc/rtc-ds1685.c and honestly she's the one holding everybody together β¨
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_sysfs_battery_show(9)ds1685_rtc_sysfs_auxbatt_show(9)ds1685_rtc_sysfs_serial_show(9)ds1685_rtc_probe(9)ds1685_rtc_remove(9)ds1685_rtc_poweroff(9)
likeβ¦ twenty-five functions. twenty-five!! the way this one little procfs function is connected to everybody is so real π
and that's the page bestie, we ate and left no crumbs π
this came out of ./drivers/rtc in October 2026, and the page itself is ds1685_rtc_proc(9) β 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