Home
last modified time | relevance | path

Searched +full:update +full:- +full:interval (Results 1 – 25 of 912) sorted by relevance

12345678910>>...37

/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/
H A DReport.interface.yaml7 - name: Update
9 The Update method is defined for the on demand metric report update.
10 It triggers update of the Readings property. If ReportingType is not
12 - name: SetReadingProperties
14 Performs safe modification of ReportingType and Interval properties
18 - name: ReportingType
23 - name: Interval
29 - name: Persistency
34 - name: ReadingParameters
46 - name: Readings
[all …]
H A DReportManager.interface.yaml6 - name: AddReport
13 - name: Id
17 D-Bus. Acceptable formats are: "{Id}", "{Prefix}/{SubId}",
20 - name: Name
24 - name: reportingType
29 - name: ReportUpdates
34 - name: AppendLimit
38 - name: ReportActions
41 Possible additional actions to trigger after readings' update,
43 - name: Interval
[all …]
/openbmc/qemu/docs/interop/
H A Dvirtio-balloon-stats.rst9 This is done by writing a time interval value (in seconds) to the
10 guest-stats-polling-interval property. This value can be:
13 enables polling in the specified interval. If polling is already
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
22 interval.
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
[all …]
/openbmc/phosphor-watchdog/src/
H A Dwatchdog.cpp3 #include <phosphor-logging/elog.hpp>
4 #include <phosphor-logging/log.hpp>
29 timeRemaining(interval()); in resetTimeRemaining()
50 else if (!this->enabled()) in enabled()
52 auto interval_ms = this->interval(); in enabled()
55 entry("INTERVAL=%llu", interval_ms)); in enabled()
79 // We don't need to update the timer because it is off in timeRemaining()
83 if (this->enabled()) in timeRemaining()
85 // Update interval to minInterval if applicable in timeRemaining()
92 value = fallback->interval; in timeRemaining()
[all …]
/openbmc/linux/drivers/iio/common/inv_sensors/
H A Dinv_sensors_timestamp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 (((_val) * (1000 - (_jitter))) / 1000)
21 /* Add a new value inside an accumulator and update the estimate value */
27 acc->values[acc->idx++] = val; in inv_update_acc()
28 if (acc->idx >= ARRAY_SIZE(acc->values)) in inv_update_acc()
29 acc->idx = 0; in inv_update_acc()
32 for (i = 0; i < ARRAY_SIZE(acc->values); ++i) { in inv_update_acc()
33 if (acc->values[i] == 0) in inv_update_acc()
35 sum += acc->values[i]; in inv_update_acc()
38 acc->val = div_u64(sum, i); in inv_update_acc()
[all …]
/openbmc/linux/drivers/thermal/ti-soc-thermal/
H A Dti-bandgap.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
6 * Author: J Keerthy <j-keerthy@ti.com>
7 * Author: Moiz Sonasath <m-sonasath@ti.com>
36 #include "ti-bandgap.h"
47 * ti_bandgap_readl() - simple read helper function
56 return readl(bgp->base + reg); in ti_bandgap_readl()
60 * ti_bandgap_writel() - simple write helper function
69 writel(val, bgp->base + reg); in ti_bandgap_writel()
73 * DOC: macro to update bits.
[all …]
/openbmc/pldm/
H A Dmeson.options26 'transport-implementation',
28 choices: ['mctp-demux', 'af-mctp'],
29 description: 'transport via af-mctp or mctp-demux',
39 'dbus-timeout-value',
49 'heartbeat-timeout-seconds',
53 from host, as part of host-bm
[all...]
/openbmc/linux/net/dccp/ccids/lib/
H A Dloss_interval.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 2005-7 The University of Waikato, Hamilton, New Zealand.
5 * Copyright (c) 2005-7 Ian McDonald <ian.mcdonald@jandi.co.nz>
12 /* Loss Interval weights from [RFC 3448, 5.4], scaled by 10 */
18 return LIH_SIZE - 1 - (ctr % LIH_SIZE); in LIH_INDEX()
24 return lh->counter ? lh->ring[LIH_INDEX(lh->counter - 1)] : NULL; in tfrc_lh_peek()
30 BUG_ON(i >= lh->counter); in tfrc_lh_get_interval()
31 return lh->ring[LIH_INDEX(lh->counter - i - 1)]->li_length; in tfrc_lh_get_interval()
35 * On-demand allocation and de-allocation of entries
39 if (lh->ring[LIH_INDEX(lh->counter)] == NULL) in tfrc_lh_demand_next()
[all …]
/openbmc/linux/kernel/time/
H A Dntp.c1 // SPDX-License-Identifier: GPL-2.0
49 * phase-lock loop variables
82 /* constant (boot-param configurable) NTP tick adjustment (upscaled) */
91 * The following variables are used when a pulse-per-second (PPS) signal
97 #define PPS_INTMIN 2 /* min freq interval (s) (shift) */
98 #define PPS_INTMAX 8 /* max freq interval (s) (shift) */
107 static struct timespec64 pps_fbase; /* beginning of the last freq interval */
108 static int pps_shift; /* current interval duration (s) (shift) */
109 static int pps_intcnt; /* interval counter */
135 /* the PPS calibration interval may end in pps_reset_freq_interval()
[all …]
H A Dtimekeeping.c1 // SPDX-License-Identifier: GPL-2.0
28 #include "tick-internal.h"
37 /* Update timekeeper when a tick has passed */
40 /* Update timekeeper on a direct frequency change */
63 * struct tk_fast - NMI safe timekeeper
76 /* Suspend-time cycles value for halted fast timekeeper. */
119 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime()
120 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime()
121 tk->xtime_sec++; in tk_normalize_xtime()
123 while (tk->tkr_raw.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_raw.shift)) { in tk_normalize_xtime()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Ddlg,da9150-fuel-gauge.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/dlg,da9150-fuel-gauge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Dialog Semiconductor DA9150 Fuel-Gauge Power Supply
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: dlg,da9150-fuel-gauge
19 dlg,update-interval:
21 description: Interval time (milliseconds) between battery level checks.
[all …]
/openbmc/linux/Documentation/hwmon/
H A Dsht3x.rst6 * Sensirion SHT3x-DIS
16 - David Frey <david.frey@sensirion.com>
17 - Pascal Sachs <pascal.sachs@sensirion.com>
20 -----------
22 This driver implements support for the Sensirion SHT3x-DIS chip, a humidity
29 Documentation/i2c/instantiating-devices.rst for methods to instantiate the device.
31 Even if sht3x sensor supports clock-strech(blocking mode) and non-strench
32 (non-blocking mode) in single-shot mode, this driver only supports the latter.
48 with the configured update interval on the chip. When a temperature or humidity
55 sysfs-Interface
[all …]
/openbmc/sdeventplus/test/utility/
H A Dtimer.cpp1 #include <systemd/sd-event.h>
44 event_ref_times--; in ACTION()
56 const milliseconds interval{134}; member in sdeventplus::utility::__anon9ead1e020111::TimerTest
109 expectSetTime(new_time + interval); in expireTimer()
111 EXPECT_TRUE(timer->hasExpired()); in expireTimer()
112 EXPECT_EQ(interval, timer->getInterval()); in expireTimer()
134 // Having a callback proxy allows us to update the test callback in SetUp()
146 microseconds(starting_time + interval).count(), in SetUp()
151 timer = std::make_unique<TestTimer>(*event, runCallback, interval); in SetUp()
152 EXPECT_EQ(expected_event, timer->get_event().get()); in SetUp()
[all …]
/openbmc/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst1 .. SPDX-License-Identifier: GPL-2.0
9 - *DAMON user space tool.*
11 system administrators who want a just-working human-friendly interface.
12 Using this, users can use the DAMON’s major features in a human-friendly way.
16 - *sysfs interface.*
23 - *debugfs interface. (DEPRECATED!)*
28 linux-mm@kvack.org.
29 - *Kernel Space Programming Interface.*
57 ---------------
60 figure, parents-children relations are represented with indentations, each
[all …]
/openbmc/linux/arch/s390/kernel/
H A Dvtime.c1 // SPDX-License-Identifier: GPL-2.0
52 S390_lowcore.system_timer += S390_lowcore.last_update_timer - timer; in set_vtimer()
77 delta = cycles_new[i] - cycles_old[i]; in update_mt_scaling()
85 /* Update scaling factor */ in update_mt_scaling()
98 delta = new - *tsk_vtime; in update_tsk_timer()
117 p->stimescaled += cputime_to_nsecs(scale_vtime(cputime)); in account_system_index_scaled()
122 * Update process times based on virtual cpu times stored by entry.S
137 clock = S390_lowcore.last_update_clock - clock; in do_account_vtime()
138 timer -= S390_lowcore.last_update_timer; in do_account_vtime()
145 /* Update MT utilization calculation */ in do_account_vtime()
[all …]
/openbmc/qemu/scripts/
H A Duserfaultfd-wrlat.py3 # userfaultfd-wrlat Summarize userfaultfd write fault latencies.
6 # dumped each 'interval' seconds.
10 # USAGE: userfaultfd-lat [interval [count]]
18 # later. See the COPYING file in the top-level directory.
27 print("USAGE: %s [interval [count]]" % argv[0])
45 ev_start.update(&tid, &ts);
58 u64 delta = ts - (*tsp);
85 interval = 10 variable
86 count = -1
89 interval = int(argv[1])
[all …]
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_if.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * enum venc_yuv_fmt - The type of input yuv format
16 * (VPU related: If you change the order, you must also update the VPU codes.)
30 * enum venc_start_opt - encode frame option used in venc_if_encode()
40 * enum venc_set_param_type - The type of set parameter used in
42 * (VPU related: If you change the order, you must also update the VPU codes.)
47 * @VENC_SET_PARAM_GOP_SIZE: set IDR interval
48 * @VENC_SET_PARAM_INTRA_PERIOD: set I frame interval
66 * struct venc_enc_prm - encoder settings for VENC_SET_PARAM_ENC used in
95 * struct venc_frame_info - per-frame information to pass to the firmware.
[all …]
/openbmc/qemu/block/
H A Dblklogwrites.c6 * Copyright (c) 2018-2024 Ari Sundholm <ari@tuxera.com>
9 * See the COPYING file in the top-level directory.
15 #include "block/block-io.h"
23 /* Disk format stuff - taken from Linux drivers/md/dm-log-writes.c */
37 /* All fields are little-endian. */
72 * The super block sequence number. Non-zero if a super block update is in
80 * A coroutine-aware queue to serialize super block updates.
93 .name = "log-append",
98 .name = "log-sector-size",
103 .name = "log-super-update-interval",
[all …]
/openbmc/linux/drivers/hwmon/
H A Dnzxt-smart2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Reverse-engineered NZXT RGB & Fan Controller/Smart Device v2 driver.
77 * a 2-byte output report { 0x60, 0x03 }.
90 * The device sends these reports at a fixed interval (update interval) -
92 * FAN_STATUS_REPORT_VOLTAGE per update interval.
112 * Fan duty cycle, in percent. Non-zero even for
117 * Exactly the same values as duty_percent[], non-zero
127 * Voltage, in millivolts. Non-zero even when fan is
132 * Current, in milliamperes. Near-zero when
161 /* To change fan speed on i-th channel, set i-th bit here */
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dos_utils_keywords.py25 retry_interval Time interval in minute(s) for looping.
34 # Convert the interval time in seconds
36 interval = int(interval_seconds)
39 BuiltIn().log(interval)
52 time.sleep(interval)
66 generated by "htxcmdline -geterrlog".
73 ---------------------------------------------------------------------
86 ---------------------------------------------------------------------
87 ---------------------------------------------------------------------
99 ---------------------------------------------------------------------
[all …]
/openbmc/phosphor-watchdog/test/
H A Dwatchdog.cpp42 wdog->interval(milliseconds(defaultInterval).count()); in WdogTest()
44 EXPECT_FALSE(wdog->enabled()); in WdogTest()
56 // This is the default interval as given in Interface definition
69 auto previousTimeRemaining = wdog->timeRemaining(); in waitForWatchdog()
72 previousTimeRemaining >= wdog->timeRemaining() && in waitForWatchdog()
73 wdog->timerEnabled()) in waitForWatchdog()
75 previousTimeRemaining = wdog->timeRemaining(); in waitForWatchdog()
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/linux/samples/bpf/
H A Dcpustat_kern.c1 // SPDX-License-Identifier: GPL-2.0
29 * timestamp (Idx, Ts), when new event incoming we need to update
33 * interval for the previous state: Duration(Idx) = Ts` - Ts.
38 * +--------------------------+
40 * +--------------------------+
42 * +--------------------------+
44 * +--------------------------+
46 * +--------------------------+
110 if (ctx->cpu_id > MAX_CPU) in bpf_prog1()
113 cpu = ctx->cpu_id; in bpf_prog1()
[all …]
/openbmc/linux/include/linux/
H A Dtimekeeper_internal.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * struct tk_read_base - base structure for timekeeping readout
18 * @cycle_last: @clock cycle value at last update
46 * struct timekeeper - Structure holding internal timekeeping values.
52 * @offs_real: Offset clock monotonic -> clock realtime
53 * @offs_boot: Offset clock monotonic -> clock boottime
54 * @offs_tai: Offset clock monotonic -> clock tai
58 * @next_leap_ktime: CLOCK_MONOTONIC time value of a pending leap-second
61 * @cycle_interval: Number of clock cycles in one NTP interval
63 * interval.
[all …]
H A Ddamon.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 /* Max priority score for DAMON-based operation schemes */
25 return l + get_random_u32_below(r - l); in damon_rand()
29 * struct damon_addr_range - Represents an address region of [@start, @end).
39 * struct damon_region - Represents a monitoring target region.
46 * @age is initially zero, increased for each aggregation interval, and reset
49 * region are set as region size-weighted average of those of the two regions.
63 * struct damon_target - Represents a monitoring target.
82 * enum damos_action - Represents an action of a Data Access Monitoring-based
114 * struct damos_quota - Controls the aggressiveness of the given scheme.
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-bcm6328.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c
59 * struct bcm6328_led - state container for bcm6328 based LEDs
98 * bits [31:0] -> LEDs 8-23
99 * bits [47:32] -> LEDs 0-7
100 * bits [63:48] -> unused
105 return pin + 16; /* LEDs 0-7 (bits 47:32) */ in bcm6328_pin2shift()
107 return pin - 8; /* LEDs 8-23 (bits 31:0) */ in bcm6328_pin2shift()
115 shift = bcm6328_pin2shift(led->pin); in bcm6328_led_mode()
117 mode = led->mem + BCM6328_REG_MODE_HI; in bcm6328_led_mode()
[all …]

12345678910>>...37