/openbmc/linux/fs/smb/client/ |
H A D | xattr.c | 45 const void *value, size_t size) in cifs_attrib_set() argument 48 __u32 *pattrib = (__u32 *)value; in cifs_attrib_set() 137 value, size); in cifs_xattr_set() 144 full_path, value, size); in cifs_xattr_set() 167 if (!value) in cifs_xattr_set() 173 memcpy(pacl, value, size); in cifs_xattr_set() 233 pattribute = (__u32 *)value; in cifs_attrib_get() 240 void *value, size_t size) in cifs_creation_time_get() argument 255 pcreatetime = (__u64 *)value; in cifs_creation_time_get() 335 if (value) { in cifs_xattr_get() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | vmx.h | 292 uint64_t value; member 347 return evmcs_vmptrst(value); in vmptrst() 353 *value = tmp; in vmptrst() 363 uint64_t value = 0; in vmptrstz() local 364 vmptrst(&value); in vmptrstz() 365 return value; in vmptrstz() 465 *value = tmp; in vmread() 475 uint64_t value = 0; in vmreadz() local 476 vmread(encoding, &value); in vmreadz() 477 return value; in vmreadz() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | samsung,exynos-dw-mshc.yaml | 49 The divider value for the card interface unit (ciu) clock. 54 - description: CIU clock phase shift value for tx mode 57 - description: CIU clock phase shift value for rx mode 61 The value of CUI clock phase shift value in transmit mode and CIU clock 68 - description: CIU clock phase shift value for tx mode 71 - description: CIU clock phase shift value for rx mode 75 The value of CIU TX and RX clock phase shift value for HS400 mode 78 - valid value for tx phase shift and rx phase shift is 0 to 7. 88 - description: CIU clock phase shift value for tx mode 91 - description: CIU clock phase shift value for rx mode [all …]
|
/openbmc/linux/drivers/acpi/pmic/ |
H A D | intel_pmic.c | 82 int reg, u64 *value) in pmic_read_temp() argument 94 *value = raw_temp; in pmic_read_temp() 102 *value = temp; in pmic_read_temp() 107 u32 function, u64 *value) in pmic_thermal_temp() argument 114 u32 function, u64 *value) in pmic_thermal_aux() argument 129 raw_temp = *value; in pmic_thermal_aux() 136 int bit, u32 function, u64 *value) in pmic_thermal_pen() argument 147 if (*value != 0 && *value != 1) in pmic_thermal_pen() 345 u32 value, u32 mask) in intel_soc_pmic_exec_mipi_pmic_seq_element() argument 362 value, mask); in intel_soc_pmic_exec_mipi_pmic_seq_element() [all …]
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | reconfig.c | 96 kfree(prop->value); in release_prop_list() 115 unsigned char **value) in parse_next_property() argument 150 *value = tmp; in parse_next_property() 181 memcpy(new->value, value, length); in new_property() 182 *(((char *)new->value) + length) = 0; in new_property() 189 kfree(new->value); in new_property() 199 unsigned char* value; in do_add_node() local 276 unsigned char *value; in do_add_property() local 288 prop = new_property(name, length, value, NULL); in do_add_property() 319 unsigned char *value; in do_update_property() local [all …]
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | mapped_floor.cpp | 231 void tryConvertToDouble(PropertyVariantType& value) in tryConvertToDouble() argument 234 [&value](auto&& val) { in tryConvertToDouble() 239 value = static_cast<double>(val); in tryConvertToDouble() 242 value); in tryConvertToDouble() 255 auto value = Manager::getObjValueVariant( in getMaxGroupValue() local 276 value); in getMaxGroupValue() 280 if (max && (value > max)) in getMaxGroupValue() 282 max = value; in getMaxGroupValue() 286 max = value; in getMaxGroupValue() 320 auto value = in meetsCondition() local [all …]
|
/openbmc/linux/sound/i2c/other/ |
H A D | pt2258.c | 75 uinfo->value.integer.min = 0; in pt2258_stereo_volume_info() 76 uinfo->value.integer.max = 79; in pt2258_stereo_volume_info() 87 ucontrol->value.integer.value[0] = 79 - pt->volume[base]; in pt2258_stereo_volume_get() 88 ucontrol->value.integer.value[1] = 79 - pt->volume[base + 1]; in pt2258_stereo_volume_get() 100 val0 = 79 - ucontrol->value.integer.value[0]; in pt2258_stereo_volume_put() 101 val1 = 79 - ucontrol->value.integer.value[1]; in pt2258_stereo_volume_put() 138 ucontrol->value.integer.value[0] = !pt->mute; in pt2258_switch_get() 149 val = !ucontrol->value.integer.value[0]; in pt2258_switch_put()
|
/openbmc/linux/tools/perf/tests/ |
H A D | parse-metric.c | 16 struct value { struct 21 static u64 find_value(const char *name, struct value *values) in find_value() argument 23 struct value *v = values; in find_value() 68 static int __compute_metric(const char *name, struct value *vals, in __compute_metric() 140 struct value vals[] = { in test_ipc() 157 struct value vals[] = { in test_frontend() 176 struct value vals[] = { in test_cache_miss_cycles() 216 struct value vals[] = { in test_dcache_l2() 243 struct value vals[] = { in test_recursion_fail() 260 struct value vals[] = { in test_memory_bandwidth() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bloom_filter_map.c | 12 __u32 value; in test_fail_cases() local 16 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 4, sizeof(value), 100, NULL); in test_fail_cases() 31 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 0, NULL); in test_fail_cases() 46 err = bpf_map_update_elem(fd, NULL, &value, -1); in test_fail_cases() 49 err = bpf_map_update_elem(fd, NULL, &value, BPF_EXIST); in test_fail_cases() 52 err = bpf_map_update_elem(fd, NULL, &value, BPF_F_LOCK); in test_fail_cases() 55 err = bpf_map_update_elem(fd, NULL, &value, BPF_NOEXIST); in test_fail_cases() 58 err = bpf_map_update_elem(fd, NULL, &value, 10000); in test_fail_cases() 67 char value[11]; in test_success_cases() local 77 err = bpf_map_update_elem(fd, NULL, &value, 0); in test_success_cases() [all …]
|
H A D | htab_reuse.c | 26 struct htab_val value; in htab_lookup_fn() local 31 bpf_map_lookup_elem_flags(ctx->fd, &key, &value, BPF_F_LOCK); in htab_lookup_fn() 43 struct htab_val value; in htab_update_fn() local 47 value.lock = 0; in htab_update_fn() 48 value.data = key; in htab_update_fn() 49 bpf_map_update_elem(ctx->fd, &key, &value, BPF_F_LOCK); in htab_update_fn() 53 value.lock = 0; in htab_update_fn() 54 value.data = key; in htab_update_fn() 55 bpf_map_update_elem(ctx->fd, &key, &value, BPF_F_LOCK); in htab_update_fn()
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | dbus_sensor.cpp | 70 SensorType type, double value, const std::string& rail, in DBusSensor() argument 92 dbusObject->value(value, skipSignal); 137 void DBusSensor::setValue(double value) in setValue() argument 140 if (shouldUpdateValue(value)) in setValue() 142 dbusObject->value(value); in setValue() 270 double currentValue = dbusObject->value(); in setValueToNaN() 280 dbusObject->value(std::numeric_limits<double>::quiet_NaN()); in setValueToNaN() 284 bool DBusSensor::shouldUpdateValue(double value) in shouldUpdateValue() argument 290 double currentValue = dbusObject->value(); in shouldUpdateValue() 308 shouldUpdate = (value > currentValue); in shouldUpdateValue() [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios_integer_attribute.cpp | 145 uint64_t value = 0; in getAttrValue() local 148 value = std::get<uint8_t>(propertyValue); in getAttrValue() 152 value = std::get<uint16_t>(propertyValue); in getAttrValue() 156 value = std::get<int16_t>(propertyValue); in getAttrValue() 160 value = std::get<uint32_t>(propertyValue); in getAttrValue() 164 value = std::get<int32_t>(propertyValue); in getAttrValue() 168 value = std::get<uint64_t>(propertyValue); in getAttrValue() 172 value = std::get<int64_t>(propertyValue); in getAttrValue() 176 value = std::get<double>(propertyValue); in getAttrValue() 184 return value; in getAttrValue() [all …]
|
/openbmc/libbej/src/ |
H A D | bej_decoder_json.cpp | 138 static int callbackInteger(const char* propertyName, int64_t value, in callbackInteger() argument 144 params->output->append(std::to_string(value)); in callbackInteger() 157 static int callbackEnum(const char* propertyName, const char* value, in callbackEnum() argument 164 params->output->append(value); in callbackEnum() 178 static int callbackString(const char* propertyName, const char* value, in callbackString() argument 185 params->output->append(value); in callbackString() 206 params->output->append(std::to_string(value->whole)); in callbackReal() 209 params->output->append(std::to_string(value->fract)); in callbackReal() 210 if (value->expLen != 0) in callbackReal() 213 params->output->append(std::to_string(value->exp)); in callbackReal() [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | pca9698.c | 42 static void pca9698_set_bit(unsigned gpio, u8 *buffer, unsigned value) in pca9698_set_bit() argument 47 if (value) in pca9698_set_bit() 79 int pca9698_direction_output(u8 addr, unsigned gpio, int value) in pca9698_direction_output() argument 84 res = pca9698_set_value(addr, gpio, value); in pca9698_direction_output() 101 unsigned value; in pca9698_get_value() local 109 value = data[config_byte] & (1 << config_bit); in pca9698_get_value() 111 return !!value; in pca9698_get_value() 114 int pca9698_set_value(u8 addr, unsigned gpio, int value) in pca9698_set_value() argument 123 pca9698_set_bit(gpio, data, value); in pca9698_set_value()
|
/openbmc/u-boot/board/amazon/kc1/ |
H A D | kc1.c | 90 u32 value; in misc_init_r() local 100 value = gpio_get_value(KC1_GPIO_USB_ID); in misc_init_r() 102 if (value) in misc_init_r() 139 u32 value = 0; in get_board_rev() local 151 value |= (gpio_get_value(KC1_GPIO_MBID0) << 0); in get_board_rev() 152 value |= (gpio_get_value(KC1_GPIO_MBID1) << 1); in get_board_rev() 153 value |= (gpio_get_value(KC1_GPIO_MBID2) << 2); in get_board_rev() 154 value |= (gpio_get_value(KC1_GPIO_MBID3) << 3); in get_board_rev() 156 return value; in get_board_rev()
|
/openbmc/openbmc-test-automation/ffdc/plugins/ |
H A D | redfish.py | 126 for key, value in data.items(): 128 if isinstance(value, dict): 129 walk_nested_dict(value) 133 if isinstance(value, list): 134 for memberDict in value: 141 value = value.rstrip("/") 143 if value == url: 147 pending_enumeration.add(value)
|
/openbmc/linux/include/linux/ |
H A D | gpio.h | 88 static inline int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() argument 90 return gpiod_direction_output_raw(gpio_to_desc(gpio), value); in gpio_direction_output() 97 static inline void gpio_set_value_cansleep(unsigned gpio, int value) in gpio_set_value_cansleep() argument 99 return gpiod_set_raw_value_cansleep(gpio_to_desc(gpio), value); in gpio_set_value_cansleep() 106 static inline void gpio_set_value(unsigned gpio, int value) in gpio_set_value() argument 108 return gpiod_set_raw_value(gpio_to_desc(gpio), value); in gpio_set_value() 175 static inline int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() argument 187 static inline void gpio_set_value(unsigned gpio, int value) in gpio_set_value() argument 200 static inline void gpio_set_value_cansleep(unsigned gpio, int value) in gpio_set_value_cansleep() argument
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | pauth-2.c | 21 void do_test(uint64_t value) in do_test() argument 33 asm volatile("pacda %0, %2" : "=r"(encode) : "0"(value), "r"(salt1)); in do_test() 34 if (encode != value) { in do_test() 41 assert(decode == value); in do_test() 53 if (decode != value) { in do_test() 61 assert(((decode ^ value) & 0xff80ffffffffffffull) == 0); in do_test() 70 if ((value >> 55) & 1) { in do_test()
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | prodigy_hifi.c | 259 ucontrol->value.integer.value[i] = spec->vol[i]; in ak4396_dac_vol_get() 274 spec->vol[i] = ucontrol->value.integer.value[i]; in ak4396_dac_vol_put() 368 ucontrol->value.integer.value[i] = in wm_dac_vol_get() 593 ucontrol->value.integer.value[i] = val; in wm_adc_vol_get() 608 nvol = ucontrol->value.integer.value[i]; in wm_adc_vol_put() 633 ucontrol->value.integer.value[0] = in wm_adc_mux_get() 649 if (ucontrol->value.integer.value[0]) in wm_adc_mux_put() 672 ucontrol->value.integer.value[0] = in wm_bypass_get() 687 if (ucontrol->value.integer.value[0]) in wm_bypass_put() 710 ucontrol->value.integer.value[0] = in wm_chswap_get() [all …]
|
/openbmc/sdbusplus/include/sdbusplus/utility/ |
H A D | consteval_string.hpp | 14 char value[N] = {}; member 18 std::ranges::copy(str, value); in consteval_string_holder() 34 std::string_view value; member 37 consteval consteval_string(const T& s) : value(s) in consteval_string() 39 if (value != V.value) in consteval_string()
|
/openbmc/u-boot/tools/binman/ |
H A D | fdt_test.py | 58 self.assertEquals(list, type(prop.value)) 59 self.assertEquals(2, len(prop.value)) 61 [fdt_util.fdt32_to_cpu(val) for val in prop.value]) 65 self.assertEquals(chr(8), prop.value) 69 self.assertEquals(list, type(prop.value)) 70 self.assertEquals(str, type(prop.value[0])) 71 self.assertEquals(3, len(prop.value)) 72 self.assertEquals([chr(1), '#', '4'], prop.value) 84 self.assertEquals(list, type(prop.value)) 85 self.assertEquals(3, len(prop.value)) [all …]
|
/openbmc/openpower-pnor-code-mgmt/ubi/ |
H A D | activation_ubi.cpp | 19 uint8_t RedundancyPriorityUbi::priority(uint8_t value) in priority() argument 21 storeToFile(parent.versionId, value); in priority() 22 return RedundancyPriority::priority(value); in priority() 25 auto ActivationUbi::activation(Activations value) -> Activations in activation() argument 27 if (value != softwareServer::Activation::Activations::Active) in activation() 32 if (value == softwareServer::Activation::Activations::Activating) in activation() 35 softwareServer::Activation::activation(value); in activation() 55 return softwareServer::Activation::activation(value); in activation() 93 return softwareServer::Activation::activation(value); in activation() 96 auto ActivationUbi::requestedActivation(RequestedActivations value) in requestedActivation() argument [all …]
|
/openbmc/qemu/backends/ |
H A D | hostmem-memfd.c | 71 memfd_backend_set_hugetlb(Object *o, bool value, Error **errp) in memfd_backend_set_hugetlb() argument 73 MEMORY_BACKEND_MEMFD(o)->hugetlb = value; in memfd_backend_set_hugetlb() 81 uint64_t value; in memfd_backend_set_hugetlbsize() local 88 if (!visit_type_size(v, name, &value, errp)) { in memfd_backend_set_hugetlbsize() 91 if (!value) { in memfd_backend_set_hugetlbsize() 93 object_get_typename(obj), name, value); in memfd_backend_set_hugetlbsize() 96 m->hugetlbsize = value; in memfd_backend_set_hugetlbsize() 104 uint64_t value = m->hugetlbsize; in memfd_backend_get_hugetlbsize() local 106 visit_type_size(v, name, &value, errp); in memfd_backend_get_hugetlbsize() 116 memfd_backend_set_seal(Object *o, bool value, Error **errp) in memfd_backend_set_seal() argument [all …]
|
/openbmc/webui-vue/src/ |
H A D | main.js | 116 formatDate(value) { argument 119 if (value instanceof Date) { 121 return value.toISOString().substring(0, 10); 125 return format(value, pattern, { timezone }); 128 formatTime(value) { argument 131 if (value instanceof Date) { 137 return `${value.toLocaleTimeString('default', timeOptions)} UTC`; 140 const shortTz = this.shortTimeZone(value); 142 return format(value, pattern, { timezone }).replace('GMT', 'UTC'); 145 shortTimeZone(value) { argument [all …]
|
/openbmc/phosphor-health-monitor/ |
H A D | health_metric_collection.cpp | 126 double value; in readMemory() local 129 if (!(iss >> name >> value)) in readMemory() 139 memoryValues[MetricIntf::SubType::memoryFree] = value; in readMemory() 147 memoryValues[MetricIntf::SubType::memoryTotal] = value; in readMemory() 151 memoryValues[MetricIntf::SubType::memoryShared] += value; in readMemory() 158 auto value = memoryValues.at(config.subType) * 1024; in readMemory() local 161 config.subType, "VALUE", value, "TOTAL", total); in readMemory() 162 metrics[config.name]->update(MValue(value, total)); in readMemory() 179 double value = buffer.f_bfree * buffer.f_frsize; in readStorage() local 182 config.subType, "VALUE", value, "TOTAL", total); in readStorage() [all …]
|