Home
last modified time | relevance | path

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

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