/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-driver-toshiba_acpi | 1 What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_backlight_mode 20 What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_backlight_timeout 33 What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/position 40 What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/touchpad 52 What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/available_kbd_modes 68 What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_type 79 What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/usb_sleep_charge 98 What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/sleep_functions_on_battery 116 What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/usb_rapid_charge 129 What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/usb_sleep_music [all …]
|
/linux-6.12.1/arch/alpha/kernel/ |
D | rtc.c | 28 * Further, generic code is really, really tied to a 1900 epoch. This is 31 * than 1900, and so it's easy to adjust. 40 if (epoch < 1900) in specifiy_epoch() 65 epoch = 1900; in init_rtc_epoch() 93 if (rtc_epoch != 1900) { in alpha_rtc_read_time() 98 year += rtc_epoch - 1900; in alpha_rtc_read_time() 113 if (rtc_epoch != 1900) { in alpha_rtc_set_time() 115 xtm.tm_year -= rtc_epoch - 1900; in alpha_rtc_set_time() 129 if (arg < 1900) in alpha_rtc_ioctl()
|
/linux-6.12.1/tools/testing/selftests/rtc/ |
D | setdate.c | 49 new.tm_year -= 1900; in main() 53 new.tm_mday, new.tm_mon + 1, new.tm_year + 1900, in main() 72 current.tm_mday, current.tm_mon + 1, current.tm_year + 1900, in main()
|
/linux-6.12.1/arch/arm/boot/dts/broadcom/ |
D | bcm4709-buffalo-wxr-1900dhp.dts | 4 * DTS for Buffalo WXR-1900DHP 15 compatible = "buffalo,wxr-1900dhp", "brcm,bcm4709", "brcm,bcm4708"; 16 model = "Buffalo WXR-1900DHP";
|
/linux-6.12.1/drivers/rtc/ |
D | lib.c | 130 tm->tm_year = (int) (year - 1900); in rtc_time64_to_tm() 150 tm->tm_year > (INT_MAX - 1900) || in rtc_valid_tm() 154 ((unsigned int)tm->tm_year + 1900)) || in rtc_valid_tm() 170 return mktime64(((unsigned int)tm->tm_year + 1900), tm->tm_mon + 1, in rtc_tm_to_time64()
|
D | rtc-max8925.c | 90 tm->tm_year -= 1900; in tm_calc() 118 high = (tm->tm_year + 1900) / 1000; in data_calc() 119 low = (tm->tm_year + 1900) / 100; in data_calc() 122 high = (tm->tm_year + 1900) / 10; in data_calc() 123 low = tm->tm_year + 1900; in data_calc()
|
D | rtc-as3722.c | 40 rbuff[5] = bin2bcd(tm->tm_year - (AS3722_RTC_START_YEAR - 1900)); in as3722_time_to_reg() 50 tm->tm_year = (AS3722_RTC_START_YEAR - 1900) + bcd2bin(rbuff[5] & 0x7F); in as3722_reg_to_time() 78 if (tm->tm_year < (AS3722_RTC_START_YEAR - 1900)) in as3722_rtc_set_time() 129 if (alrm->time.tm_year < (AS3722_RTC_START_YEAR - 1900)) in as3722_rtc_set_alarm()
|
D | rtc-sunxi.c | 105 * the year 1900. This macro is used to convert this offset to another one 108 #define SUNXI_YEAR_OFF(x) ((x)->min - 1900) 207 * a (1900)-relative one in sunxi_rtc_getalarm() 245 * a (1900)-relative one in sunxi_rtc_gettime() 334 * the input rtc_tm->tm_year is the offset relative to 1900. We use in sunxi_rtc_settime() 339 year = rtc_tm->tm_year + 1900; in sunxi_rtc_settime()
|
D | rtc-mc146818-lib.c | 235 leap_yr = ((!((yrs + 1900) % 4) && ((yrs + 1900) % 100)) || in mc146818_set_time() 236 !((yrs + 1900) % 400)); in mc146818_set_time() 253 century = (yrs + 1900) / 100; in mc146818_set_time()
|
D | rtc-lp8788.c | 127 tm->tm_year = data[LPTIME_YEAR] + LP8788_BASE_YEAR - 1900; in lp8788_rtc_read_time() 140 year = tm->tm_year + 1900 - LP8788_BASE_YEAR; in lp8788_rtc_set_time() 181 tm->tm_year = data[LPTIME_YEAR] + LP8788_BASE_YEAR - 1900; in lp8788_read_alarm() 196 year = tm->tm_year + 1900 - LP8788_BASE_YEAR; in lp8788_set_alarm()
|
D | rtc-rtd119x.c | 113 tm->tm_year = year - 1900; in rtd119x_rtc_read_time() 132 if (1900 + tm->tm_year < data->base_year) in rtd119x_rtc_set_time() 136 for (i = data->base_year; i < 1900 + tm->tm_year; i++) in rtd119x_rtc_set_time()
|
D | rtc-ds1742.c | 61 century = bin2bcd((tm->tm_year + 1900) / 100); in ds1742_rtc_set_time() 106 /* year is 1900 + tm->tm_year */ in ds1742_rtc_read_time() 107 tm->tm_year = bcd2bin(year) + bcd2bin(century) * 100 - 1900; in ds1742_rtc_read_time()
|
D | rtc-cadence.c | 144 + bcd2bin(FIELD_GET(CDNS_RTC_CAL_C, reg)) * 100 - 1900; in cdns_rtc_read_time() 156 int year = tm->tm_year + 1900; in cdns_rtc_set_time() 328 /* The RTC supports 01.01.1900 - 31.12.2999 */ in cdns_rtc_probe() 329 crtc->rtc_dev->range_min = mktime64(1900, 1, 1, 0, 0, 0); in cdns_rtc_probe()
|
D | rtc-opal.c | 24 bcd2bin((y_m_d >> 16) & 0xff)) - 1900; in opal_to_tm() 36 *y_m_d |= ((u32)bin2bcd((tm->tm_year + 1900) / 100)) << 24; in tm_to_opal() 37 *y_m_d |= ((u32)bin2bcd((tm->tm_year + 1900) % 100)) << 16; in tm_to_opal()
|
D | rtc-efi.c | 55 eft->year = wtime->tm_year + 1900; in convert_to_efi_time() 91 if (eft->year < 1900 || eft->year > 9999) in convert_from_efi_time() 93 wtime->tm_year = eft->year - 1900; in convert_from_efi_time()
|
D | rtc-aspeed.c | 46 tm->tm_year = year + (cent * 100) - 1900; in aspeed_rtc_read_time() 59 cent = (tm->tm_year + 1900) / 100; in aspeed_rtc_set_time()
|
D | rtc-max6902.c | 82 dt->tm_year -= 1900; in max6902_read_time() 89 dt->tm_year = dt->tm_year + 1900; in max6902_set_time()
|
D | rtc-imx-sc.c | 70 ((tm->tm_year + 1900) << 16) | (tm->tm_mon + 1), in imx_sc_rtc_set_time() 95 msg.year = alrm_tm->tm_year + 1900; in imx_sc_rtc_set_alarm()
|
D | rtc-ac100.c | 62 * the year 1900. This macro is used to convert this offset to another one 70 #define AC100_YEAR_OFF (AC100_YEAR_MIN - 1900) 416 if (year < 0 || year > (AC100_YEAR_MAX - 1900)) { in ac100_rtc_set_time() 434 if (is_leap_year(year + AC100_YEAR_OFF + 1900)) in ac100_rtc_set_time() 493 if (year < 0 || year > (AC100_YEAR_MAX - 1900)) { in ac100_rtc_set_alarm()
|
D | rtc-ds1553.c | 77 century = bin2bcd((tm->tm_year + 1900) / 100); in ds1553_rtc_set_time() 122 /* year is 1900 + tm->tm_year */ in ds1553_rtc_read_time() 123 tm->tm_year = bcd2bin(year) + bcd2bin(century) * 100 - 1900; in ds1553_rtc_read_time()
|
D | rtc-stk17ta8.c | 88 writeb(bin2bcd((tm->tm_year + 1900) / 100), ioaddr + RTC_CENTURY); in stk17ta8_rtc_set_time() 124 /* year is 1900 + tm->tm_year */ in stk17ta8_rtc_read_time() 125 tm->tm_year = bcd2bin(year) + bcd2bin(century) * 100 - 1900; in stk17ta8_rtc_read_time()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | rtas-rtc.c | 83 rtc_tm->tm_year = ret[0] - 1900; in rtas_get_rtc_time() 94 tm->tm_year + 1900, tm->tm_mon + 1, in rtas_set_rtc_time()
|
/linux-6.12.1/arch/m68k/mvme16x/ |
D | rtc.c | 79 if (yrs < 1900) in rtc_ioctl() 80 yrs += 1900; in rtc_ioctl()
|
/linux-6.12.1/arch/m68k/bvme6000/ |
D | rtc.c | 84 if (yrs < 1900) in rtc_ioctl() 85 yrs += 1900; in rtc_ioctl()
|
/linux-6.12.1/drivers/regulator/ |
D | lp873x-regulator.c | 62 30000, 15000, 10000, 7500, 3800, 1900, 940, 470 82 else if (ramp_delay <= 1900) in lp873x_buck_set_ramp_delay()
|