Home
last modified time | relevance | path

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

/Linux-v5.10/arch/alpha/kernel/
Dcore_marvel.c633 struct marvel_rtc_access_info *rtc_access = info; in __marvel_access_rtc() local
636 register unsigned long __r16 __asm__("$16") = rtc_access->function; in __marvel_access_rtc()
637 register unsigned long __r17 __asm__("$17") = rtc_access->index; in __marvel_access_rtc()
638 register unsigned long __r18 __asm__("$18") = rtc_access->data; in __marvel_access_rtc()
646 rtc_access->data = __r0; in __marvel_access_rtc()
654 struct marvel_rtc_access_info rtc_access; in __marvel_rtc_io() local
664 rtc_access.index = index; in __marvel_rtc_io()
665 rtc_access.data = bcd2bin(b); in __marvel_rtc_io()
666 rtc_access.function = 0x48 + !write; /* GET/PUT_TOY */ in __marvel_rtc_io()
668 __marvel_access_rtc(&rtc_access); in __marvel_rtc_io()
[all …]