ds1685_rtc_probe(9)
π ds1685_rtc_probe(9) β like, the whole Kernel API Manual moment
okay so bestie, welcome to ds1685_rtc_probe β this is the Kernel API Manual page for it, and yes it's short, but it's literally the main character of this little driver family, so let's give it the respect it deserves π
β¨ NAME β¨
ds1685_rtc_probe β initializes the rtc driver. that's it. that's the whole job. she walks in, she sets things up, she slays π
πΈ SYNOPSIS πΈ
int ds1685_rtc_probe (struct platform_device *pdev );
it returns an int (iykyk, that's the return code vibe check) and it takes exactly one thing. one. singular. iconic behavior honestly π¦
π«Ά ARGUMENTS π«Ά
pdevβ a pointer to theplatform_devicestructure. that's your one (1) input, bestie. a pointer, to a platform_device, and that's the tea β
π SEE ALSO π
okay this is the part where the manpage goes absolutely feral and lists everyone in the friend group, so let's go, no skips, no cuts β¨
The kernel file lives at ./drivers/rtc/rtc-ds1685.c, and it's bringing the whole squad:
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_remove(9)ds1685_rtc_poweroff(9)
twenty-five functions. twenty-five!! the way this driver has so many friends and still shows up to probe β highkey obsessed π§
ngl the manpage itself is giving minimal-effort queen: a NAME, a SYNOPSIS with one argument, and a SEE ALSO that does all the heavy lifting. but that's fine, because every single one of those references is up there, bestie. copy-paste would've been easier but we don't do that here π
and that's the page!! this beauty comes from the source path ./drivers/rtc, dated October 2026, and it's filed under ds1685_rtc_probe(9) β catch you in the next manpage, 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