Searched refs:rtc_access (Results 1 – 1 of 1) sorted by relevance
626 struct marvel_rtc_access_info *rtc_access = info; in __marvel_access_rtc() local629 register unsigned long __r16 __asm__("$16") = rtc_access->function; in __marvel_access_rtc()630 register unsigned long __r17 __asm__("$17") = rtc_access->index; in __marvel_access_rtc()631 register unsigned long __r18 __asm__("$18") = rtc_access->data; in __marvel_access_rtc()639 rtc_access->data = __r0; in __marvel_access_rtc()647 struct marvel_rtc_access_info rtc_access; in __marvel_rtc_io() local657 rtc_access.index = index; in __marvel_rtc_io()658 rtc_access.data = bcd2bin(b); in __marvel_rtc_io()659 rtc_access.function = 0x48 + !write; /* GET/PUT_TOY */ in __marvel_rtc_io()661 __marvel_access_rtc(&rtc_access); in __marvel_rtc_io()[all …]