Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A 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()
H A 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()
H A 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()
H A Drtc-mc146818-lib.c215 unsigned char mon, day, hrs, min, sec; in mc146818_set_time() local
226 hrs = time->tm_hour; in mc146818_set_time()
273 hrs = bin2bcd(hrs); in mc146818_set_time()
295 CMOS_WRITE(hrs, RTC_HOURS); in mc146818_set_time()
H A 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()
H A 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()
/openbmc/linux/arch/m68k/mvme16x/
H A 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()
/openbmc/linux/arch/m68k/bvme6000/
H A 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()
/openbmc/linux/drivers/net/wan/
H A 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()
/openbmc/linux/arch/x86/include/asm/
H A Dhpet.h84 extern int hpet_set_alarm_time(unsigned char hrs, unsigned char min,
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/
H A Devents.json1540 // Refresh altitude every 24hrs
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Bonnell/
H A Devents.json635 // Refresh altitude every 24hrs
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/
H A Devents.json2223 // Refresh altitude every 24hrs
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/
H A Devents.json1225 // Refresh altitude every 24hrs
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/
H A Devents.json1727 // Refresh altitude every 24hrs
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstm32mp157c-lxa-tac-gen1.dts5 * Copyright (C) 2023 Leonard Göhrs, Pengutronix
H A Dstm32mp157c-lxa-tac-gen2.dts5 * Copyright (C) 2023 Leonard Göhrs, Pengutronix
H A Dstm32mp15xc-lxa-tac.dtsi5 * Copyright (C) 2023 Leonard Göhrs, Pengutronix
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dti,lmp92064.yaml10 - Leonard Göhrs <l.goehrs@pengutronix.de>
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dknotty.py218 hrs = int(sec / 3600.0)
219 sec -= hrs * 3600
222 if hrs > 0:
223 return "%dh%dm%ds" % (hrs, min, sec)
/openbmc/linux/arch/x86/kernel/
H A Dhpet.c1359 int hpet_set_alarm_time(unsigned char hrs, unsigned char min, unsigned char sec) in hpet_set_alarm_time() argument
1364 hpet_alarm_time.tm_hour = hrs; in hpet_set_alarm_time()
/openbmc/linux/drivers/video/fbdev/sis/
H A Dinit.c2684 int hrs = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x04) | in SiS_SetCRT1ModeRegs() local
2688 data = hrs - (hto >> 1) + 3; in SiS_SetCRT1ModeRegs()
/openbmc/linux/
H A D.mailmap332 Leonard Göhrs <l.goehrs@pengutronix.de>
H A DMAINTAINERS21639 M: Leonard Göhrs <l.goehrs@pengutronix.de>