Home
last modified time | relevance | path

Searched +full:milli +full:- +full:second (Results 1 – 9 of 9) sorted by relevance

/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/
H A DWatchdog.interface.yaml5 - name: ResetTimeRemaining
12 - name: EnableWatchdog
18 - xyz.openbmc_project.Common.Error.InternalFailure
21 - name: Initialized
26 - name: Enabled
31 - name: LogTimeout
37 - name: ExpireAction
42 - name: Interval
45 Time interval to arm the watchdog, in milli-second.
47 - name: TimeRemaining
[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/pldm/fw-update/
H A Dupdate_manager.cpp7 #include <phosphor-logging/lg2.hpp>
39 if (activation->activation() == in processPackage()
44 "VERSION", parser->pkgVersion); in processPackage()
46 return -1; in processPackage()
59 "Failed to open the PLDM fw update package file '{FILE}', error - {ERROR}.", in processPackage()
63 return -1; in processPackage()
75 return -1; in processPackage()
88 return -1; in processPackage()
92 size_t versionHash = std::hash<std::string>{}(parser->pkgVersion); in processPackage()
98 parser->parse(packageHeader, packageSize); in processPackage()
[all …]
/openbmc/bmcweb/redfish-core/src/utils/
H A Dtime_utils.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
80 size_t charactersRead = static_cast<size_t>(ptr - v.data()); in fromDurationString()
122 // 1S) or for the second time (in the case of 1.1S). in fromDurationString()
174 ms -= days; in toDurationString()
177 ms -= hours; in toDurationString()
180 ms -= minutes; in toDurationString()
183 ms -= seconds; in toDurationString()
234 // Preconditions: z is number of days since 1970-01-01 and is in the range:
236 // numeric_limits<Int>::max()-719468].
[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/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/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 …]
/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 …]