| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | lib.c | 20 { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }, 37 * The number of days since January 1. (0 to 365) 60 year = 1970 + days / 365; in rtc_time64_to_tm() 61 days -= (year - 1970) * 365 in rtc_time64_to_tm() 66 days += 365 + is_leap_year(year); in rtc_time64_to_tm()
|
| D | rtc-efi.c | 24 * returns day of the year [0-365] 39 int ndays = eft->year * (365 % 7) in compute_wday() 95 /* day in the year [1-365]*/ in convert_from_efi_time()
|
| /kernel/linux/linux-5.10/kernel/time/ |
| D | timeconv.c | 62 {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365}, 108 while (days < 0 || days >= (__isleap(y) ? 366 : 365)) { in time64_to_tm() 109 /* Guess a corrected year, assuming 365 days per year. */ in time64_to_tm() 110 long yg = y + math_div(days, 365); in time64_to_tm() 113 days -= (yg - y) * 365 + leaps_between(y, yg); in time64_to_tm()
|
| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | lib.c | 22 { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }, 37 * The number of days since January 1. (0 to 365) 97 * February 29th 365-th day of the year (if it exists). in rtc_time64_to_tm()
|
| D | rtc-efi.c | 24 * returns day of the year [0-365] 39 int ndays = eft->year * (365 % 7) in compute_wday() 95 /* day in the year [1-365]*/ in convert_from_efi_time()
|
| /kernel/linux/linux-5.10/arch/m68k/mac/ |
| D | misc.c | 554 { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }, in unmktime() 585 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) in unmktime() 587 /* Guess a corrected year, assuming 365 days per year. */ in unmktime() 588 long int yg = y + days / 365 - (days % 365 < 0); in unmktime() 591 days -= (yg - y) * 365 + in unmktime()
|
| /kernel/linux/linux-6.6/arch/m68k/mac/ |
| D | misc.c | 553 { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }, in unmktime() 584 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) in unmktime() 586 /* Guess a corrected year, assuming 365 days per year. */ in unmktime() 587 long int yg = y + days / 365 - (days % 365 < 0); in unmktime() 590 days -= (yg - y) * 365 + in unmktime()
|
| /kernel/liteos_m/kal/posix/src/ |
| D | time_internal.h | 59 #define SECS_PER_NORMAL_YEAR 31536000 /* 60 * 60 * 24 * 365 */ 61 #define DAYS_PER_NORMAL_YEAR 365
|
| /kernel/linux/linux-5.10/drivers/thermal/ |
| D | sun8i_thermal.c | 391 * = 365 in sun8i_h3_thermal_init() 395 SUN50I_H6_THS_PC_TEMP_PERIOD(365) | val); in sun8i_h3_thermal_init() 441 * = 365 in sun50i_h6_thermal_init() 444 SUN50I_H6_THS_PC_TEMP_PERIOD(365)); in sun50i_h6_thermal_init()
|
| /kernel/linux/linux-6.6/drivers/thermal/ |
| D | sun8i_thermal.c | 392 * = 365 in sun8i_h3_thermal_init() 396 SUN50I_H6_THS_PC_TEMP_PERIOD(365) | val); in sun8i_h3_thermal_init() 442 * = 365 in sun50i_h6_thermal_init() 445 SUN50I_H6_THS_PC_TEMP_PERIOD(365)); in sun50i_h6_thermal_init()
|
| /kernel/linux/linux-5.10/include/dt-bindings/clock/ |
| D | exynos5410.h | 59 #define CLK_USBH20 365
|
| D | exynos5250.h | 168 #define CLK_CAMIF_TOP 365
|
| /kernel/linux/linux-6.6/include/dt-bindings/clock/ |
| D | exynos5410.h | 59 #define CLK_USBH20 365
|
| D | exynos5250.h | 169 #define CLK_CAMIF_TOP 365
|
| /kernel/linux/linux-6.6/fs/smb/server/ |
| D | misc.h | 33 #define NTFS_TIME_OFFSET ((u64)(369 * 365 + 89) * 24 * 3600 * 10000000)
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | hisilicon,ascend910-i2c.yaml | 45 default: 365
|
| /kernel/linux/linux-5.10/fs/affs/ |
| D | amigaffs.h | 36 #define AFFS_EPOCH_DELTA ((8 * 365 + 2) * 86400LL)
|
| /kernel/linux/linux-5.10/fs/ntfs/ |
| D | time.h | 16 #define NTFS_TIME_OFFSET ((s64)(369 * 365 + 89) * 24 * 3600 * 10000000)
|
| /kernel/linux/linux-6.6/fs/ntfs/ |
| D | time.h | 16 #define NTFS_TIME_OFFSET ((s64)(369 * 365 + 89) * 24 * 3600 * 10000000)
|
| /kernel/linux/linux-6.6/arch/sh/boards/mach-dreamcast/ |
| D | rtc.c | 19 #define TWENTY_YEARS ((20 * 365LU + 5) * 86400)
|
| /kernel/linux/linux-6.6/fs/affs/ |
| D | amigaffs.h | 36 #define AFFS_EPOCH_DELTA ((8 * 365 + 2) * 86400LL)
|
| /kernel/linux/linux-5.10/arch/sh/boards/mach-dreamcast/ |
| D | rtc.c | 19 #define TWENTY_YEARS ((20 * 365LU + 5) * 86400)
|
| /kernel/linux/common_modules/tzdriver/core/ |
| D | cmdmonitor.c | 306 * 1 year means 1000 * (60*60*24*365) = 0x757B12C00 in auto_report_memstat() 338 * 1 year means 1000 * (60*60*24*365) = 0x757B12C00 in show_timeout_cmd_info() 558 * 1 year means 1000000 * (60*60*24*365) = 0x1CAE8C13E000 in cmd_monitor_logend()
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | time.h | 54 /* the number of days since January 1, in the range 0 to 365 */
|
| /kernel/linux/linux-6.6/fs/fat/ |
| D | misc.c | 185 #define DAYS_DELTA (365 * 10 + 2) 224 second += (time64_t)(year * 365 + leap_day in fat_time_fat2unix()
|