Home
last modified time | relevance | path

Searched +full:- +full:hours (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-ds1685.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * An rtc driver for the Dallas/Maxim DS1685/DS1687 and related real-time
6 * Copyright (C) 2011-2014 Joshua Kinard <kumba@gentoo.org>.
7 * Copyright (C) 2009 Matthias Fuchs <matthias.fuchs@esd-electronics.com>.
10 * DS1685/DS1687 3V/5V Real-Time Clocks, 19-5215, Rev 4/10.
11 * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10.
12 * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105.
33 /* ----------------------------------------------------------------------- */
40 * ds1685_read - read a value from an rtc register.
47 return readb((u8 __iomem *)rtc->regs + in ds1685_read()
[all …]
H A Drtc-isl12022.c1 // SPDX-License-Identifier: GPL-2.0-only
55 .addr = client->addr, in isl12022_read_regs()
61 .addr = client->addr, in isl12022_read_regs()
71 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in isl12022_read_regs()
73 dev_err(&client->dev, "%s: read error, ret=%d\n", in isl12022_read_regs()
75 return -EIO; in isl12022_read_regs()
90 dev_err(&client->dev, in isl12022_write_reg()
93 return -EIO; in isl12022_write_reg()
102 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
115 dev_warn(&client->dev, in isl12022_rtc_read_time()
[all …]
H A Drtc-s35390a.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Seiko Instruments S-35390A RTC Driver
73 struct i2c_client *client = s35390a->client[reg]; in s35390a_set_reg()
76 .addr = client->addr, in s35390a_set_reg()
82 if ((i2c_transfer(client->adapter, msg, 1)) != 1) in s35390a_set_reg()
83 return -EIO; in s35390a_set_reg()
90 struct i2c_client *client = s35390a->client[reg]; in s35390a_get_reg()
93 .addr = client->addr, in s35390a_get_reg()
100 if ((i2c_transfer(client->adapter, msg, 1)) != 1) in s35390a_get_reg()
101 return -EIO; in s35390a_get_reg()
[all …]
H A Drtc-rx8581.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC)
9 * Copyright 2005-06 Tower Technologies
68 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
79 * time and date then re-read the "update flag". If the update flag in rx8581_rtc_read_time()
83 err = regmap_read(rx8581->regmap, RX8581_REG_FLAG, &data); in rx8581_rtc_read_time()
90 return -EINVAL; in rx8581_rtc_read_time()
96 err = regmap_write(rx8581->regmap, RX8581_REG_FLAG, in rx8581_rtc_read_time()
103 err = regmap_bulk_read(rx8581->regmap, RX8581_REG_SC, date, in rx8581_rtc_read_time()
109 err = regmap_read(rx8581->regmap, RX8581_REG_FLAG, &data); in rx8581_rtc_read_time()
[all …]
H A Drtc-rx4581.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* drivers/rtc/rtc-rx4581.c
7 * drivers/rtc/rtc-max6902.c
15 * drivers/rtc/rtc-rx8581.c
22 * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC)
23 * Copyright 2005-06 Tower Technologies
92 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
102 * time and date then re-read the "update flag". If the update flag in rx4581_get_datetime()
109 return -EIO; in rx4581_get_datetime()
120 return -EIO; in rx4581_get_datetime()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dbq27xxx.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Pali Rohár <pali@kernel.org>
12 - Andrew F. Davis <afd@ti.com>
13 - Sebastian Reichel <sre@kernel.org>
20 - $ref: power-supply.yaml#
25 - ti,bq27200
26 - ti,bq27210
27 - ti,bq27500 # deprecated, use revision specific property below
[all …]
H A Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
32 const: simple-battery
34 over-voltage-threshold-microvolt:
[all …]
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Dbd70528_wdt.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/mfd/rohm-bd70528.h>
18 #define WDT_MAX_MS ((2 * 60 * 60 - 1) * 1000)
33 * bd70528_wdt_set - arm or disarm watchdog timer
52 ret = regmap_read(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, &tmp); in bd70528_wdt_set()
79 ret = regmap_write(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, in bd70528_wdt_set()
85 ret = regmap_read(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, &tmp); in bd70528_wdt_set()
87 dev_err(bd70528->chip.dev, in bd70528_wdt_set()
90 ret = -EIO; in bd70528_wdt_set()
98 * bd70528_wdt_lock - take WDT lock
[all …]
/OK3568_Linux_fs/u-boot/drivers/rtc/
H A Ddate.c5 * SPDX-License-Identifier: GPL-2.0+
21 #define days_in_month(a) (month_days[(a) - 1])
32 * This only works for the Gregorian calendar - i.e. after 1752 (in the UK)
40 if (tm->tm_year < 1753) in rtc_calc_weekday()
41 return -1; in rtc_calc_weekday()
42 last_year = tm->tm_year - 1; in rtc_calc_weekday()
45 leaps_to_date = last_year / 4 - last_year / 100 + last_year / 400; in rtc_calc_weekday()
53 if (tm->tm_year % 4 == 0 && in rtc_calc_weekday()
54 ((tm->tm_year % 100 != 0) || (tm->tm_year % 400 == 0)) && in rtc_calc_weekday()
55 tm->tm_mon > 2) { in rtc_calc_weekday()
[all …]
H A Ddavinci.c5 * SPDX-License-Identifier: GPL-2.0+
20 status = readl(&rtc->status); in rtc_get()
23 return -1; in rtc_get()
28 sec = readl(&rtc->second); in rtc_get()
29 min = readl(&rtc->minutes); in rtc_get()
30 hour = readl(&rtc->hours); in rtc_get()
31 mday = readl(&rtc->day); in rtc_get()
32 wday = readl(&rtc->dotw); in rtc_get()
33 mon_cent = readl(&rtc->month); in rtc_get()
34 year = readl(&rtc->year); in rtc_get()
[all …]
H A Dds1306.c4 * (C) Copyright 2004, Li-Pro.Net <www.li-pro.net>
5 * Stephan Linz <linz@li-pro.net>
7 * SPDX-License-Identifier: GPL-2.0+
13 * - SXNI855T: it uses its own soft SPI here in this file
14 * - all other: use the external spi_xfer() function
56 /*-----------------------------------------------------------------------
65 /* ------------------------------------------------------------------------- */
76 immap->im_cpm.cp_pbdat |= PB_SPI_CE; in rtc_get()
83 tmp->tm_sec = bcd2bin (soft_spi_read ()); /* Read seconds */ in rtc_get()
84 tmp->tm_min = bcd2bin (soft_spi_read ()); /* Read minutes */ in rtc_get()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/syslog-ng/files/
H A DCVE-2022-38725-0007.patch5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 CVE: CVE-2022-38725
11 Upstream-Status: Backport
12 [https://github.com/syslog-ng/syslog-ng/commit/8c6e2c1c41b0fcc5fbd464c35f4dac7102235396]
14 Signed-off-by: László Várady <laszlo.varady@protonmail.com>
16 Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
17 ---
18 lib/timeutils/scan-timestamp.c | 8 ++++++--
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/location/mapviewer/
H A Dhelper.js14 ** and conditions see https://www.qt.io/terms-conditions. For further
15 ** information use the contact form at https://www.qt.io/contact-us.
68 var hours = value
69 if (hours > 0) value = hours + "h:"+ minutes + "m"
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dv4l2.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <media/videobuf2-v4l2.h>
127 __entry->minor = minor;
128 __entry->index = buf->index;
129 __entry->type = buf->type;
130 __entry->bytesused = buf->bytesused;
131 __entry->flags = buf->flags;
132 __entry->field = buf->field;
133 __entry->timestamp = v4l2_buffer_get_timestamp(buf);
134 __entry->timecode_type = buf->timecode.type;
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Drtc-cdev4 Contact: linux-rtc@vger.kernel.org
6 The ioctl interface to drivers for real-time clocks (RTCs).
17 RTCs that support alarms. Can be set upto 24 hours in the
22 powerful interface, which can issue alarms beyond 24 hours and
48 newer features -- including those enabled by ACPI -- are exposed
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/
H A Dproperty-units.txt13 ----------------------------------------
14 -mhz : megahertz
15 -hz : hertz (preferred)
16 -sec : second
17 -ms : millisecond
18 -us : microsecond
19 -ns : nanosecond
20 -ps : picosecond
23 ----------------------------------------
24 -mm : millimeter
[all …]
/OK3568_Linux_fs/external/rockchip-test/audio/
H A Dtest_loopback.sh44 if [ -n "$1" ]; then
48 if [ -n "$2" ]; then
52 # play_gain_tbl="-30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30"
53 play_gain_tbl="-30"
54 set -- $play_gain_tbl
57 let "capt_count=$capt_minutes*$test_hours" # capture 120 hours
60 mkdir -p $PATH_CAPTURE
62 …evice, capt_count: $capt_count, play_count: $play_count, test $test_hours hours on PATH_CAPTURE: $…
70 # playback -> capture -> playback
71 …sox -b $play_bits -r $fs -c $play_ch -n -t alsa $play_device synth $play_seconds sine 1000 gain -3…
[all …]
/OK3568_Linux_fs/debian/overlay-debug/rockchip-test/audio/
H A Dtest_loopback.sh44 if [ -n "$1" ]; then
48 if [ -n "$2" ]; then
52 # play_gain_tbl="-30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30"
53 play_gain_tbl="-30"
54 set -- $play_gain_tbl
57 let "capt_count=$capt_minutes*$test_hours" # capture 120 hours
60 mkdir -p $PATH_CAPTURE
62 …evice, capt_count: $capt_count, play_count: $play_count, test $test_hours hours on PATH_CAPTURE: $…
70 # playback -> capture -> playback
71 …sox -b $play_bits -r $fs -c $play_ch -n -t alsa $play_device synth $play_seconds sine 1000 gain -3…
[all …]
/OK3568_Linux_fs/u-boot/arch/m68k/include/asm/
H A Drtc.h4 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
5 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
7 * SPDX-License-Identifier: GPL-2.0+
15 u32 hourmin; /* 0x00 Hours and Minutes Counter Register */
17 u32 alrm_hm; /* 0x08 Hours and Minutes Alarm Register */
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Ddell-laptop.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Copyright (C) 2005-2014 Dell Inc.
31 #include "dell-rbtn.h"
32 #include "dell-smbios.h"
43 * The list must end with -1
56 quirks = dmi->driver_data; in dmi_matched()
66 .kbd_timeouts = { 0, 5, 15, 60, 5 * 60, 15 * 60, -1 },
83 .name = "dell-laptop",
343 buffer->input[0] = arg0; in dell_fill_request()
344 buffer->input[1] = arg1; in dell_fill_request()
[all …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dmax77693_charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max77693_charger.c - Battery charger driver for the Maxim 77693
13 #include <linux/mfd/max77693-common.h>
14 #include <linux/mfd/max77693-private.h>
16 #define MAX77693_CHARGER_NAME "max77693-charger"
88 * Top-off: trickle or fast? In top-off the current varies between in max77693_get_charge_type()
118 * - POWER_SUPPLY_HEALTH_DEAD
119 * - POWER_SUPPLY_HEALTH_GOOD
120 * - POWER_SUPPLY_HEALTH_OVERVOLTAGE
121 * - POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE
[all …]
H A Dmax14577_charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max14577_charger.c - Battery charger driver for the Maxim 14577/77836
11 #include <linux/mfd/max14577-private.h>
49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state()
55 * - CHGCTRL2/MBCHOSTEN == 1 in max14577_get_charger_state()
56 * - STATUS2/CGMBC == 1 in max14577_get_charger_state()
59 * - handle FULL after Top-off timer (EOC register may be off in max14577_get_charger_state()
61 * - handle properly dead-battery charging (respect timer) in max14577_get_charger_state()
62 * - handle timers (fast-charge and prequal) /MBCCHGERR/ in max14577_get_charger_state()
78 /* Charger or USB-cable is connected */ in max14577_get_charger_state()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/templatetags/
H A Dprojecttags.py6 # SPDX-License-Identifier: GPL-2.0-only
22 return end_time - start_time
30 hours = int(tdsec / 3600)
31 return "%02d:%02d:%02d" % (hours, int((tdsec - (hours * 3600))/ 60), int(tdsec) % 60)
42 …# JSON spec says that "\/" is functionally identical to "/" to allow for HTML-tag embedding in JSO…
43 …# unfortunately, I can't find any option in the json module to turn on forward-slash escaping, so …
68 if first_whitespace == -1:
79 return -1
102 return 'class=text-muted'
104 return 'class=text-danger'
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/fp/
H A DREADME7 sve-probe-vls - Checks the SVE vector length enumeration interface
8 sve-ptrace - Checks the SVE ptrace interface
10 Running the non-kselftest tests
13 sve-stress performs an SVE context switch stress test, as described
16 (The fpsimd-stress test works the same way; just substitute "fpsimd" for
25 $ ./sve-stress
60 Ideally, the test should be allowed to run for many minutes or hours
67 To try to reproduce the bugs that we have been observing, sve-stress
73 $ lkvm run --console=virtio -pconsole=hvc0 --sve Image
76 --irqchip=gicv3. New kvmtool defaults to that if appropriate, but I
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/browser/
H A Dtest_toastertable_ui.py5 # Copyright (C) 2013-2016 Intel Corporation
7 # SPDX-License-Identifier: GPL-2.0-only
58 later = now + timezone.timedelta(hours=1)
59 even_later = later + timezone.timedelta(hours=1)
84 url = reverse('all-builds')
88 # check ordering (default is by -completed_on); so build1 should be
101 'table should be sorted by -completed_on')
104 self.click('#edit-columns-button')
105 self.click('#checkbox-started_on')
131 self.click('#edit-columns-button')
[all …]

12345678910>>...12