rx6110_data_to_rtc_tm(9)
π rx6110_data_to_rtc_tm π
okay so bestie, we're in the Kernel API Manual today and the main character is rx6110_data_to_rtc_tm β the little function that takes the RX6110's own native time encoding and translates it into a good old struct rtc_time so the rest of the kernel can actually read it. it's giving translator gf energy, honestly π
β¨ NAME β¨
rx6110_data_to_rtc_tm β convert native time encoding to rtc_time π¦
like literally that's her whole job and she ate π
πΈ SYNOPSIS πΈ
int rx6110_data_to_rtc_tm (u8 *data , struct rtc_time *tm );
returns an int, takes two pointers, no cap β¨
π ARGUMENTS π
dataβ holds the encoding in rx6110 native form π so it's the chip's own little dialect, raw and unfilteredtmβ holds date and time π°οΈ this is where the decoded, kernel-friendlystruct rtc_timelives
two pointers, one glow-up, periodt π
π§ SEE ALSO π§
the whole friend group lives in the kernel file ./drivers/rtc/rtc-rx6110.c and honestly they're all icons:
rx6110_rtc_tm_to_data(9)β the reverse vibe, iykyk πrx6110_set_time(9)rx6110_get_time(9)rx6110_init(9)rx6110_spi_probe(9)
ngl this one's a short read, but every detail matters fr fr β nothing skipped, nothing spilled π
okay that's the whole page, you're welcome, go be iconic with your RTC data π
β cute little sign-off: this page comes from the source/version <pink>./drivers/rtc</pink> and it's dated <purple>October 2026</purple> π mwah, bye bestie π«Άπ
π¦ 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