Home
last modified time | relevance | path

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

/linux-6.1.9/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-mc146818-lib.c194 unsigned char mon, day, hrs, min, sec; in mc146818_set_time() local
205 hrs = time->tm_hour; in mc146818_set_time()
252 hrs = bin2bcd(hrs); in mc146818_set_time()
274 CMOS_WRITE(hrs, RTC_HOURS); in mc146818_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-ds1511.c176 u8 mon, day, dow, hrs, min, sec, yrs, cen; in ds1511_rtc_set_time() local
193 hrs = rtc_tm->tm_hour; in ds1511_rtc_set_time()
203 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in ds1511_rtc_set_time()
211 hrs = bin2bcd(hrs) & 0x3f; in ds1511_rtc_set_time()
223 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()
/linux-6.1.9/arch/m68k/mvme16x/
Drtc.c69 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
83 hrs = rtc_tm.tm_hour; in rtc_ioctl()
95 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in rtc_ioctl()
106 rtc->bcd_hr = bin2bcd(hrs); in rtc_ioctl()
/linux-6.1.9/arch/m68k/bvme6000/
Drtc.c74 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
88 hrs = rtc_tm.tm_hour; in rtc_ioctl()
100 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in rtc_ioctl()
115 rtc->bcd_hr = bin2bcd(hrs); in rtc_ioctl()
/linux-6.1.9/drivers/net/wan/
Dhdlc_cisco.c216 u32 sec, min, hrs, days; in cisco_rx() local
220 hrs = min / 60; min -= hrs * 60; in cisco_rx()
221 days = hrs / 24; hrs -= days * 24; in cisco_rx()
223 days, hrs, min, sec); in cisco_rx()
/linux-6.1.9/arch/x86/include/asm/
Dhpet.h84 extern int hpet_set_alarm_time(unsigned char hrs, unsigned char min,
/linux-6.1.9/drivers/usb/misc/sisusbvga/
Dsisusb_init.c689 unsigned short hrs = in SiS_SetCRT1ModeRegs() local
697 data = hrs - (hto >> 1) + 3; in SiS_SetCRT1ModeRegs()
/linux-6.1.9/arch/x86/kernel/
Dhpet.c1357 int hpet_set_alarm_time(unsigned char hrs, unsigned char min, unsigned char sec) in hpet_set_alarm_time() argument
1362 hpet_alarm_time.tm_hour = hrs; in hpet_set_alarm_time()
/linux-6.1.9/drivers/video/fbdev/sis/
Dinit.c2684 int hrs = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x04) | in SiS_SetCRT1ModeRegs() local
2688 data = hrs - (hto >> 1) + 3; in SiS_SetCRT1ModeRegs()