/openbmc/linux/drivers/rtc/ |
H A D | rtc-abx80x.c | 210 tm->tm_hour = bcd2bin(buf[ABX8XX_REG_HR] & 0x3F); in abx80x_rtc_read_time() 231 buf[ABX8XX_REG_HR] = bin2bcd(tm->tm_hour); in abx80x_rtc_set_time() 306 t->time.tm_hour = bcd2bin(buf[2] & 0x3F); in abx80x_read_alarm() 329 alarm[3] = bin2bcd(t->time.tm_hour); in abx80x_set_alarm()
|
H A D | rtc-pl031.c | 139 | (tm->tm_hour << RTC_HOUR_SHIFT) in pl031_stv2_tm_to_time() 156 tm->tm_hour = ((st_time & RTC_HOUR_MASK) >> RTC_HOUR_SHIFT); in pl031_stv2_time_to_tm()
|
H A D | rtc-cadence.c | 116 | FIELD_PREP(CDNS_RTC_TIME_HR, bin2bcd(tm->tm_hour)); in cdns_rtc_time2reg() 123 tm->tm_hour = bcd2bin(FIELD_GET(CDNS_RTC_TIME_HR, reg)); in cdns_rtc_reg2time()
|
H A D | rtc-pxa.c | 93 | (tm->tm_hour << RDxR_HOUR_S) in rdxr_calc() 104 tm->tm_hour = (rdcr & RDxR_HOUR_MASK) >> RDxR_HOUR_S; in tm_calc()
|
H A D | rtc-rv3032.c | 243 tm->tm_hour = bcd2bin(date[2] & 0x3f); in rv3032_get_time() 260 date[2] = bin2bcd(tm->tm_hour); in rv3032_set_time() 298 alrm->time.tm_hour = bcd2bin(alarmvals[1] & 0x3f); in rv3032_get_alarm() 320 alarmvals[1] = bin2bcd(alrm->time.tm_hour); in rv3032_set_alarm()
|
H A D | rtc-sun6i.c | 495 rtc_tm->tm_hour = SUN6I_TIME_GET_HOUR_VALUE(time); in sun6i_rtc_gettime() 537 SUN6I_TIME_SET_HOUR_VALUE(alrm_tm->tm_hour); in sun6i_rtc_setalarm() 605 SUN6I_TIME_SET_HOUR_VALUE(rtc_tm->tm_hour); in sun6i_rtc_settime()
|
H A D | rtc-da9063.c | 174 tm->tm_hour = data[RTC_HOUR] & config->rtc_count_hour_mask; in da9063_data_to_tm() 189 data[RTC_HOUR] = tm->tm_hour & config->rtc_count_hour_mask; in da9063_tm_to_data()
|
H A D | rtc-hid-sensor-time.c | 107 time_buf->tm_hour = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample()
|
/openbmc/linux/arch/sh/boards/mach-sh03/ |
H A D | rtc.c | 81 tm->tm_hour = hour; in sh03_rtc_gettimeofday()
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios.cpp | 36 hours = pldm::utils::decimalToBcd(time->tm_hour); in epochToBCDTime() 53 stm.tm_hour = hours; in timeToEpoch()
|
/openbmc/linux/arch/m68k/mac/ |
H A D | misc.c | 301 tm->tm_hour, tm->tm_min, tm->tm_sec); in via_set_rtc_time() 638 &t->tm_hour, &t->tm_min, &t->tm_sec); in mac_hwclk()
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-rds-gen.c | 98 time = (tm.tm_hour << 12) | in vivid_rds_generate()
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-dvb/tvheadend/tvheadend/ |
H A D | 0001-adjust-for-64bit-time_t.patch | 163 a.tm_hour, a.tm_min, 169 b.tm_hour, b.tm_min,
|
/openbmc/linux/fs/exfat/ |
H A D | misc.c | 100 t = (tm.tm_hour << 11) | (tm.tm_min << 5) | (tm.tm_sec >> 1); in exfat_set_entry_time()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_coredump.c | 242 record->hour = cpu_to_le16(tm.tm_hour); in bnxt_fill_coredump_record() 259 record->end_hour = cpu_to_le16(tm.tm_hour); in bnxt_fill_coredump_record()
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | private_header_test.cpp | 153 time_tm.tm_hour = 15; in TEST_F()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | hpet.c | 1364 hpet_alarm_time.tm_hour = hrs; in hpet_set_alarm_time() 1462 (curr_time.tm_hour == hpet_alarm_time.tm_hour)) in hpet_rtc_interrupt()
|
/openbmc/qemu/hw/arm/ |
H A D | omap1.c | 2596 return ((s->current_tm.tm_hour > 11) << 7) | in omap_rtc_read() 2597 to_bcd(((s->current_tm.tm_hour - 1) % 12) + 1); in omap_rtc_read() 2599 return to_bcd(s->current_tm.tm_hour); in omap_rtc_read() 2621 return ((s->alarm_tm.tm_hour > 11) << 7) | in omap_rtc_read() 2622 to_bcd(((s->alarm_tm.tm_hour - 1) % 12) + 1); in omap_rtc_read() 2624 return to_bcd(s->alarm_tm.tm_hour); in omap_rtc_read() 2692 s->ti -= s->current_tm.tm_hour * 3600; in omap_rtc_write() 2770 s->alarm_tm.tm_hour = in omap_rtc_write() 2774 s->alarm_tm.tm_hour = from_bcd(value); in omap_rtc_write() 2898 s->current_tm.tm_min || s->current_tm.tm_hour) in omap_rtc_tick()
|
/openbmc/u-boot/arch/sandbox/cpu/ |
H A D | os.c | 765 rt->tm_hour = tm->tm_hour; in os_localtime()
|
/openbmc/qemu/tests/qtest/ |
H A D | rtc-test.c | 67 tm->tm_hour, tm->tm_min, tm->tm_sec, tm->tm_gmtoff); 110 date->tm_hour = hour; in cmos_get_date_time()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | rtas-proc.c | 292 tm.tm_hour, tm.tm_min, tm.tm_sec, 0 /* nano */); in ppc_rtas_poweron_write() 355 tm.tm_hour, tm.tm_min, tm.tm_sec, 0); in ppc_rtas_clock_write()
|
/openbmc/qemu/hw/rtc/ |
H A D | xlnx-zynqmp-rtc.c | 212 current_tm.tm_mday, current_tm.tm_hour, in rtc_init()
|
/openbmc/openbmc/poky/meta/recipes-rt/rt-tests/files/ |
H A D | rt_bmark.py | 117 stamp = "%2d:%02d:%02d: " % (ts.tm_hour, ts.tm_min, ts.tm_sec)
|
/openbmc/linux/drivers/input/misc/ |
H A D | hp_sdc_rtc.c | 107 rtctm->tm_hour = (tseq[34] & 0x0f) + (tseq[41] & 0x0f) * 10; in hp_sdc_rtc_do_read_bbrtc()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_usbpd_logger.c | 164 rt.tm_hour, rt.tm_min, rt.tm_sec, rem, in cros_usbpd_print_log_entry()
|