Home
last modified time | relevance | path

Searched +full:milli +full:- +full:seconds (Results 1 – 14 of 14) sorted by relevance

/openbmc/entity-manager/schemas/
H A Dusb_port.json2 "$schema": "http://json-schema.org/draft-07/schema#",
37 "description": "The request to send delay in milli-seconds.",
/openbmc/bmcweb/redfish-core/src/utils/
H A Dtime_utils.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
46 Seconds, in fromDurationString() enumerator
80 size_t charactersRead = static_cast<size_t>(ptr - v.data()); in fromDurationString()
112 if (stage > ProcessingStage::Seconds) in fromDurationString()
116 out += std::chrono::seconds(ticks); in fromDurationString()
121 // We could be seeing seconds for the first time, (as is the case in in fromDurationString()
123 if (stage <= ProcessingStage::Seconds) in fromDurationString()
125 out += std::chrono::seconds(ticks); in fromDurationString()
135 // Seconds could be any form of (1S, 1.1S, 1.11S, 1.111S); in fromDurationString()
[all …]
/openbmc/u-boot/arch/arm/cpu/armv7m/
H A Dsystick-timer.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Based on arch/arm/mach-stm32/stm32f1/timer.c
13 * The SysTick timer is a 24-bit count down timer. The clock can be either the
29 /* SysTick Base Address - fixed for all Cortex M3, M4 and M7 devices */
47 /* read the 24-bit timer */
53 return TIMER_MAX_VAL - readl(&systick->current_val); in read_timer()
61 writel(TIMER_MAX_VAL, &systick->reload_val); in timer_init()
63 writel(0, &systick->current_val); in timer_init()
65 cal = readl(&systick->calibration); in timer_init()
68 writel(SYSTICK_CTRL_EN | SYSTICK_CTRL_CPU_CLK, &systick->ctrl); in timer_init()
[all …]
/openbmc/phosphor-host-ipmid/app/
H A Dwatchdog.cpp8 #include <phosphor-logging/elog-errors.hpp>
9 #include <phosphor-logging/elog.hpp>
10 #include <phosphor-logging/lg2.hpp>
46 // for the commit to finish. commit<>() can take at least 5 seconds in reportError()
193 * - timerUse
194 * - dontStopTimer
195 * - dontLog
196 * - timerAction
197 * - pretimeout
198 * - expireFlags
[all …]
/openbmc/u-boot/drivers/fpga/
H A Dlattice.c1 // SPDX-License-Identifier: GPL-2.0+
53 * micro-seconds or 32000 milli-second maximum. The VME file will never pass on
73 pfns->jtag_set_tdi(a_ucValue); in writePort()
76 pfns->jtag_set_tck(a_ucValue); in writePort()
79 pfns->jtag_set_tms(a_ucValue); in writePort()
88 return pfns->jtag_get_tdo(); in readPort()
138 * Data over-run. in GetByte()
263 if ((desc->family > min_lattice_type) && in lattice_validate()
264 (desc->family < max_lattice_type)) { in lattice_validate()
265 if ((desc->iface > min_lattice_iface_type) && in lattice_validate()
[all …]
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempMain.cpp8 // http://www.apache.org/licenses/LICENSE-2.0
29 #include <phosphor-logging/lg2.hpp>
30 #include <phosphor-logging/lg2/flags.hpp>
63 static constexpr double minValueTemperature = -128; // DegreesC
107 // https://lore.kernel.org/linux-iio/5c79425f-6e88-36b6-cdfe-4080738d039f@metafoo.de/ in getSensorParameters()
121 // units that have yet to be scaled for D-Bus. in getSensorParameters()
126 pathStr.substr(0, pathStr.size() - 4) + "_offset"; in getSensorParameters()
130 // https://lore.kernel.org/linux-iio/5c79425f-6e88-36b6-cdfe-4080738d039f@metafoo.de/ in getSensorParameters()
137 pathStr.substr(0, pathStr.size() - 4) + "_scale"; in getSensorParameters()
141 // https://lore.kernel.org/linux-iio/5c79425f-6e88-36b6-cdfe-4080738d039f@metafoo.de/ in getSensorParameters()
[all …]
/openbmc/openbmc-test-automation/redfish/events/
H A Dtest_bmc_snmp_config.robot4 ... configuration refer http://www.net-snmp.org/.
33 ${CMD_DEBUG_TRABALL_ERROR}= /tmp/tarball/bin/logging-test -c AutoTestSimple
58 [Documentation] Configure SNMP Manager On BMC with out-of range port and verify.
90 [Documentation] Configure SNMP Manager On BMC with out-of range IP and verify.
110 [Documentation] Configure multiple SNMP Managers with non-default port And Verify.
203 ${trap_info}= Get From List ${lines} -1
206 Should Contain ${SNMP_TRAP}[0] DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks:
207 …Should Be Equal ${SNMP_TRAP}[1] SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.49871.1…
208 Should Match Regexp ${SNMP_TRAP}[2] SNMPv2-SMI::enterprises.49871.1.0.1.1 = Gauge32: \[0-9]*
209 …Should Match Regexp ${SNMP_TRAP}[3] SNMPv2-SMI::enterprises.49871.1.0.1.2 = Opaque: UInt64: \[0-
[all …]
H A Dtest_bmc_snmp_trap.robot4 ... configuration refer http://www.net-snmp.org/.
43 [Documentation] Configure SNMP Manager On BMC with out-of range port and verify.
150 [Documentation] Configure multiple SNMP Managers with non-default port And Verify.
157 # Configure multiple SNMP managers with non-default port.
188 [Documentation] Configure SNMP Manager On BMC with out-of range IP and expect an error.
322 # Example - SNMP trap:
323 # DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (252367) 0:42:03.67
324 # SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.49871.1.0.0.1
325 # SNMPv2-SMI::enterprises.49871.1.0.1.1 = Gauge32: 54
326 # SNMPv2-SMI::enterprises.49871.1.0.1.2 = Opaque: UInt64: 4622921648578756984
[all …]
/openbmc/phosphor-mrw-tools/
H A Dgen_led_groups.pl41 # These are generally front-fault-led and rear-fault-led
52 my $targetObj = Targets->new;
55 $targetObj->{debug} = 1;
60 $targetObj->{force} = 1;
63 $targetObj->loadXML($serverwizFile);
71 $invHash{$item->{TARGET}} = $item->{OBMC_NAME};
84 foreach my $target (sort keys %{$targetObj->getAllTargets()})
87 if($targetObj->isBadAttribute($target, "MRW_TYPE"))
92 # Return true if not populated -or- not present
93 if("LED" eq $targetObj->getMrwType($target))
[all …]
/openbmc/u-boot/drivers/mtd/
H A Dst_smi.c1 // SPDX-License-Identifier: GPL-2.0+
81 * smi_wait_xfer_finish - Wait until TFF is set in status register
91 if (readl(&smicntl->smi_sr) & TFF) in smi_wait_xfer_finish()
98 return -1; in smi_wait_xfer_finish()
102 * smi_read_id - Read flash id
112 writel(readl(&smicntl->smi_cr1) | SW_MODE, &smicntl->smi_cr1); in smi_read_id()
113 writel(READ_ID, &smicntl->smi_tr); in smi_read_id()
115 &smicntl->smi_cr2); in smi_read_id()
118 return -EIO; in smi_read_id()
120 value = (readl(&smicntl->smi_rr) & 0x00FFFFFF); in smi_read_id()
[all …]
/openbmc/ipmitool/src/plugins/imb/
H A Dimbapi.h11 /*----------------------------------------------------------------------*
35 *----------------------------------------------------------------------*/
146 Unicode strings are counted 16-bit character strings. If they are
161 #define FIELD_OFFSET(type, field) ((LONG)&(((type *)0)->field))
164 #define INVALID_HANDLE_VALUE ((HANDLE)-1)
185 that function codes 0-2047 are reserved for Microsoft Corporation, and
186 2048-4095 are reserved for customers.
195 * us from imb_if.h - Mahendra
206 /*----------------------------------------------------------------------*/
252 /*----------------------------------------------------------------------*/
[all …]
/openbmc/bmcweb/redfish-core/include/utils/extern/
H A Ddate.h3 // clang-format off
80 # pragma GCC diagnostic ignored "-Wpedantic"
81 # pragma GCC diagnostic ignored "-Wconversion"
82 # pragma GCC diagnostic ignored "-Wold-style-cast"
85 // GCC 4.9 Bug 61489 Wrong warning with -Wmissing-field-initializers
86 # pragma GCC diagnostic ignored "-Wmissing-field-initializers"
91 # pragma GCC diagnostic ignored "-Wunsafe-buffer-usage"
92 # pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
93 # pragma GCC diagnostic ignored "-Wold-style-cast"
105 //---------------+
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dsystems.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
3 // SPDX-FileCopyrightText: Copyright 2018 Intel Corporation
32 #include <asm-generic/errno.h>
63 {{"SSH", "obmc-console-ssh"}, {"IPMI", "phosphor-ipmi-ne
[all...]
/openbmc/u-boot/
H A DREADME1 # SPDX-License-Identifier: GPL-2.0+
3 # (C) Copyright 2000 - 2013
9 This directory contains the source code for U-Boot, a boot loader for
15 The development of U-Boot is closely related to Linux: some parts of
37 scattered throughout the U-Boot source identifying the people or
41 actual U-Boot source tree; however, it can be created dynamically
51 U-Boot, you should send a message to the U-Boot mailing list at
52 <u-boot@lists.denx.de>. There is also an archive of previous traffic
53 on the mailing list - please search the archive before asking FAQ's.
54 Please see http://lists.denx.de/pipermail/u-boot and
[all …]