ds1685_rtc_switch_to_bank0(9)
π ds1685_rtc_switch_to_bank0 β the "okay we're going back to bank 0 now" era β¨
Hiii bestie π«Ά so this little icon lives in the Kernel API Manual (yes, the actual kernel API manual, we're fancy now π) and its whole entire job is switching the rtc over to bank 0. That's it. That's the function. Short king behavior honestly π
β¨ NAME β¨
ds1685_rtc_switch_to_bank0 β literally just switches the rtc to bank 0, no cap π
πΈ SYNOPSIS πΈ
void ds1685_rtc_switch_to_bank0 (struct ds1685_priv *rtc );
Notice the void? Yeah. It returns nothing. No return value, no little treat at the end, it just does the thing and dips π
π ARGUMENTS π
rtcβ a pointer to theds1685 rtcstructure, aka the little handle on the whole situation π¦
That's the only one. One single argument. Minimalist queen behavior, we love to see it β
π SEE ALSO π
Okay so here's the full friend group π β this function is not doing life alone, it's part of a whole squad, and they all live in the kernel file ./drivers/rtc/rtc-ds1685.c:
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_bank1(9)β yes, the other bank, the sequel π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)ds1685_rtc_poweroff(9)
Go read them. All of them. For the lore πβ¨
Bestie note π«Ά everything above is straight from the page, I'm not out here making things up β this one's just a tiny bank-switching icon and we respect it for exactly that π
And that's the whole vibe check, bestie π this cutie is straight out of ./drivers/rtc, dated October 2026, and the page header itself is ds1685_rtc_switch_to_bank0(9) from the Kernel API Manual β slay, no notes, 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