Home
last modified time | relevance | path

Searched +full:re +full:- +full:enabled (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/openbmc/qemu/tests/tcg/aarch64/gdbstub/
H A Dtest-mte.py3 # Test GDB memory-tag commands that exercise the stubs for the qIsAddressTagged,
5 # Logical tags-related commands rely on local operations, hence don't exercise
9 # chunk, and then using the GDB 'memory-tagging' subcommands to set/get tags in
10 # different memory locations and ranges in the MTE-enabled memory chunk.
12 # This is launched via tests/guest-debug/run-test.py
20 exit("This script must be launched via tests/guest-debug/run-test.py!")
21 import re
26 PATTERN_0 = r"Memory tags for address 0x[0-9a-f]+ match \(0x[0-9a-f]+\)."
27 PATTERN_1 = r".*(0x[0-9a-f]+)"
31 p = arg_parser(prog="test-mte.py", description="TCG MTE tests.")
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dipmi_utils.py8 import re
37 not supported - defaulting to 0x0e
41 sol_info[Set in progress]: set-complete
43 sol_info[Non-Volatile Bit Rate (kbps)]: IPMI-Over-Serial-Setting
45 sol_info[Enabled]: true
46 sol_info[Volatile Bit Rate (kbps)]: IPMI-Over-Serial-Setting
78 # "retry-count").
184 # process it as a sub-dictionary.
188 + " | grep -E '^(Auth Type Enable)"
189 + "?[ ]+: ' | sed -re 's/^(Auth Type Enable)?[ ]+: //g'"
[all …]
H A Dpldm_utils.py9 import re
28 pldmtool base GetPLDMVersion -t 0
68 "AttributeNameHandle": "23(pvm-pcie-error-inject)",
72 "PossibleValueStringHandle[1]": "4(Enabled)",
75 "StringHandle": "4(Enabled)"
78 e.g. {'pvm_pcie_error_inject': ['Disabled', 'Enabled']}
90 value = re.search(r"\((.*?)\)", attr_values).group(1)
96 attr_handle = re.findall(
99 attr_val_data_dict[attr_handle[0][1:-1]] = value_list
119 attr_handle = re.findall(r"\(.*?\)", item["AttributeNameHandle"])
[all …]
H A Dstate_map.py6 - Defines Valid states of the system
10 import re
16 repo_data_dir_path = re.sub("/lib", "/data", robot_pgm_dir_path)
99 "Enabled",
108 "Enabled",
117 "Enabled",
119 "Enabled",
126 "Enabled",
128 "Enabled",
135 "Enabled",
[all …]
H A Dvar_funcs.py8 import re
40 The print-out of the resulting var dictionary is:
249 key = re.sub(r" ", "_", key)
288 headers[0][0]: content-length
291 headers[1][0]: x-xss-protection
301 [content-length]: 559
302 [x-xss-protection]: 1; mode=block
304 Another example containing a sub-list (see process_indent description below):
313 …Note that the 2 qualifications for containing a sub-list are met: 1) 'Additional Device Support' h…
328 …process_indent This indicates that indented sub-dictionaries and sub-lists are to…
[all …]
/openbmc/qemu/tests/functional/
H A Dtest_aarch64_tcg_plugins.py5 # These are a little more involved than the basic tests run by check-tcg.
12 # SPDX-License-Identifier: GPL-2.0-or-later
16 import re
24 Boots a Linux kernel with a TCG plugin enabled.
28 KERNEL_COMMON_COMMAND_LINE = 'printk.time=1 panic=-1 '
35 vm.add_args('-kernel', kernel_path,
36 '-append', kernel_command_line,
37 '-plugin', plugin,
38 '-d', 'plugin',
39 '-D', plugin_log,
[all …]
/openbmc/phosphor-watchdog/test/
H A Dwatchdog.cpp42 wdog->interval(milliseconds(defaultInterval).count()); in WdogTest()
44 EXPECT_FALSE(wdog->enabled()); in WdogTest()
69 auto previousTimeRemaining = wdog->timeRemaining(); in waitForWatchdog()
72 previousTimeRemaining >= wdog->timeRemaining() && in waitForWatchdog()
73 wdog->timerEnabled()) in waitForWatchdog()
75 previousTimeRemaining = wdog->timeRemaining(); in waitForWatchdog()
88 /** @brief Make sure that watchdog is started and not enabled */
91 EXPECT_FALSE(wdog->enabled()); in TEST_F()
92 EXPECT_EQ(0, wdog->timeRemaining()); in TEST_F()
93 EXPECT_FALSE(wdog->timerExpired()); in TEST_F()
[all …]
/openbmc/qemu/tests/tcg/multiarch/gdbstub/
H A Dinterrupt.py7 # This is launched via tests/guest-debug/run-test.py
20 # Switch to the thread we're going to be running the test in.
28 # Ideally, there should be no difference between what we're doing here and
32 # instructions that may have problems with what we're doing here. We don't
40 # Check whether the thread we're in after the interruption is the same we
48 running with scheduler-lock enabled.
54 gdb.execute("set scheduler-locking on")
/openbmc/qemu/docs/interop/
H A Dvirtio-balloon-stats.rst10 guest-stats-polling-interval property. This value can be:
14 enabled, the polling time interval is changed to the new value
20 Once polling is enabled, the virtio-balloon device in QEMU will start
24 To retrieve those stats, clients have to query the guest-stats property,
29 its value will be -1. Currently, the following stats are supported:
31 - stat-swap-in
32 - stat-swap-out
33 - stat-major-faults
34 - stat-minor-faults
35 - stat-free-memory
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/BMC/
H A DRedundancy.interface.yaml6 - name: Role
9 - readonly
13 - name: RedundancyEnabled
16 - readonly
19 If redundancy is currently enabled. In general, this means that the
22 - name: DisableRedundancyOverride
26 - xyz.openbmc_project.Common.Error.Unavailable
32 If set back to true, redundancy will immediately be re-enabled,
37 - name: FailoversPaused
40 - readonly
[all …]
/openbmc/smbios-mdr/tools/
H A Dsst-compare-redfish-os.py13 # * intel-speed-select tool from the kernel source tree
14 # (tools/power/x86/intel-speed-select), and available in the PATH.
18 import re
29 # For TPMI-based CPUs, we only care about powerdomain-0
32 match = re.search("powerdomain-(\\d+)", proc)
41 "intel-speed-select",
42 "--debug",
43 "--format=json",
44 "perf-profile",
55 match = re.search("logical_cpu:(\\d+).*punit_core:(\\d+)", line)
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/
H A DWatchdog.interface.yaml5 - name: ResetTimeRemaining
9 TimeRemaining. Optionally the watchdog can be enabled during the reset
12 - name: EnableWatchdog
15 If true the watchdog will be enabled when the reset is
18 - xyz.openbmc_project.Common.Error.InternalFailure
21 - name: Initialized
26 - name: Enabled
29 The watchdog is enabled or not.
31 - name: LogTimeout
37 - name: ExpireAction
[all …]
/openbmc/qemu/qapi/
H A Drocker.json1 # -*- Mode: Python -*-
19 # @ports: number of front-panel ports
27 # @query-rocker:
35 # .. qmp-example::
37 # -> { "execute": "query-rocker", "arguments": { "name": "sw1" } }
38 # <- { "return": {"name": "sw1", "ports": 2, "id": 1327446905938}}
40 { 'command': 'query-rocker',
77 # @enabled: port is enabled for I/O
79 # @link-up: physical link is UP on port
90 'data': { 'name': 'str', 'enabled': 'bool', 'link-up': 'bool',
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dfsl_corenet_serdes.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2009-2011 Freescale Semiconductor, Inc.
19 * The work-arounds for erratum SERDES8 and SERDES-A001 are linked together.
114 if (in_be32(&regs->bank[bank].rstctl) & SRDS_RSTCTL_SDPD) in serdes_lane_enabled()
124 return !(srds_lpd_b[bank] & (8 >> (lane - (6 + 4 * bank)))); in serdes_lane_enabled()
127 return !(in_be32(&gur->rcwsr[word]) & (0x80000000 >> bit)); in serdes_lane_enabled()
134 /* Is serdes enabled at all? */ in is_serdes_configured()
135 if (!(in_be32(&gur->rcwsr[5]) & FSL_CORENET_RCWSR5_SRDS_EN)) in is_serdes_configured()
153 return -ENODEV; in __serdes_get_first_lane()
157 * Returns the SERDES lane (0..SRDS_MAX_LANES-1) that routes to the given
[all …]
/openbmc/sdeventplus/src/sdeventplus/utility/
H A Dtimer.hpp49 * This timer is created enabled by default if passed an interval.
51 * @param[in] event - The event we are attaching to
52 * @param[in] callback - The user provided callback run when elapsing
54 * @param[in] interval - Optional amount of time in-between timer
57 * @param[in] accuracy - Optional amount of error tolerable in timer
66 /** @brief Constructs a new non-owning Timer from an existing timer
72 * @param[in] other - The other Timer to copy
73 * @param[in] - Denotes no reference taken or release
79 * @param[in] callback - The function executed on timer elapse
92 * @return The enabled status of the timer
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dlibc-package.bbclass4 # SPDX-License-Identifier: MIT
12 # "compile" - Use QEMU to generate the binary locale files
13 # "precompiled" - The binary locale files are pregenerated and already present
14 # "ondevice" - The device will build the locale files upon first boot through the postinst
21 enabled = d.getVar("ENABLE_BINARY_LOCALE_GENERATION")
24 if pn.endswith("-initial"):
25 enabled = False
27 if enabled and int(enabled):
28 import re
32 use_cross_localedef = d.getVar("LOCALE_GENERATION_WITH_CROSS-LOCALEDEF") or ""
[all …]
/openbmc/u-boot/board/freescale/ls1043ardb/
H A DKconfig11 default "fsl-layerscape"
21 PSCI image can be re-located to secure RAM.
22 If enabled, please also define the value for ARMV8_SECURE_BASE,
/openbmc/openbmc/poky/meta/recipes-extended/lighttpd/
H A Dlighttpd_1.4.79.bb1 SUMMARY = "Lightweight high-performance web server"
3-performance web server is designed and optimized for high performance environments. With a small …
6 LICENSE = "BSD-3-Clause"
10 RDEPENDS:${PN} = "lighttpd-module-dirlisting"
11 RRECOMMENDS:${PN} = "lighttpd-module-accesslog"
13 SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.xz \
27 PACKAGECONFIG[libev] = "-Dwith_libev=enabled,-Dwith_libev=disabled,libev"
28 PACKAGECONFIG[mysql] = "-Dwith_mysql=enabled,-Dwith_mysql=disabled,mariadb"
29 PACKAGECONFIG[ldap] = "-Dwith_ldap=enabled,-Dwith_ldap=disabled,openldap"
30 PACKAGECONFIG[attr] = "-Dwith_xattr=true,-Dwith_xattr=false,attr"
[all …]
/openbmc/qemu/scripts/codeconverter/codeconverter/
H A Dtest_regexps.py7 # the COPYING file in the top-level directory.
12 def test_res() -> None:
14 return re.fullmatch(regexp, s, re.MULTILINE)
27 assert fullmatch(RE_MACRO_CONCAT, 'TYPE_ASPEED_GPIO "-ast2600"')
28 assert fullmatch(RE_EXPRESSION, 'TYPE_ASPEED_GPIO "-ast2600"')
31 assert re.search(RE_MACRO_DEFINE, r'''
38 ''', re.MULTILINE)
42 assert not re.match(RE_CHECK_MACRO, r'''
48 } while (0)''', re.MULTILINE)
59 assert re.search(RE_TYPEINFO_START, r'''
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D0654 # Test for additional information emitted by qemu-img info on qcow2
24 import re
38 qemu_img('create', '-f', iotests.imgfmt, '-o', self.img_options,
45 '''Abstract base class for qemu-img info tests'''
52 data = qemu_img_info(test_img)['format-specific']
57 data = qemu_img('info', '--output=human', test_img).stdout.split('\n')
61 self.assertTrue(re.match('^ {4}[^ ]', field) is not None)
82 result = self.vm.qmp('query-block')['return']
84 data = drive['inserted']['image']['format-specific']
91 json_compare = { 'compat': '0.10', 'refcount-bits': 16,
[all …]
/openbmc/phosphor-watchdog/src/
H A Dwatchdog.cpp3 #include <phosphor-logging/elog.hpp>
4 #include <phosphor-logging/log.hpp>
32 enabled(true); in resetTimeRemaining()
37 bool Watchdog::enabled(bool value) in enabled() function in phosphor::watchdog::Watchdog
41 // Make sure we accurately reflect our enabled state to the in enabled()
43 WatchdogInherits::enabled(value); in enabled()
50 else if (!this->enabled()) in enabled()
52 auto interval_ms = this->interval(); in enabled()
54 log<level::INFO>("watchdog: enabled and started", in enabled()
58 return WatchdogInherits::enabled(value); in enabled()
[all …]
/openbmc/webui-vue/public/
H A Dindex.html4 <meta http-equiv="Content-Security-Policy">
5 <meta charset="utf-8">
6 <meta http-equiv="X-UA-Compatible" content="IE=edge">
7 <meta name="viewport" content="width=device-width,initial-scale=1.0">
13 …<strong>We're sorry but this application does not work properly without JavaScript enabled. Please…
16 <!-- built files will be auto injected -->
/openbmc/sdeventplus/example/
H A Dheartbeat.cpp13 using sdeventplus::source::Enabled;
43 // configured interval and re-enable it. in main()
45 source.set_enabled(Enabled::OneShot); in main()
/openbmc/openpower-vpd-parser/wait-vpd-parser/include/
H A Dprime_inventory.hpp60 * @param[in] i_vpdFilePath - EEPROM file path.
69 * @param[in] i_interfaceJson - JSON containing interfaces to be populated.
70 * @param[in,out] io_interfaceMap - Map to hold populated interfaces.
71 * @param[in] i_parsedVpdMap - Parsed VPD as a map.
81 * vpd-manager should update present property for a FRU if and only if it's
82 * not synthesized and vpd-manager handles present property for the FRU.
85 * @param[in] i_fru - JSON block for a single FRU.
101 * controlled by the VPD-Collection process, if it is found already
102 * populated, the functions skips re-populating the property so that already
105 * @param[in] i_inventoryObjPath - Inventory path as read from config JSON.
[all …]
/openbmc/openbmc-tools/openbmctool/
H A DREADME.md12 - `-H`: The hostname or IP for the BMC
13 - `-U`: The username One of the password options:
14 - `-P`: The password, provided in-line
15 - `-A`: Prompt for a password
16 - `-E`: Take the password from envvar `OPENBMCTOOL_PASSWORD`
21 re-enabled with the `local_users` sub-command.
39 To re-enable all local user accounts:
54 - <https://www.rsyslog.com/storing-and-forwarding-remote-messages/>
55 - <https://www.rsyslog.com/doc/rsyslog%255Fconf%255Ffilter.html>
56 - <https://www.thegeekdiary.com/understanding-rsyslog-filter-options/>
[all …]

12345678910>>...24