/openbmc/phosphor-virtual-sensor/ |
H A D | dbusSensor.cpp | 40 return value; in getSensorValue() 50 value = std::numeric_limits<double>::quiet_NaN(); in initSensorValue() 65 value = getDbusProperty<double>(bus, servName, path, sensorIntf, in initSensorValue() 71 value = std::numeric_limits<double>::quiet_NaN(); in initSensorValue() 90 value = std::numeric_limits<double>::quiet_NaN(); in handleDbusSignalNameOwnerChanged() 116 value = std::get<double>(itr->second); in handleDbusSignalPropChange() 117 if (!std::isfinite(value)) in handleDbusSignalPropChange() 119 value = std::numeric_limits<double>::quiet_NaN(); in handleDbusSignalPropChange() 140 value = std::numeric_limits<double>::quiet_NaN(); in handleDbusSignalRemove()
|
H A D | thresholds.hpp | 44 auto setHighHysteresis(double value) in setHighHysteresis() 46 this->highHysteresis = value; in setHighHysteresis() 49 auto setLowHysteresis(double value) in setLowHysteresis() 51 this->lowHysteresis = value; in setLowHysteresis() 125 virtual double warningHigh(double value) in warningHigh() 133 return WarningObject::warningHigh(value); in warningHigh() 137 virtual double warningLow(double value) in warningLow() 145 return WarningObject::warningLow(value); in warningLow() 244 virtual double criticalHigh(double value) in criticalHigh() 256 virtual double criticalLow(double value) in criticalLow() [all …]
|
/openbmc/telemetry/src/ |
H A D | discrete_threshold.cpp | 50 Milliseconds timestamp, double value) in sensorUpdated() argument 56 if (dwell && value != numericThresholdValue) in sensorUpdated() 61 else if (value == numericThresholdValue) in sensorUpdated() 63 startTimer(details, value); in sensorUpdated() 68 double value) in startTimer() argument 76 commit(sensorName, value); in startTimer() 83 value](const boost::system::error_code ec) { in startTimer() 90 commit(sensorName, value); in startTimer() 96 void DiscreteThreshold::commit(const std::string& sensorName, double value) in commit() argument
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ti/ |
H A D | divider.txt | 7 only one input clock or parent. By default the value programmed into 8 the register is one less than the actual divisor value. E.g: 10 register value actual divisor value 19 register value actual divisor value 25 register value actual divisor value 35 register value actual divisor value 41 Any zero value in this array means the corresponding bit-value is invalid 46 the number of bits to shift that mask, if necessary. If the shift value 64 - ti,bit-shift : number of bits to shift the divider value, defaults to 0 66 needed if the first divisor is offset from the default value (1) [all …]
|
/openbmc/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-g723.c | 248 info->value.integer.min = 0; in snd_solo_capture_volume_info() 249 info->value.integer.max = 15; in snd_solo_capture_volume_info() 250 info->value.integer.step = 1; in snd_solo_capture_volume_info() 256 struct snd_ctl_elem_value *value) in snd_solo_capture_volume_get() argument 259 u8 ch = value->id.numid - 1; in snd_solo_capture_volume_get() 261 value->value.integer.value[0] = tw28_get_audio_gain(solo_dev, ch); in snd_solo_capture_volume_get() 267 struct snd_ctl_elem_value *value) in snd_solo_capture_volume_put() argument 270 u8 ch = value->id.numid - 1; in snd_solo_capture_volume_put() 274 if (old_val == value->value.integer.value[0]) in snd_solo_capture_volume_put() 277 tw28_set_audio_gain(solo_dev, ch, value->value.integer.value[0]); in snd_solo_capture_volume_put()
|
/openbmc/linux/Documentation/powerpc/ |
H A D | dscr.rst | 16 dscr /* Thread DSCR value */ 21 dscr_default /* per-CPU DSCR default value */ 25 dscr_default /* System DSCR default value */ 30 CPU's PACA value into the register if the thread has dscr_inherit value 32 If the dscr_inherit value is set which means that it has changed the 33 default DSCR value, scheduler will write the changed value which will 35 the per-CPU default PACA based DSCR value. 37 NOTE: Please note here that the system wide global DSCR value never 49 thread's DSCR value as well. 79 use the CPU default DSCR value or its own changed DSCR value in the [all …]
|
/openbmc/telemetry/tests/src/ |
H A D | test_discrete_threshold.cpp | 133 double value; member 136 UpdateParams(size_t sensor, double value, in UpdateParams() 138 sensor(sensor), value(value), sleepAfter(sleepAfter) in UpdateParams() 145 double value; member 148 ExpectedParams(size_t sensor, double value, in ExpectedParams() 150 sensor(sensor), value(value), waitMin(waitMin) in ExpectedParams() 183 for (const auto& [index, value, sleepAfter] : o.updates) in PrintTo() 185 *os << "{ SensorIndex: " << index << ", Value: " << value in PrintTo() 189 for (const auto& [index, value, waitMin] : o.expected) in PrintTo() 191 *os << "{ SensorIndex: " << index << ", Value: " << value in PrintTo() [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | etraxfs_timer.c | 257 unsigned int new_cmd = (value >> 8) & 1; in timer_watchdog_update() 284 t->rw_wd_ctrl = value; in timer_watchdog_update() 293 uint32_t value = val64; in timer_write() local 298 t->rw_tmr0_div = value; in timer_write() 301 D(printf ("RW_TMR0_CTRL=%x\n", value)); in timer_write() 302 t->rw_tmr0_ctrl = value; in timer_write() 306 t->rw_tmr1_div = value; in timer_write() 310 t->rw_tmr1_ctrl = value; in timer_write() 315 t->rw_intr_mask = value; in timer_write() 319 timer_watchdog_update(t, value); in timer_write() [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | hisi_thermal.c | 169 writel(value, addr + HI6220_TEMP0_INT_CLR); in hi6220_thermal_alarm_clear() 174 writel(value, addr + HI6220_TEMP0_INT_EN); in hi6220_thermal_alarm_enable() 195 writel(value, addr + HI6220_TEMP0_EN); in hi6220_thermal_enable() 213 int id, int value) in hi3660_thermal_set_lag() argument 220 int id, int value) in hi3660_thermal_alarm_clear() argument 222 writel(value, addr + HI3660_INT_CLR(id)); in hi3660_thermal_alarm_clear() 226 int id, int value) in hi3660_thermal_alarm_enable() argument 228 writel(value, addr + HI3660_INT_EN(id)); in hi3660_thermal_alarm_enable() 232 int id, int value) in hi3660_thermal_alarm_set() argument 234 writel(value, addr + HI3660_TH(id)); in hi3660_thermal_alarm_set() [all …]
|
/openbmc/qemu/hw/pci-host/ |
H A D | ppce500.c | 133 uint32_t value = 0; in pci_reg_read4() local 146 value = pci->pob[idx].potar; in pci_reg_read4() 149 value = pci->pob[idx].potear; in pci_reg_read4() 152 value = pci->pob[idx].powbar; in pci_reg_read4() 155 value = pci->pob[idx].powar; in pci_reg_read4() 168 value = pci->pib[idx].pitar; in pci_reg_read4() 177 value = pci->pib[idx].piwar; in pci_reg_read4() 185 value = pci->gasket_time; in pci_reg_read4() 193 win, addr, value); in pci_reg_read4() 194 return value; in pci_reg_read4() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | read_bpf_task_storage_busy.c | 19 __type(value, long); 25 int *value; in BPF_PROG() local 33 value = bpf_this_cpu_ptr(&bpf_task_storage_busy); in BPF_PROG() 34 if (value) in BPF_PROG() 35 busy = *value; in BPF_PROG()
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-spinlock.h | 49 volatile uint32_t value; member 65 lock->value = CVMX_SPINLOCK_UNLOCKED_VAL; in cvmx_spinlock_init() 76 return lock->value != CVMX_SPINLOCK_UNLOCKED_VAL; in cvmx_spinlock_locked() 87 lock->value = 0; in cvmx_spinlock_unlock() 117 [val] "+m"(lock->value), [tmp] "=&r"(tmp) in cvmx_spinlock_trylock() 140 [val] "+m"(lock->value), [tmp] "=&r"(tmp) in cvmx_spinlock_lock()
|
/openbmc/telemetry/src/types/ |
H A D | operation_type.hpp | 42 toOperationType(std::underlying_type_t<OperationType> value) in toOperationType() argument 45 maxEnumValue(convDataOperationType)>(value); in toOperationType() 48 inline OperationType toOperationType(const std::string& value) in toOperationType() argument 50 return toEnum(convDataOperationType, value); in toOperationType() 53 inline std::string enumToString(OperationType value) in enumToString() argument 55 return std::string(enumToString(convDataOperationType, value)); in enumToString()
|
/openbmc/linux/include/trace/stages/ |
H A D | stage3_trace_output.h | 75 #define __print_symbolic(value, symbol_array...) \ argument 79 trace_print_symbols_seq(p, value, symbols); \ 92 #define __print_symbolic_u64(value, symbol_array...) \ argument 96 trace_print_symbols_seq_u64(p, value, symbols); \ 102 #define __print_symbolic_u64(value, symbol_array...) \ argument 103 __print_symbolic(value, symbol_array) 129 #define __print_ns_to_secs(value) \ argument 131 u64 ____val = (u64)(value); \ 137 #define __print_ns_without_secs(value) \ argument 139 u64 ____val = (u64)(value); \
|
/openbmc/linux/samples/bpf/ |
H A D | tracex2_user.c | 48 long value; in print_hist_for_pid() local 60 value = 0; in print_hist_for_pid() 62 value += values[i]; in print_hist_for_pid() 64 data[ind] = value; in print_hist_for_pid() 65 if (value && ind > max_ind) in print_hist_for_pid() 67 if (value > max_value) in print_hist_for_pid() 68 max_value = value; in print_hist_for_pid() 118 long key, next_key, value; in main() local 171 bpf_map_lookup_elem(map_fd[0], &next_key, &value); in main() 172 printf("location 0x%lx count %ld\n", next_key, value); in main()
|
/openbmc/linux/drivers/clk/renesas/ |
H A D | clk-r8a73a4.c | 95 u32 value = readl(base + CPG_PLL0CR); in r8a73a4_cpg_register_clock() local 98 mult = ((value >> 24) & 0x7f) + 1; in r8a73a4_cpg_register_clock() 99 if (value & BIT(20)) in r8a73a4_cpg_register_clock() 102 u32 value = readl(base + CPG_PLL1CR); in r8a73a4_cpg_register_clock() local 106 mult = ((value >> 24) & 0x7f) + 1; in r8a73a4_cpg_register_clock() 107 if (value & BIT(7)) in r8a73a4_cpg_register_clock() 110 u32 value, cr; in r8a73a4_cpg_register_clock() local 125 value = readl(base + cr); in r8a73a4_cpg_register_clock() 126 switch ((value >> 5) & 7) { in r8a73a4_cpg_register_clock() 151 mult = ((value >> 24) & 0x7f) + 1; in r8a73a4_cpg_register_clock()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | sync_debug.c | 87 char value[64]; in sync_print_fence() local 90 fence->ops->fence_value_str(fence, value, sizeof(value)); in sync_print_fence() 91 success = strlen(value); in sync_print_fence() 94 seq_printf(s, ": %s", value); in sync_print_fence() 96 fence->ops->timeline_value_str(fence, value, in sync_print_fence() 97 sizeof(value)); in sync_print_fence() 99 if (strlen(value)) in sync_print_fence() 100 seq_printf(s, " / %s", value); in sync_print_fence() 111 seq_printf(s, "%s: %d\n", obj->name, obj->value); in sync_print_obj()
|
/openbmc/qemu/tests/image-fuzzer/qcow2/ |
H A D | layout.py | 48 self.value = val 56 (self.fmt, self.offset, self.value, self.name) 147 if self.header['version'][0].value == 2: 148 self.header['header_length'][0].value = 72 150 self.header['incompatible_features'][0].value = \ 153 self.header['header_length'][0].value = 104 167 self.header['backing_file_offset'][0].value = \ 276 if not self.header['version'][0].value == 2: 489 field.value = getattr(fuzz, field.name)(field.value) 495 field.value = getattr(fuzz, [all …]
|
/openbmc/u-boot/arch/arm/mach-zynqmp/ |
H A D | cpu.c | 207 const u32 value) in zynqmp_mmio_rawwrite() argument 210 u32 value_local = value; in zynqmp_mmio_rawwrite() 224 static int zynqmp_mmio_rawread(const u32 address, u32 *value) in zynqmp_mmio_rawread() argument 226 *value = readl((ulong)address); in zynqmp_mmio_rawread() 232 const u32 value) in zynqmp_mmio_write() argument 235 return zynqmp_mmio_rawwrite(address, mask, value); in zynqmp_mmio_write() 238 value, 0, NULL); in zynqmp_mmio_write() 243 int zynqmp_mmio_read(const u32 address, u32 *value) in zynqmp_mmio_read() argument 248 if (!value) in zynqmp_mmio_read() 252 ret = zynqmp_mmio_rawread(address, value); in zynqmp_mmio_read() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | anatop-regulator.yaml | 23 description: u32 value representing the anatop MFD register offset. 27 description: u32 value representing the bit shift for the register. 31 description: u32 value representing the number of bits used in the register. 35 description: u32 value representing the minimum value of this register. 39 description: u32 value representing the minimum voltage of this regulator. 43 description: u32 value representing the maximum voltage of this regulator. 47 description: u32 value representing the anatop MFD step time register offset. 51 description: u32 value representing the bit shift for the step time register. 55 description: u32 value representing the number of bits used in the step time register. 59 description: u32 value representing regulator enable bit offset.
|
/openbmc/qemu/hw/misc/ |
H A D | stm32l4x5_syscfg.c | 134 uint64_t value, unsigned int size) in stm32l4x5_syscfg_write() argument 138 trace_stm32l4x5_syscfg_write(addr, value); in stm32l4x5_syscfg_write() 145 s->memrmp = value & ACTIVABLE_BITS_MEMRP; in stm32l4x5_syscfg_write() 152 s->cfgr1 = (s->cfgr1 & value & FIREWALL_DISABLE_CFGR1) | in stm32l4x5_syscfg_write() 153 (value & ACTIVABLE_BITS_CFGR1); in stm32l4x5_syscfg_write() 157 (value & ACTIVABLE_BITS_EXTICR); in stm32l4x5_syscfg_write() 176 s->cfgr2 = (s->cfgr2 | (value & ECC_LOCK_CFGR2)) & in stm32l4x5_syscfg_write() 177 ~(value & SRAM2_PARITY_ERROR_FLAG_CFGR2); in stm32l4x5_syscfg_write() 184 s->swpr |= value; in stm32l4x5_syscfg_write() 190 s->skr = value & ACTIVABLE_BITS_SKR; in stm32l4x5_syscfg_write() [all …]
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | fru_oem_ibm.cpp | 58 reinterpret_cast<const PcieConfigSpaceData*>(tlv->value); in processOEMFRUTable() 90 std::vector<uint8_t> value(&tlv->value[0], in processOEMFRUTable() local 91 &tlv->value[tlv->length]); in processOEMFRUTable() 92 setFirmwareUAK(value); in processOEMFRUTable() 123 for (const auto& [key, value] : fruAssociationMap) in updateDBusProperty() 125 if (entityInstanceNum == value.entity_instance_num && in updateDBusProperty() 126 entityType == value.entity_type && in updateDBusProperty() 127 containerId == value.entity_container_id) in updateDBusProperty() 149 pldm::utils::PropertyValue value = propValue; in dbus_map_update() local 157 pldm::utils::DBusHandler().setDbusProperty(dbusMapping, value); in dbus_map_update()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | module.c | 35 uint32_t value; in apply_relocate_add() local 53 value = get_unaligned(location); in apply_relocate_add() 54 value += relocation; in apply_relocate_add() 55 put_unaligned(value, location); in apply_relocate_add() 59 value = get_unaligned(location); in apply_relocate_add() 60 value += relocation; in apply_relocate_add() 61 put_unaligned(value, location); in apply_relocate_add()
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | journal.hpp | 44 const std::any& value) const = 0; 58 static auto op(T&& value) in op() 60 return std::forward<T>(value); in op() 67 static auto op(const std::string& value) in op() 69 return value.c_str(); in op() 98 const std::any& value) const override in log() 107 detail::Display<T>::op(std::any_cast<T>(value)))); in log()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | bench.h | 64 long value; member 85 static inline void atomic_inc(long *value) in atomic_inc() argument 87 (void)__atomic_add_fetch(value, 1, __ATOMIC_RELAXED); in atomic_inc() 90 static inline void atomic_add(long *value, long n) in atomic_add() argument 92 (void)__atomic_add_fetch(value, n, __ATOMIC_RELAXED); in atomic_add() 95 static inline long atomic_swap(long *value, long n) in atomic_swap() argument 97 return __atomic_exchange_n(value, n, __ATOMIC_RELAXED); in atomic_swap()
|