Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-ds1286.c216 unsigned char mon, day, hrs, min, sec; in ds1286_set_time() local
224 hrs = tm->tm_hour; in ds1286_set_time()
240 hrs = bin2bcd(hrs); in ds1286_set_time()
252 ds1286_rtc_write(priv, hrs, RTC_HOURS); in ds1286_set_time()
287 unsigned char hrs, min, sec; in ds1286_set_alarm() local
289 hrs = alm->time.tm_hour; in ds1286_set_alarm()
293 if (hrs >= 24) in ds1286_set_alarm()
294 hrs = 0xff; in ds1286_set_alarm()
303 hrs = bin2bcd(hrs); in ds1286_set_alarm()
306 ds1286_rtc_write(priv, hrs, RTC_HOURS_ALARM); in ds1286_set_alarm()
Drtc-m48t35.c100 unsigned char mon, day, hrs, min, sec; in m48t35_set_time() local
107 hrs = tm->tm_hour; in m48t35_set_time()
126 hrs = bin2bcd(hrs); in m48t35_set_time()
137 writeb(hrs, &priv->reg->hour); in m48t35_set_time()
Drtc-bq4802.c95 u8 sec, min, hrs, day, mon, yrs, century, val; in bq4802_set_time() local
105 hrs = tm->tm_hour; in bq4802_set_time()
111 hrs = bin2bcd(hrs); in bq4802_set_time()
124 p->write(p, 0x04, hrs); in bq4802_set_time()
Drtc-mc146818-lib.c234 unsigned char mon, day, hrs, min, sec; in mc146818_set_time() local
245 hrs = time->tm_hour; in mc146818_set_time()
292 hrs = bin2bcd(hrs); in mc146818_set_time()
314 CMOS_WRITE(hrs, RTC_HOURS); in mc146818_set_time()
Drtc-mrst.c110 unsigned char mon, day, hrs, min, sec; in mrst_set_time() local
116 hrs = time->tm_hour; in mrst_set_time()
129 vrtc_cmos_write(hrs, RTC_HOURS); in mrst_set_time()
206 unsigned char hrs, min, sec; in mrst_set_alarm() local
212 hrs = t->time.tm_hour; in mrst_set_alarm()
221 vrtc_cmos_write(hrs, RTC_HOURS_ALARM); in mrst_set_alarm()
Drtc-ds1511.c182 u8 mon, day, dow, hrs, min, sec, yrs, cen; in ds1511_rtc_set_time() local
199 hrs = rtc_tm->tm_hour; in ds1511_rtc_set_time()
209 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in ds1511_rtc_set_time()
217 hrs = bin2bcd(hrs) & 0x3f; in ds1511_rtc_set_time()
229 rtc_write(hrs, RTC_HOUR); in ds1511_rtc_set_time()
Drtc-cmos.c144 hpet_set_alarm_time(unsigned char hrs, unsigned char min, unsigned char sec) in hpet_set_alarm_time() argument
475 unsigned char mon, mday, hrs, min, sec; member
492 CMOS_WRITE(p->hrs, RTC_HOURS_ALARM); in cmos_set_alarm_callback()
536 p.hrs = t->time.tm_hour; in cmos_set_alarm()
548 p.hrs = (p.hrs < 24) ? bin2bcd(p.hrs) : 0xff; in cmos_set_alarm()
/drivers/net/wan/
Dhdlc_cisco.c228 u32 sec, min, hrs, days; in cisco_rx() local
231 hrs = min / 60; min -= hrs * 60; in cisco_rx()
232 days = hrs / 24; hrs -= days * 24; in cisco_rx()
234 days, hrs, min, sec); in cisco_rx()
/drivers/usb/misc/sisusbvga/
Dsisusb_init.c689 unsigned short hrs = in SiS_SetCRT1ModeRegs() local
697 data = hrs - (hto >> 1) + 3; in SiS_SetCRT1ModeRegs()
/drivers/video/fbdev/sis/
Dinit.c2685 int hrs = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x04) | in SiS_SetCRT1ModeRegs() local
2689 data = hrs - (hto >> 1) + 3; in SiS_SetCRT1ModeRegs()