Home
last modified time | relevance | path

Searched +full:start +full:- +full:year (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/OK3568_Linux_fs/kernel/arch/mips/dec/
H A Dtime.c1 // SPDX-License-Identifier: GPL-2.0
6 * This file contains the time handling details for PC-style clocks as
15 #include <asm/cpu-features.h>
24 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock64() local
35 year = CMOS_READ(RTC_YEAR); in read_persistent_clock64()
37 * The PROM will reset the year to either '72 or '73. in read_persistent_clock64()
38 * Therefore we store the real year separately, in one in read_persistent_clock64()
52 year = bcd2bin(year); in read_persistent_clock64()
55 year += real_year - 72 + 2000; in read_persistent_clock64()
57 ts->tv_sec = mktime64(year, mon, day, hour, min, sec); in read_persistent_clock64()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/platform/intel-mid/
H A Dintel_mid_vrtc.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #include <asm/intel-mid.h>
60 u32 year; in vrtc_get_time() local
72 year = vrtc_cmos_read(RTC_YEAR); in vrtc_get_time()
76 /* vRTC YEAR reg contains the offset to 1972 */ in vrtc_get_time()
77 year += 1972; in vrtc_get_time()
80 "mon: %d year: %d\n", sec, min, hour, mday, mon, year); in vrtc_get_time()
82 now->tv_sec = mktime64(year, mon, mday, hour, min, sec); in vrtc_get_time()
83 now->tv_nsec = 0; in vrtc_get_time()
90 int year; in vrtc_set_mmss() local
[all …]
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Drtc.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <asm/intel-mid.h>
23 * CMOS/RTC registers. See include/asm-i386/mc146818rtc.h for details.
44 unsigned long long nowtime = now->tv_sec; in mach_set_rtc_mmss()
58 retval = -EINVAL; in mach_set_rtc_mmss()
65 unsigned int status, year, mon, day, hour, min, sec, century = 0; in mach_get_cmos_time() local
73 now->tv_sec = now->tv_nsec = 0; in mach_get_cmos_time()
82 * is the reliable way to read RTC - registers. If UIP is set in mach_get_cmos_time()
93 year = CMOS_READ(RTC_YEAR); in mach_get_cmos_time()
112 year = bcd2bin(year); in mach_get_cmos_time()
[all …]
/OK3568_Linux_fs/external/xserver/debian/po/
H A Dtemplates.pot2 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "Report-Msgid-Bugs-To: xorg@packages.debian.org\n"
11 "POT-Creation-Date: 2009-06-02 20:32+0200\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 "Language-Team: LANGUAGE <LL@li.org>\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=CHARSET\n"
[all …]
H A Dsr.po4 # Zlatan Todoric <zlatan.todoric@gmail.com>, YEAR.
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "Report-Msgid-Bugs-To: xorg@packages.debian.org\n"
11 "POT-Creation-Date: 2009-06-02 20:32+0200\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: Zlatan Todoric <zlatan.todoric@gmail.com>\n"
14 "Language-Team: LANGUAGE <LL@li.org>\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
[all …]
H A Dast.po2 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
8 "Project-Id-Version: xorg_po\n"
9 "Report-Msgid-Bugs-To: xorg@packages.debian.org\n"
10 "POT-Creation-Date: 2009-06-02 20:32+0200\n"
11 "PO-Revision-Date: 2009-01-12 08:33+0100\n"
12 "Last-Translator: Marcos Alvarez Costales <marcos.alvarez.costales@gmail."
14 "Language-Team: Asturian <softast-xeneral@lists.sourceforge.net>\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=utf-8\n"
[all …]
H A Dmr.po2 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
8 "Project-Id-Version: xorg\n"
9 "Report-Msgid-Bugs-To: xorg@packages.debian.org\n"
10 "POT-Creation-Date: 2009-06-02 20:32+0200\n"
11 "PO-Revision-Date: 2006-08-14 11:05+0200\n"
12 "Last-Translator: Priti Patil <prithisd@gmail.com>\n"
13 "Language-Team: Marathi <janabhaaratii@cdacmumbai.in>\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=utf-8\n"
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/maple/
H A Dtime.c1 // SPDX-License-Identifier: GPL-2.0-or-later
54 tm->tm_sec = maple_clock_read(RTC_SECONDS); in maple_get_rtc_time()
55 tm->tm_min = maple_clock_read(RTC_MINUTES); in maple_get_rtc_time()
56 tm->tm_hour = maple_clock_read(RTC_HOURS); in maple_get_rtc_time()
57 tm->tm_mday = maple_clock_read(RTC_DAY_OF_MONTH); in maple_get_rtc_time()
58 tm->tm_mon = maple_clock_read(RTC_MONTH); in maple_get_rtc_time()
59 tm->tm_year = maple_clock_read(RTC_YEAR); in maple_get_rtc_time()
60 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); in maple_get_rtc_time()
64 tm->tm_sec = bcd2bin(tm->tm_sec); in maple_get_rtc_time()
65 tm->tm_min = bcd2bin(tm->tm_min); in maple_get_rtc_time()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/chrp/
H A Dtime.c1 // SPDX-License-Identifier: GPL-2.0
51 rtcs = of_find_compatible_node(NULL, "rtc", "ds1385-rtc"); in chrp_time_init()
60 base = r.start; in chrp_time_init()
86 * Set the hardware clock. -- Cort
123 * sheets anyway ... -- Markus Kuhn in chrp_set_rtc_time()
134 unsigned int year, mon, day, hour, min, sec; in chrp_get_rtc_time() local
142 year = chrp_cmos_clock_read(RTC_YEAR); in chrp_get_rtc_time()
151 year = bcd2bin(year); in chrp_get_rtc_time()
153 if (year < 70) in chrp_get_rtc_time()
154 year += 100; in chrp_get_rtc_time()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/sbin/
HDzic ... precedes Epoch use of 2/29 in non leap-year rule goes past start/end of month; ...
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/meta/
H A Dcve-update-db-native.bb15 NVDCVE_URL ?= "https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-"
27 if not bb.data.inherits_class("cve-check", d):
28 raise bb.parse.SkipRecipe("Skip recipe when cve-check class is not loaded.")
48 # Allow the user to force-update
55 if time.time() - os.path.getmtime(db_file) < update_interval:
76 do_fetch[file-checksums] = ""
85 # Remove it only if a journal file exists - it means a complete re-download
86 if os.path.exists("{0}-journal".format(db_file)):
89 os.remove("{0}-journal".format(db_file))
94 # Clean-up the temporary file downloads, we can remove both journal
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/atari/
H A Dtime.c6 * Assembled of parts of former atari/config.c 97-12-18 by Roman Hodek
62 /* start timer C, div = 1:100 */ in atari_sched_init()
82 * the result may briefly stop changing after counter wrap-around. in atari_read_clk()
87 ticks = INT_TICKS - count; in atari_read_clk()
97 #define COPY(v) val->v=(mste_rtc.v & 0xf) in mste_read()
105 } while (val->sec_ones != (mste_rtc.sec_ones & 0xf)); in mste_read()
111 #define COPY(v) mste_rtc.v=val->v in mste_write()
119 } while (val->sec_ones != (mste_rtc.sec_ones & 0xf)); in mste_write()
141 int hour, year; in atari_mste_hwclk() local
152 val.sec_ones = t->tm_sec % 10; in atari_mste_hwclk()
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-lp8788.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI LP8788 MFD - rtc driver
100 return LP8788_WDAY_SET << (tm_wday - 1); in _to_lp8788_wday()
112 struct lp8788 *lp = rtc->lp; in lp8788_rtc_read_time()
122 tm->tm_sec = data[LPTIME_SEC]; in lp8788_rtc_read_time()
123 tm->tm_min = data[LPTIME_MIN]; in lp8788_rtc_read_time()
124 tm->tm_hour = data[LPTIME_HOUR]; in lp8788_rtc_read_time()
125 tm->tm_mday = data[LPTIME_MDAY]; in lp8788_rtc_read_time()
126 tm->tm_mon = data[LPTIME_MON] - LP8788_MONTH_OFFSET; in lp8788_rtc_read_time()
127 tm->tm_year = data[LPTIME_YEAR] + LP8788_BASE_YEAR - 1900; in lp8788_rtc_read_time()
[all …]
H A Drtc-m48t35.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for the SGS-Thomson M48T35 Timekeeper RAM chip
28 u8 year; member
40 u8 year; member
64 * by the RTC when initially set to a non-zero value. in m48t35_read_time()
66 spin_lock_irq(&priv->lock); in m48t35_read_time()
67 control = readb(&priv->reg->control); in m48t35_read_time()
68 writeb(control | M48T35_RTC_READ, &priv->reg->control); in m48t35_read_time()
69 tm->tm_sec = readb(&priv->reg->sec); in m48t35_read_time()
70 tm->tm_min = readb(&priv->reg->min); in m48t35_read_time()
[all …]
H A Drtc-pcf8523.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #define DRIVER_NAME "rtc-pcf8523"
20 #define REG_CONTROL3_PM_VDD (1 << 6) /* switch-over disabled */
23 #define REG_CONTROL3_BLF (1 << 2) /* battery low bit, read-only */
44 msgs[0].addr = client->addr; in pcf8523_read()
49 msgs[1].addr = client->addr; in pcf8523_read()
54 err = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in pcf8523_read()
69 msg.addr = client->addr; in pcf8523_write()
74 err = i2c_transfer(client->adapter, &msg, 1); in pcf8523_write()
104 of_property_read_u32(client->dev.of_node, "quartz-load-femtofarads", in pcf8523_load_capacitance()
[all …]
H A Drtc-bq4802.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* rtc-bq4802.c: TI BQ4802 RTC driver.
32 return inb(p->ioport + off); in bq4802_read_io()
37 outb(val, p->ioport + off); in bq4802_write_io()
42 return readb(p->regs + off); in bq4802_read_mem()
47 writeb(val, p->regs + off); in bq4802_write_mem()
57 spin_lock_irqsave(&p->lock, flags); in bq4802_read_time()
59 val = p->read(p, 0x0e); in bq4802_read_time()
60 p->write(p, 0xe, val | 0x08); in bq4802_read_time()
62 tm->tm_sec = p->read(p, 0x00); in bq4802_read_time()
[all …]
H A Drtc-sh.c1 // SPDX-License-Identifier: GPL-2.0
3 * SuperH On-Chip RTC Support
5 * Copyright (C) 2006 - 2009 Paul Mundt
38 #define DRV_NAME "sh-rtc"
50 #define RYRCNT RTC_REG(7) /* RTC year */
72 /* ALARM Bits - or with BCD encoded value */
92 #define RCR2_ADJ 0x04 /* ADJustment (30-second) */
94 #define RCR2_START 0x01 /* Start bit */
114 tmp = readb(rtc->regbase + RCR1); in __sh_rtc_interrupt()
117 writeb(tmp, rtc->regbase + RCR1); in __sh_rtc_interrupt()
[all …]
/OK3568_Linux_fs/external/xserver/doc/dtrace/
H A DXserver-DTrace.xml1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
7 <article id="Xserver-DTrace">
18 <copyright><year>2005</year><year>2006</year><year>2007</year><year>2010</year><year>2020</year>
49 …<ulink url="http://dtrace.org/guide/chp-usdt.html">statically defined user application tracing pro…
78 Due to the way User-Defined DTrace probes work, arguments to
115 <entry>request-start</entry>
126 <entry>request-done</entry>
140 <entry>send-event</entry>
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dxt_time.c23 u_int8_t month; /* (1-12) */
24 u_int8_t monthday; /* (1-31) */
25 u_int8_t weekday; /* (1-7) */
26 u_int8_t hour; /* (0-23) */
27 u_int8_t minute; /* (0-59) */
28 u_int8_t second; /* (0-59) */
51 /* 2039 - 2030 */
53 /* 2029 - 2020 */
55 /* 2019 - 2010 */
57 /* 2009 - 2000 */
[all …]
/OK3568_Linux_fs/u-boot/drivers/rtc/
H A Drx8025.c3 * Matthias Fuchs, esd gmbh, matthias.fuchs@esd-electronics.com.
5 * SPDX-License-Identifier: GPL-2.0+
19 /*---------------------------------------------------------------------*/
27 /*---------------------------------------------------------------------*/
66 * sequence (start sequence without a prior stop).
68 * U-Boot's 4xx i2c driver is currently not capable
84 uchar sec, min, hour, mday, wday, mon, year, ctl2; in rtc_get() local
96 year = rtc_read(RTC_YR_REG_ADDR); in rtc_get()
98 DEBUGR ("Get RTC year: %02x mon: %02x mday: %02x wday: %02x " in rtc_get()
100 year, mon, mday, wday, hour, min, sec); in rtc_get()
[all …]
H A Dmk48t59.c2 * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
5 * SPDX-License-Identifier: GPL-2.0+
52 /* ------------------------------------------------------------------------- */
59 while (count--) in nvram_read()
70 while (count--) in nvram_write()
76 /* ------------------------------------------------------------------------- */
81 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local
96 year = rtc_read (RTC_YEAR); in rtc_get()
98 /* re-enable update */ in rtc_get()
103 printf ( "Get RTC year: %02x mon/cent: %02x mday: %02x wday: %02x " in rtc_get()
[all …]
H A Dm41t60.c10 * SPDX-License-Identifier: GPL-2.0+
14 * STMicroelectronics M41T60 serial access real-time clock
28 * assume years are in the range 1900 - 2299.
31 static unsigned char year2cb(unsigned const year) in year2cb() argument
33 if (year < 1900 || year >= 2300) in year2cb()
34 printf("M41T60 RTC: year %d out of range\n", year); in year2cb()
36 return (year / 100) & 0x3; in year2cb()
69 printf("RTC dump %s: %02X-%02X-%02X-%02X-%02X-%02X-%02X-%02X\n", in rtc_dump()
81 * determine whether there has been an initial power-up since the last in rtc_validate()
100 * oscillator so it can be "kick-started" as per data sheet. in rtc_validate()
[all …]
/OK3568_Linux_fs/kernel/crypto/asymmetric_keys/
H A Dx509_cert_parser.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 unsigned long data; /* Start of data */
22 const void *cert_start; /* Start of cert content */
49 public_key_free(cert->pub); in x509_free_certificate()
50 public_key_signature_free(cert->sig); in x509_free_certificate()
51 kfree(cert->issuer); in x509_free_certificate()
52 kfree(cert->subject); in x509_free_certificate()
53 kfree(cert->id); in x509_free_certificate()
54 kfree(cert->skid); in x509_free_certificate()
70 ret = -ENOMEM; in x509_cert_parse()
[all …]
/OK3568_Linux_fs/buildroot/support/scripts/
H A Dcve.py3 # Copyright (C) 2009 by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
61 remains = filter(lambda x: x[0] not in ["*", "-"] and x[1] not in ["*", "-"] and x[0] != x[1],
85 def download_nvd_year(nvd_path, year): argument
86 metaf = "nvdcve-%s-%s.meta" % (NVD_JSON_VERSION, year)
88 jsonf_gz = "nvdcve-%s-%s.json.gz" % (NVD_JSON_VERSION, year)
93 if os.path.exists(path_jsonf_gz) and os.stat(path_jsonf_gz).st_mtime >= time.time() - 86400:
104 # we need to re-download the database.
128 for year in range(NVD_START_YEAR, datetime.datetime.now().year + 1):
129 filename = CVE.download_nvd_year(nvd_dir, year)
[all …]
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/imxx11/gps/
H A Dgps.cpp12 ui->setupUi(this); in gps()
14 ui->cmb_com->clear(); in gps()
15 ui->cmb_com->addItem("ttymxc0"); in gps()
16 ui->cmb_com->addItem("ttymxc1"); in gps()
17 ui->cmb_com->addItem("ttymxc2"); in gps()
18 ui->cmb_com->addItem("ttymxc3"); in gps()
32 m_timer->start(1000); in on_pb_read_clicked()
37 m_timer->stop(); in on_pb_close_clicked()
38 ui->tedit_output->clear(); in on_pb_close_clicked()
43 int bound=ui->cmb_bound->currentText().toInt(); in set_termios()
[all …]

12345678910>>...14