Home
last modified time | relevance | path

Searched defs:year (Results 1 – 25 of 141) sorted by relevance

123456

/openbmc/linux/kernel/time/
H A Dtime_test.c9 static bool is_leap(long year) in is_leap()
17 static int last_day_of_month(long year, int month) in last_day_of_month()
29 static void advance_date(long *year, int *month, int *mday, int *yday) in advance_date()
61 long year = 1970 - 80000; in time64_to_tm_test_date_range() local
/openbmc/linux/arch/mips/include/asm/mach-rm/
H A Dmc146818rtc.h14 #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900) argument
16 #define mc146818_decode_year(year) ((year) + 1980) argument
/openbmc/linux/drivers/rtc/
H A Dlib.c30 int rtc_month_days(unsigned int month, unsigned int year) in rtc_month_days()
39 int rtc_year_days(unsigned int day, unsigned int month, unsigned int year) in rtc_year_days()
58 u32 u32tmp, udays, century, day_of_century, year_of_century, year, in rtc_time64_to_tm() local
H A Dlib_test.c9 static void advance_date(int *year, int *month, int *mday, int *yday) in advance_date()
42 int year = 1970; in rtc_time64_to_tm_test_date_range() local
H A Drtc-wilco-ec.c55 u8 year; member
80 u8 year; member
128 int year = tm->tm_year + 1900; in wilco_ec_rtc_write() local
H A Drtc-aspeed.c25 unsigned int cent, year; in aspeed_rtc_read_time() local
57 int year, cent; in aspeed_rtc_set_time() local
H A Drtc-rtd119x.c49 static inline int rtd119x_rtc_days_in_year(int year) in rtd119x_rtc_days_in_year()
87 unsigned int year; in rtd119x_rtc_read_time() local
H A Drtc-m48t35.c28 u8 year; member
40 u8 year; member
/openbmc/u-boot/drivers/rtc/
H A Drtc-lib.c26 static int rtc_month_days(unsigned int month, unsigned int year) in rtc_month_days()
40 unsigned int month, year, secs; in rtc_to_tm() local
H A Ddate.c19 #define leapyear(year) ((year) % 4 == 0) argument
84 int year = tm->tm_year; in rtc_mktime() local
H A Ds3c24x0_rtc.c46 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local
110 uchar sec, min, hour, mday, wday, mon, year; in rtc_set() local
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_test.cpp38 uint16_t year = 0; in TEST() local
59 uint16_t year = 2019; in TEST() local
/openbmc/u-boot/cmd/
H A Ddate.c184 int year, century; in mk_date() local
192 int year, century; in mk_date() local
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dbcd_time.cpp49 int year = 1900 + localTime->tm_year; in getBCDTime() local
76 int year = (fromBCD(bcdTime.yearMSB) * 100) + fromBCD(bcdTime.yearLSB); in getMillisecondsSinceEpoch() local
/openbmc/pldm/libpldmresponder/
H A Dbios.cpp29 uint16_t& year) in epochToBCDTime()
46 uint8_t day, uint8_t month, uint16_t year) in timeToEpoch()
120 uint16_t year = 0; in getDateTime() local
166 uint16_t year = 0; in setDateTime() local
/openbmc/linux/arch/alpha/kernel/
H A Drtc.c51 int epoch, year, ctrl; in init_rtc_epoch() local
94 int year = tm->tm_year; in alpha_rtc_read_time() local
/openbmc/linux/arch/m68k/atari/
H A Dtime.c142 int hour, year; in atari_mste_hwclk() local
201 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local
/openbmc/qemu/hw/rtc/
H A Daspeed_rtc.c30 uint32_t year, cent; in aspeed_rtc_calc_offset() local
49 uint32_t year, cent; in aspeed_rtc_get_counter() local
/openbmc/linux/fs/isofs/
H A Dutil.c21 int year, month, day, hour, minute, second, tz; in iso_date() local
/openbmc/libpldm/src/
H A Dbios.c27 uint8_t day, uint8_t month, uint16_t year, in encode_get_date_time_resp()
64 uint8_t *month, uint16_t *year) in decode_get_date_time_resp()
97 uint8_t month, uint16_t year, struct pldm_msg *msg, in encode_set_date_time_req()
137 uint8_t *day, uint8_t *month, uint16_t *year) in decode_set_date_time_req()
/openbmc/linux/arch/mips/include/asm/mach-malta/
H A Dmc146818rtc.h34 #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900) argument
/openbmc/linux/arch/mips/include/asm/mach-jazz/
H A Dmc146818rtc.h36 #define mc146818_decode_year(year) ((year) + 1980) argument
/openbmc/linux/arch/mips/include/asm/mach-generic/
H A Dmc146818rtc.h33 #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900) argument
/openbmc/linux/fs/udf/
H A Dudftime.c33 u16 year = le16_to_cpu(src.year); in udf_disk_stamp_to_time() local
/openbmc/u-boot/include/
H A Drtc.h219 static inline bool is_leap_year(unsigned int year) in is_leap_year()

123456