/openbmc/qemu/tests/functional/acpi-bits/bits-tests/ |
H A D | smilatency.py2 | 51 bins = [long(tsc_per_usec * 10**i) for i in range(9)] 54 "1us < t <= 10us", 55 "10us < t <= 100us", 56 "100us < t <= 1ms", 57 "1ms < t <= 10ms", 58 "10ms < t <= 100ms", 59 "100ms < t <= 1s ", 60 "1s < t <= 10s ", 61 "10s < t <= 100s ", 99 count_for_estimate = 10
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | bcd_time_test.cpp | 26 EXPECT_EQ(toBCD(10), 0x10); in TEST() 100 uint64_t ms = std::chrono::duration_cast<std::chrono::milliseconds>( in TEST() local 104 ASSERT_EQ(getBCDTime(now), getBCDTime(ms)); in TEST() 111 uint64_t ms = std::chrono::duration_cast<std::chrono::milliseconds>( in TEST() local 114 auto bcdTime = getBCDTime(ms); in TEST() 116 // BCDTime only tracks down to hundredths of a second (10ms), in TEST() 119 ms = ms - (ms % 10); in TEST() 121 EXPECT_EQ(ms, getMillisecondsSinceEpoch(bcdTime)); in TEST()
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_tpl.c | 100 * Run a 10 ms periodic timer and check that it is called 10 times 101 * while waiting for 100 ms single shot timer. 103 * Raise the TPL level to the level of the 10 ms timer and observe 117 /* Set 10 ms timer */ in execute() 124 /* Set 100 ms timer */ in execute() 164 /* Set 10 ms timer */ in execute() 171 /* Set 100 ms timer */ in execute() 191 /* Set 1 ms timer */ in execute()
|
H A D | efi_selftest_events.c | 100 * Run a 10 ms periodic timer and check that it is called 10 times 101 * while waiting for 100 ms single shot timer. 103 * Run a 100 ms single shot timer and check that it is called once 104 * while waiting for 100 ms periodic timer for two periods. 113 /* Set 10 ms timer */ in execute() 120 /* Set 100 ms timer */ in execute() 154 /* Set 10 ms timer */ in execute() 161 /* Set 100 ms timer */ in execute()
|
/openbmc/telemetry/tests/src/ |
H A D | test_metric.cpp | 18 constexpr Milliseconds systemTimestamp = 42ms; 55 .collectionDuration(CollectionDuration(0ms)); 153 EXPECT_THROW(sut->sensorUpdated(*sensor, Milliseconds{10}, 20.0), in TEST_F() 220 ret.emplace_back(0ms, std::numeric_limits<double>::quiet_NaN()); in defaultReadings() 221 ret.emplace_back(10ms, 14.); in defaultReadings() 222 ret.emplace_back(1ms, 3.); in defaultReadings() 223 ret.emplace_back(5ms, 7.); in defaultReadings() 232 .expectedReading(systemTimestamp + 16ms, 7.0); in defaultCollectionFunctionParams() 258 .collectionDuration(CollectionDuration(100ms)) 259 .expectedReading(systemTimestamp + 16ms, 3.0), [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/ |
H A D | CVE-2019-7577.patch | 4 # Mon Jun 10 08:54:11 2019 -0700 13 This patch fixes it by checking a MS ADPCM data to be decoded are not 24 # Mon Jun 10 08:54:29 2019 -0700 29 If a chunk of RIFF/WAV file with MS ADPCM encoding contains an invalid 32 into an array of MS ADPCM coefficients. 38 This patch fixes it by checking the MS ADPCM predictor values fit 77 @@ -141,10 +142,14 @@ static int MS_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) 106 + SDL_SetError("Too short chunk for a MS ADPCM decoder"); 110 + SDL_SetError("Invalid predictor value for a MS ADPCM decoder");
|
H A D | CVE-2019-7575.patch | 4 # Mon Jun 10 09:25:05 2019 -0700 9 If a WAV format defines shorter audio stream and decoded MS ADPCM data chunk 25 --- a/src/audio/SDL_wave.c Mon Jun 10 09:06:23 2019 -0700 26 +++ b/src/audio/SDL_wave.c Mon Jun 10 09:25:05 2019 -0700 76 - SDL_SetError("Too short chunk for a MS ADPCM decoder"); 78 + SDL_SetError("Unexpected chunk length for a MS ADPCM decoder");
|
H A D | CVE-2019-7576.patch | 4 # Mon Jun 10 09:06:23 2019 -0700 9 If MS ADPCM format chunk was too short, InitMS_ADPCM() parsing it 25 --- a/src/audio/SDL_wave.c Mon Jun 10 08:57:11 2019 -0700 26 +++ b/src/audio/SDL_wave.c Mon Jun 10 09:06:23 2019 -0700 67 + SDL_SetError("Unexpected length of a chunk with a MS ADPCM format");
|
/openbmc/qemu/include/system/ |
H A D | numa.h | 11 #define NUMA_DISTANCE_MIN 10 100 void set_numa_options(MachineState *ms, NumaOptions *object, Error **errp); 101 void parse_numa_opts(MachineState *ms); 104 void parse_numa_hmat_cache(MachineState *ms, NumaHmatCacheOptions *node, 106 void numa_complete_configuration(MachineState *ms); 107 void query_numa_node_mem(NumaNodeMem node_mem[], MachineState *ms);
|
/openbmc/qemu/hw/core/ |
H A D | numa.c | 62 static void parse_numa_node(MachineState *ms, NumaNodeOptions *node, in parse_numa_node() argument 68 MachineClass *mc = MACHINE_GET_CLASS(ms); in parse_numa_node() 69 unsigned int max_cpus = ms->smp.max_cpus; in parse_numa_node() 70 NodeInfo *numa_info = ms->numa_state->nodes; in parse_numa_node() 75 nodenr = ms->numa_state->num_nodes; in parse_numa_node() 95 if (!ms->numa_state->hmat_enabled) { in parse_numa_node() 121 props = mc->cpu_index_to_instance_props(ms, cpus->value); in parse_numa_node() 124 machine_set_cpu_numa_node(ms, &props, &err); in parse_numa_node() 168 ms->numa_state->num_nodes++; in parse_numa_node() 172 void parse_numa_distance(MachineState *ms, NumaDistOptions *dist, Error **errp) in parse_numa_distance() argument [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/gnuplot/gnuplot/ |
H A D | 0003-Use-native-tools-to-build-docs.patch | 26 @@ -156,7 +156,7 @@ gnuplot-groff.ps: gnuplot.ms $(srcdir)/titlepag.ms 29 gnuplot.ms: doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc 30 - $(AM_V_GEN) ./doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.ms "$(srcdir)/titlepag.ms" 31 + $(AM_V_GEN) doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.ms "$(srcdir)/titlepag.ms" 35 @@ -177,10 +177,10 @@ pdf_figures: $(GNUPLOT_EXE) $(srcdir)/plotstyles.gnu
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_numa.c | 69 * Wrapper that returns node distance from ms->numa_state->nodes 72 static int get_numa_distance(MachineState *ms, int src, int dst) in get_numa_distance() argument 74 NodeInfo *numa_info = ms->numa_state->nodes; in get_numa_distance() 94 static bool spapr_numa_is_symmetrical(MachineState *ms) in spapr_numa_is_symmetrical() argument 96 int nb_numa_nodes = ms->numa_state->num_nodes; in spapr_numa_is_symmetrical() 101 if (get_numa_distance(ms, src, dst) != in spapr_numa_is_symmetrical() 102 get_numa_distance(ms, dst, src)) { in spapr_numa_is_symmetrical() 113 * what the kernel understand as possible values: 10 116 * - local distance (10) returns numa_level = 0x4, meaning there is 130 if (distance == 10) { in spapr_numa_get_numa_level() [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | bcd_time.cpp | 58 auto ms = duration_cast<milliseconds>(time.time_since_epoch()).count(); in getBCDTime() local 59 int hundredths = (ms % 1000) / 10; in getBCDTime() 67 std::chrono::milliseconds ms{epochMS}; in getBCDTime() local 68 std::chrono::time_point<std::chrono::system_clock> time{ms}; in getBCDTime() 88 int milliseconds = fromBCD(bcdTime.hundredths) * 10; in getMillisecondsSinceEpoch()
|
/openbmc/u-boot/board/freescale/m5249evb/ |
H A D | m5249evb.c | 44 * Busclk=70MHz, RefreshTime=64ms, #rows=4096 (4K) in dram_init() 50 * Busclk=5.6448MHz, RefreshTime=64ms, #rows=8192 (8K) in dram_init() 56 * Busclk=36MHz, RefreshTime=64ms, #rows=4096 (4K) in dram_init() 63 * SDRAM starts at 0x0000_0000, CASL=10, CBM=010, PS=10 (16bit port), in dram_init()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/crash/crash/ |
H A D | 0005-Fix-build-failure-on-32bit-machine-i686.patch | 4 Subject: [PATCH 10/10] Fix build failure on 32bit machine(i686) 75 struct machine_specific *ms = machdep->machspec; 76 if (is_kernel_text(*pc | ms->CONFIG_ARM64_KERNELPACMASK)) 77 *pc |= ms->CONFIG_ARM64_KERNELPACMASK;
|
H A D | 0002-arm64-add-pac-mask-to-better-support-gdb-stack-unwin.patch | 31 gdb_interface.c | 10 ++++++++++ 44 +@@ -944,6 +944,10 @@ frame_find_by_id (struct frame_id id) 78 + struct machine_specific *ms = machdep->machspec; 79 + if (is_kernel_text(*pc | ms->CONFIG_ARM64_KERNELPACMASK)) 80 + *pc |= ms->CONFIG_ARM64_KERNELPACMASK;
|
/openbmc/u-boot/arch/arm/mach-at91/ |
H A D | phy.c | 25 unsigned long const timeout = 1000; /* 1000ms */ in at91_phy_reset() 31 * Need to reset PHY -> 500ms reset in at91_phy_reset() 32 * Reset PHY by pulling the NRST line for 500ms to low. To do so in at91_phy_reset() 45 mdelay(10); in at91_phy_reset()
|
/openbmc/openbmc/poky/meta/recipes-extended/iputils/iputils/ |
H A D | CVE-2025-47268.patch | 24 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.061 ms 33 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.565 ms 36 2 packets transmitted, 2 received, +2 duplicates, 0% packet loss, time 1002ms 38 rtt min/avg/max/mdev = 0.000/1740158335919320.832/6960633343677281.965/-1623514645242292.-224 ms 51 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.057 ms 60 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.111 ms 63 2 packets transmitted, 2 received, +2 duplicates, 0% packet loss, time 101ms 64 rtt min/avg/max/mdev = 0.000/0.042/0.111/0.046 ms 91 @@ -10,6 +10,9 @@
|
/openbmc/u-boot/doc/ |
H A D | README.i2c | 53 - slew time 10 us 54 - retry time 3 ms 55 - wait time - 50ms 58 to the bus quite rarely (maybe every 10s or 30s to check the battery). This 59 scheme works very nicely with very low contention. There is only a 10 us
|
/openbmc/u-boot/drivers/led/ |
H A D | Kconfig | 20 means that if one LED is set to blink at 100ms and then a different 21 LED is set to blink at 200ms, both will blink at 200ms. 128 range 2 10 133 Values range: 2 - 10 163 range 2 10 168 Values range: 2 - 10 198 range 2 10 203 Values range: 2 - 10 233 range 2 10 238 Values range: 2 - 10 [all …]
|
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
H A D | gbmc-br-dhcp-term.sh | 30 # Ensure we only complete the addr lookup loop every 10s 31 tosleep=$((before + 10 - SECONDS)) 37 # We need to guarantee we wait at least 10 minutes from reachable in 39 wait_min=10 51 # Follow the process and make sure it idles for at least 10 minutes before 65 ms="$(echo "$json" | jq -r '.data[0].StateChangeTimestampMonotonic.data')" 66 (( ms != last_ms )) && break 78 # If the process is running, give it at least 10 minutes from when it started
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-virtio-ccw.c | 278 S390CcwMachineState *ms = S390_CCW_MACHINE(machine); in ccw_init() local 283 ms->sclp = SCLP(object_new(TYPE_SCLP)); in ccw_init() 284 object_property_add_child(OBJECT(machine), TYPE_SCLP, OBJECT(ms->sclp)); in ccw_init() 285 qdev_realize_and_unref(DEVICE(ms->sclp), NULL, &error_fatal); in ccw_init() 330 s390_create_sclpconsole(ms->sclp, "sclpconsole", serial_hd(0)); in ccw_init() 333 s390_create_sclpconsole(ms->sclp, "sclplmconsole", serial_hd(1)); in ccw_init() 341 s390_create_sclpcpi(ms->sclp); in ccw_init() 350 MachineState *ms = MACHINE(hotplug_dev); in s390_cpu_plug() local 353 g_assert(!ms->possible_cpus->cpus[cpu->env.core_id].cpu); in s390_cpu_plug() 354 ms->possible_cpus->cpus[cpu->env.core_id].cpu = CPU(dev); in s390_cpu_plug() [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-core/systemd/phosphor-systemd-policy/ |
H A D | service-restart-policy.conf | 3 # - Change the RestartSec from 100ms to 1s. 6 # files within ~500ms puts a huge strain on the BMC. Also, if the bmc is 21 # failure which means the default of 10s for this results in the service
|
/openbmc/bios-bmc-smm-error-logger/ |
H A D | meson.options | 5 'read-interval-ms', 7 value: 10, 8 description: 'Read loop interval in millisecond (ms)',
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Ipmi/ |
H A D | SOL.interface.yaml | 41 Character Accumulate Interval in 5ms increments. BMC will wait this 59 Retry Interval in 10ms increments.
|