Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-wm8350.c34 u16 time1[4], time2[4]; in wm8350_rtc_readtime() local
43 4, time1); in wm8350_rtc_readtime()
51 if (memcmp(time1, time2, sizeof(time1)) == 0) { in wm8350_rtc_readtime()
52 tm->tm_sec = time1[0] & WM8350_RTC_SECS_MASK; in wm8350_rtc_readtime()
54 tm->tm_min = (time1[0] & WM8350_RTC_MINS_MASK) in wm8350_rtc_readtime()
57 tm->tm_hour = time1[1] & WM8350_RTC_HRS_MASK; in wm8350_rtc_readtime()
59 tm->tm_wday = ((time1[1] >> WM8350_RTC_DAY_SHIFT) in wm8350_rtc_readtime()
62 tm->tm_mon = ((time1[2] & WM8350_RTC_MTH_MASK) in wm8350_rtc_readtime()
65 tm->tm_mday = (time1[2] & WM8350_RTC_DATE_MASK); in wm8350_rtc_readtime()
67 tm->tm_year = ((time1[3] & WM8350_RTC_YHUNDREDS_MASK) in wm8350_rtc_readtime()
[all …]
Drtc-digicolor.c62 u32 reference, time1, time2; in dc_rtc_read() local
70 time1 = readl_relaxed(rtc->regs + DC_RTC_TIME); in dc_rtc_read()
74 if (time1 == time2) in dc_rtc_read()
76 time1 = time2; in dc_rtc_read()
79 *val = reference + time1; in dc_rtc_read()
Drtc-wm831x.c122 u16 time1[2], time2[2]; in wm831x_rtc_readtime() local
142 2, time1); in wm831x_rtc_readtime()
151 if (memcmp(time1, time2, sizeof(time1)) == 0) { in wm831x_rtc_readtime()
152 u32 time = (time1[0] << 16) | time1[1]; in wm831x_rtc_readtime()
/drivers/gpu/drm/nouveau/nvif/
Dtimer.c32 wait->time1 = time; in nvif_timer_wait_test()
35 if (wait->time1 == time) { in nvif_timer_wait_test()
39 wait->time1 = time; in nvif_timer_wait_test()
43 if (wait->time1 - wait->time0 > wait->limit) in nvif_timer_wait_test()
46 return wait->time1 - wait->time0; in nvif_timer_wait_test()
/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dbase.c34 wait->time1 = time; in nvkm_timer_wait_test()
37 if (wait->time1 == time) { in nvkm_timer_wait_test()
43 wait->time1 = time; in nvkm_timer_wait_test()
47 if (wait->time1 - wait->time0 > wait->limit) in nvkm_timer_wait_test()
50 return wait->time1 - wait->time0; in nvkm_timer_wait_test()
/drivers/gpu/drm/nouveau/include/nvif/
Dtimer.h9 u64 time1; member
/drivers/staging/vt6656/
Dusbpipe.h25 u16 time1; member
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dtimer.h35 u64 time1; member
/drivers/net/hamradio/
Dbaycom_epp.c644 unsigned int time1 = 0, time2 = 0, time3 = 0; in epp_bh() local
658 GETTICK(time1); in epp_bh()
745 bc->debug_vals.mod_cycles = time2 - time1; in epp_bh()