Searched refs:rtc_access (Results 1 – 1 of 1) sorted by relevance
628 struct marvel_rtc_access_info *rtc_access = info; in __marvel_access_rtc() local631 register unsigned long __r16 __asm__("$16") = rtc_access->function; in __marvel_access_rtc()632 register unsigned long __r17 __asm__("$17") = rtc_access->index; in __marvel_access_rtc()633 register unsigned long __r18 __asm__("$18") = rtc_access->data; in __marvel_access_rtc()641 rtc_access->data = __r0; in __marvel_access_rtc()649 struct marvel_rtc_access_info rtc_access; in __marvel_rtc_io() local659 rtc_access.index = index; in __marvel_rtc_io()660 rtc_access.data = bcd2bin(b); in __marvel_rtc_io()661 rtc_access.function = 0x48 + !write; /* GET/PUT_TOY */ in __marvel_rtc_io()663 __marvel_access_rtc(&rtc_access); in __marvel_rtc_io()[all …]