Home
last modified time | relevance | path

Searched refs:bound (Results 1 – 25 of 507) sorted by relevance

12345678910>>...21

/openbmc/phosphor-health-monitor/
H A Dhealth_metric.cpp115 auto bound = std::get<Bound>(key); in initProperties() local
120 bounds.emplace(bound, std::numeric_limits<double>::quiet_NaN()); in initProperties()
125 threshold->second.emplace(bound, value.value); in initProperties()
131 bool didThresholdViolate(ThresholdIntf::Bound bound, double thresholdValue, in didThresholdViolate() argument
134 switch (bound) in didThresholdViolate()
146 error("Invalid threshold bound {BOUND}", "BOUND", bound); in didThresholdViolate()
152 void HealthMetric::checkThreshold(Type type, Bound bound, MValue value) in checkThreshold() argument
154 auto threshold = std::make_tuple(type, bound); in checkThreshold()
157 if (thresholds.contains(type) && thresholds[type].contains(bound)) in checkThreshold()
161 thresholds[type][bound] = thresholdValue; in checkThreshold()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Ddebugfs.c76 int bound[3], i, range; in mt7603_ampdu_stat_show() local
79 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt7603_ampdu_stat_show()
80 bound[i] = MT_AGG_ASRCR_RANGE(range, i) + 1; in mt7603_ampdu_stat_show()
82 seq_printf(file, "Length: %8d | ", bound[0]); in mt7603_ampdu_stat_show()
83 for (i = 0; i < ARRAY_SIZE(bound) - 1; i++) in mt7603_ampdu_stat_show()
85 bound[i], bound[i + 1]); in mt7603_ampdu_stat_show()
87 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt7603_ampdu_stat_show()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_debugfs.c11 int bound[15], range[4], i; in mt792x_ampdu_stat_read_phy() local
22 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt792x_ampdu_stat_read_phy()
23 bound[i] = MT_MIB_ARNCR_RANGE(range[i / 4], i % 4) + 1; in mt792x_ampdu_stat_read_phy()
27 seq_printf(file, "Length: %8d | ", bound[0]); in mt792x_ampdu_stat_read_phy()
28 for (i = 0; i < ARRAY_SIZE(bound) - 1; i++) in mt792x_ampdu_stat_read_phy()
29 seq_printf(file, "%3d %3d | ", bound[i] + 1, bound[i + 1]); in mt792x_ampdu_stat_read_phy()
32 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt792x_ampdu_stat_read_phy()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_agpsupport.c218 entry->bound = 0; in drm_legacy_agp_alloc()
275 if (!entry || !entry->bound) in drm_legacy_agp_unbind()
279 entry->bound = 0; in drm_legacy_agp_unbind()
311 if (!entry || entry->bound) in drm_legacy_agp_bind()
317 entry->bound = dev->agp->base + (page << PAGE_SHIFT); in drm_legacy_agp_bind()
319 dev->agp->base, entry->bound); in drm_legacy_agp_bind()
352 if (entry->bound) in drm_legacy_agp_free()
437 if (entry->bound) in drm_legacy_agp_clear()
H A Ddrm_memory.c75 if (agpmem->bound <= offset in agp_remap()
76 && (agpmem->bound + (agpmem->pages << PAGE_SHIFT)) >= in agp_remap()
92 phys_page_map = (agpmem->memory->pages + (offset - agpmem->bound) / PAGE_SIZE); in agp_remap()
/openbmc/linux/drivers/base/
H A Dcomponent.c58 bool bound; member
68 bool bound; member
93 dev_name(m->parent), m->bound ? "bound" : "not bound"); in component_devices_show()
102 component ? (component->bound ? "bound" : "not bound") : "not registered"); in component_devices_show()
258 adev->bound = true; in try_to_bring_up_aggregate_device()
268 if (!adev->bound) { in try_to_bring_up_masters()
280 if (adev->bound) { in take_down_aggregate_device()
283 adev->bound = false; in take_down_aggregate_device()
575 WARN_ON(!component->bound); in component_unbind()
579 component->bound = false; in component_unbind()
[all …]
/openbmc/linux/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py88 def get_bound_value (bound, initval, ridx): argument
90 if isinstance(bound, int) or isinstance(bound, float):
91 val = bound
92 elif isinstance(bound, str):
93 if bound == '':
95 elif bound in alias:
99 elif bound.replace('.', '1').isdigit():
100 val = float(bound)
102 print("Wrong bound: {0}".format(bound))
104 print("Wrong bound: {0}".format(bound))
/openbmc/linux/Documentation/userspace-api/media/rc/
H A Dlirc-set-rec-carrier-range.rst13 LIRC_SET_REC_CARRIER_RANGE - Set lower bound of the carrier used to modulate
41 <LIRC_SET_REC_CARRIER_RANGE>` with the lower bound first and later call
42 :ref:`LIRC_SET_REC_CARRIER <LIRC_SET_REC_CARRIER>` with the upper bound.
/openbmc/linux/net/can/
H A Draw.c85 int bound; member
289 if (ro->bound) { in raw_notify()
298 ro->bound = 0; in raw_notify()
343 ro->bound = 0; in raw_init()
396 if (ro->bound) { in raw_release()
409 ro->bound = 0; in raw_release()
443 if (ro->bound && addr->can_ifindex == ro->ifindex) in raw_bind()
475 if (ro->bound) { in raw_bind()
487 ro->bound = 1; in raw_bind()
568 if (ro->bound && dev) { in raw_setsockopt()
[all …]
/openbmc/u-boot/arch/arm/cpu/armv7/
H A Dsyslib.c31 u32 bound) in wait_on_value() argument
39 if (i == bound) in wait_on_value()
/openbmc/libpldm/src/transport/
H A Daf-mctp.c40 bool bound; member
148 if (af_mctp->bound && hdr->request) { in pldm_transport_af_mctp_recv()
196 if (af_mctp->bound && !hdr->request) { in pldm_transport_af_mctp_send()
257 af_mctp->bound = false; in pldm_transport_af_mctp_init()
327 transport->bound = true; in pldm_transport_af_mctp_bind()
/openbmc/u-boot/arch/arm/mach-omap2/am33xx/
H A Dclock.c121 u32 bound = LDELAY; in wait_for_clk_enable() local
128 if (--bound == 0) { in wait_for_clk_enable()
149 u32 bound = LDELAY; in wait_for_clk_disable() local
155 if (--bound == 0) { in wait_for_clk_disable()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_matchall.c47 if (!block->mall.bound) in prestera_mall_prio_get()
107 block->mall.bound = true; in prestera_mall_replace()
126 block->mall.bound = false; in prestera_mall_destroy()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Ddebugfs.c281 int bound[7], i, range; in mt7615_ampdu_stat_read_phy() local
288 bound[i] = MT_AGG_ASRCR_RANGE(range, i) + 1; in mt7615_ampdu_stat_read_phy()
292 bound[i + 4] = MT_AGG_ASRCR_RANGE(range, i) + 1; in mt7615_ampdu_stat_read_phy()
296 seq_printf(file, "Length: %8d | ", bound[0]); in mt7615_ampdu_stat_read_phy()
297 for (i = 0; i < ARRAY_SIZE(bound) - 1; i++) in mt7615_ampdu_stat_read_phy()
299 bound[i], bound[i + 1]); in mt7615_ampdu_stat_read_phy()
302 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt7615_ampdu_stat_read_phy()
/openbmc/u-boot/scripts/coccinelle/iterators/
H A Ditnull.cocci1 /// Many iterators have the property that the first argument is always bound
85 cocci.print_main("iterator-bound variable",p1)
93 msg = "ERROR: iterator variable bound on line %s cannot be NULL" % (p1[0].line)
/openbmc/linux/scripts/coccinelle/iterators/
H A Ditnull.cocci2 /// Many iterators have the property that the first argument is always bound
86 cocci.print_main("iterator-bound variable",p1)
94 msg = "ERROR: iterator variable bound on line %s cannot be NULL" % (p1[0].line)
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-colorimetry.rst39 - The upper bound for the maximum light level among all individual
41 When equal to 0 no such upper bound is present.
44 - The upper bound for the maximum average light level among the
46 cd/m\ :sup:`2`. When equal to 0 no such upper bound is present.
/openbmc/u-boot/lib/lzma/
H A DLzmaDec.c22 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code…
23 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits…
24 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
52 …BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (co…
53 #define UPDATE_0_CHECK range = bound;
54 #define UPDATE_1_CHECK range -= bound; code -= bound;
161 UInt32 bound; in LzmaDec_DecodeReal() local
524 UInt32 bound; in LzmaDec_TryDummy() local
/openbmc/linux/tools/perf/tests/attr/
H A Dtest-stat-default102 # PERF_TYPE_RAW / topdown-fe-bound (0x8200)
113 # PERF_TYPE_RAW / topdown-be-bound (0x8300)
157 # PERF_TYPE_RAW / topdown-mem-bound (0x8700)
H A Dtest-stat-detailed-1104 # PERF_TYPE_RAW / topdown-fe-bound (0x8200)
115 # PERF_TYPE_RAW / topdown-be-bound (0x8300)
159 # PERF_TYPE_RAW / topdown-mem-bound (0x8700)
H A Dtest-stat-detailed-2104 # PERF_TYPE_RAW / topdown-fe-bound (0x8200)
115 # PERF_TYPE_RAW / topdown-be-bound (0x8300)
159 # PERF_TYPE_RAW / topdown-mem-bound (0x8700)
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-platform-usbip-vudc7 gadget driver which is currently bound to this
9 only if gadget driver is bound, otherwise error
H A Dsysfs-class-devlink63 consumer devices have been bound to their corresponding
86 bound to their driver.
88 'available' means the supplier has bound to its driver and is
95 bound successfully to their drivers.
/openbmc/linux/rust/alloc/vec/
H A Dpartial_eq.rs10 ([$($vars:tt)*] $lhs:ty, $rhs:ty $(where $ty:ty: $bound:ident)?, #[$stability:meta]) => {
15 $($ty: $bound)?
/openbmc/linux/lib/
H A Ddecompress_unlzma.c75 uint32_t bound; member
151 rc->bound = *p * (rc->range >> RC_MODEL_TOTAL_BITS); in rc_is_bit_0_helper()
152 return rc->bound; in rc_is_bit_0_helper()
163 rc->range = rc->bound; in rc_update_bit_0()
168 rc->range -= rc->bound; in rc_update_bit_1()
169 rc->code -= rc->bound; in rc_update_bit_1()

12345678910>>...21