Home
last modified time | relevance | path

Searched refs:rtc_access (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/arch/alpha/kernel/
Dcore_marvel.c631 struct marvel_rtc_access_info *rtc_access = info; in __marvel_access_rtc() local
634 register unsigned long __r16 __asm__("$16") = rtc_access->function; in __marvel_access_rtc()
635 register unsigned long __r17 __asm__("$17") = rtc_access->index; in __marvel_access_rtc()
636 register unsigned long __r18 __asm__("$18") = rtc_access->data; in __marvel_access_rtc()
644 rtc_access->data = __r0; in __marvel_access_rtc()
652 struct marvel_rtc_access_info rtc_access; in __marvel_rtc_io() local
662 rtc_access.index = index; in __marvel_rtc_io()
663 rtc_access.data = bcd2bin(b); in __marvel_rtc_io()
664 rtc_access.function = 0x48 + !write; /* GET/PUT_TOY */ in __marvel_rtc_io()
666 __marvel_access_rtc(&rtc_access); in __marvel_rtc_io()
[all …]