/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc.c | 47 * On Gen11+, the value written to the register is passes as a payload in intel_guc_notify() 49 * (H2G interrupt), so we can just write the value that the HW expects in intel_guc_notify() 574 /* Use number of copied dwords as our return value */ in intel_guc_send_mmio() 577 /* Use data from the GuC response as our return value */ in intel_guc_send_mmio() 712 * to DRAM. The value of the GuC ggtt_pin_bias is the GuC WOPCM size. 809 static int __guc_action_self_cfg(struct intel_guc *guc, u16 key, u16 len, u64 value) in __guc_action_self_cfg() argument 817 FIELD_PREP(HOST2GUC_SELF_CFG_REQUEST_MSG_2_VALUE32, lower_32_bits(value)), in __guc_action_self_cfg() 818 FIELD_PREP(HOST2GUC_SELF_CFG_REQUEST_MSG_3_VALUE64, upper_32_bits(value)), in __guc_action_self_cfg() 823 GEM_BUG_ON(len == 1 && upper_32_bits(value)); in __guc_action_self_cfg() 838 static int __guc_self_cfg(struct intel_guc *guc, u16 key, u16 len, u64 value) in __guc_self_cfg() argument 848 intel_guc_self_cfg32(struct intel_guc *guc, u16 key, u32 value) intel_guc_self_cfg32() argument 853 intel_guc_self_cfg64(struct intel_guc *guc, u16 key, u64 value) intel_guc_self_cfg64() argument [all...] |
H A D | intel_guc_slpc.c | 57 u32 id, u32 value) in slpc_mem_set_param() 61 * When the flag bit is set, corresponding value will be read in slpc_mem_set_param() 65 data->override_params.values[id] = value; in slpc_mem_set_param() 102 static int guc_action_slpc_set_param_nb(struct intel_guc *guc, u8 id, u32 value) in guc_action_slpc_set_param_nb() argument 108 value, in guc_action_slpc_set_param_nb() 117 static int slpc_set_param_nb(struct intel_guc_slpc *slpc, u8 id, u32 value) in slpc_set_param_nb() argument 123 return guc_action_slpc_set_param_nb(guc, id, value); in slpc_set_param_nb() 126 static int guc_action_slpc_set_param(struct intel_guc *guc, u8 id, u32 value) in guc_action_slpc_set_param() argument 132 value, in guc_action_slpc_set_param() 187 static int slpc_set_param(struct intel_guc_slpc *slpc, u8 id, u32 value) in slpc_set_param() argument 56 slpc_mem_set_param(struct slpc_shared_data *data, u32 id, u32 value) slpc_mem_set_param() argument [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-roccat-kone.c | 48 roccat_report.value = new_profile; in kone_profile_report() 126 * value of 3 seems to mean something like in kone_check_write() 226 * Reads value of "fast-clip-weight" and stores it in @result 459 unsigned char value; in kone_tcu_command() local 461 value = number; in kone_tcu_command() 462 return kone_send(usb_dev, kone_command_calibrate, &value, 1); in kone_tcu_command() 602 * Returns raw value for further processing. Refer to enum 603 * kone_polling_rates to get real value. 610 * to 20 grams which are recognized and its value can be read out. 611 * This returns the raw value reporte [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | abituguru3.c | 174 u8 value[48]; member 828 int value; in show_value() local 840 value = data->settings[sensor->port][attr->nr]; in show_value() 842 value = data->value[sensor->port]; in show_value() 844 /* convert the value */ in show_value() 845 value = (value * sensor->multiplier) / sensor->divisor + in show_value() 853 value *= 1000; in show_value() 855 return sprintf(buf, "%d\n", value); in show_value() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | cpumap.c | 41 /* Read ith mask value from data into the given 64-bit sized bitmap */ 190 static int cpu__get_topology_int(int cpu, const char *name, int *value) in cpu__get_topology_int() argument 197 return sysfs__read_int(path, value); in cpu__get_topology_int() 202 int value, ret = cpu__get_topology_int(cpu.cpu, "physical_package_id", &value); in cpu__get_socket_id() local 203 return ret ?: value; in cpu__get_socket_id() 284 int value, ret = cpu__get_topology_int(cpu.cpu, "die_id", &value); in cpu__get_die_id() local 286 return ret ?: value; in cpu__get_die_id() 314 int value, re in cpu__get_core_id() local [all...] |
/kernel/liteos_m/components/lms/ |
H A D | los_lms.c | 60 #define OS_MEM_ALIGN_BACK(value, align) (((UINT32)(value)) & ~((UINT32)((align) - 1)))
61 #define IS_ALIGNED(value, align) ((((UINTPTR)(value)) & ((UINTPTR)((align) - 1))) == 0)
164 /* init shadow value */
in LOS_LmsCheckPoolAdd() 241 VOID OsLmsSetShadowValue(LmsMemListNode *node, UINTPTR startAddr, UINTPTR endAddr, UINT8 value)
in OsLmsSetShadowValue() argument 251 /* endAddr -1, then we mark [startAddr, endAddr) to value */
in OsLmsSetShadowValue() 263 shadowValue = value & shadowValueMask;
in OsLmsSetShadowValue() 271 shadowValue = value & shadowValueMask;
in OsLmsSetShadowValue() 281 shadowValue = value in OsLmsSetShadowValue() 304 OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value) OsLmsSimpleMark() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | tas5086.c | 166 unsigned int value) in tas5086_reg_write() 180 buf[i] = value; in tas5086_reg_write() 181 value >>= 8; in tas5086_reg_write() 194 unsigned int *value) in tas5086_reg_read() 225 *value = 0; in tas5086_reg_read() 228 *value <<= 8; in tas5086_reg_read() 229 *value |= recv_buf[i]; in tas5086_reg_read() 279 ucontrol->value.integer.value[0] = priv->deemph; in tas5086_get_deemph() 290 priv->deemph = ucontrol->value in tas5086_put_deemph() 165 tas5086_reg_write(void *context, unsigned int reg, unsigned int value) tas5086_reg_write() argument 193 tas5086_reg_read(void *context, unsigned int reg, unsigned int *value) tas5086_reg_read() argument [all...] |
/kernel/linux/linux-6.6/net/devlink/ |
H A D | param.c | 254 /* Get value from driver part to driverinit configuration mode */ in devlink_nl_param_fill() 448 union devlink_param_value *value) in devlink_param_value_get_from_info() 462 value->vu8 = nla_get_u8(param_data); in devlink_param_value_get_from_info() 467 value->vu16 = nla_get_u16(param_data); in devlink_param_value_get_from_info() 472 value->vu32 = nla_get_u32(param_data); in devlink_param_value_get_from_info() 479 strcpy(value->vstr, nla_data(param_data)); in devlink_param_value_get_from_info() 484 value->vbool = nla_get_flag(param_data); in devlink_param_value_get_from_info() 540 union devlink_param_value value; in __devlink_nl_cmd_param_set_doit() local 552 err = devlink_param_value_get_from_info(param, info, &value); in __devlink_nl_cmd_param_set_doit() 556 err = param->validate(devlink, param->id, value, inf in __devlink_nl_cmd_param_set_doit() 446 devlink_param_value_get_from_info(const struct devlink_param *param, struct genl_info *info, union devlink_param_value *value) devlink_param_value_get_from_info() argument [all...] |
/test/xts/device_attest_lite/services/core/network/ |
H A D | attest_coap.c | 61 token[i] = (uint8_t)(GetRandomNum() % (MAX_VALUE_ONE_BYTE + 1)); // create a random value, range: 0~255 in CoapCreateToken() 103 static void CoapGetOptionParam(const uint16_t value, uint8_t* param) in CoapGetOptionParam() argument 111 * 4-bit unsigned integer. A value between 0 and 12 inclusive indicates the length of the message in bytes in CoapGetOptionParam() 118 if (value < COAP_MESSAGE_OFFSET_ONE_BYTE) { in CoapGetOptionParam() 119 *param = (uint8_t)(0xFF & value); in CoapGetOptionParam() 121 *param = (value < COAP_MESSAGE_DIFF_VALUE_TWO_BYTES) ? COAP_MESSAGE_OFFSET_ONE_BYTE : in CoapGetOptionParam() 166 /* return total option length: (i.e., 1 + (extensions len) + (option value len)) */ 484 static int32_t CoapParseOptionExtension(uint16_t* value, const uint8_t** p, uint8_t* hlen, size_t bufLen) in CoapParseOptionExtension() argument 486 if (value == NULL || *p == NULL || hlen == NULL) { in CoapParseOptionExtension() 490 if (*value in CoapParseOptionExtension() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
H A D | InternalLocaleBuilder.java | 143 public InternalLocaleBuilder setExtension(char singleton, String value) throws LocaleSyntaxException { in setExtension() argument 150 boolean remove = (value == null || value.length() == 0); in setExtension() 154 if (UnicodeLocaleExtension.isSingletonChar(key.value())) { in setExtension() 168 // validate value in setExtension() 169 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension() 180 throw new LocaleSyntaxException("Ill-formed extension value: " + s, itr.currentStart()); in setExtension() 185 if (UnicodeLocaleExtension.isSingletonChar(key.value())) { in setExtension() 292 if (UnicodeLocaleExtension.isSingletonChar(key.value())) { in setExtensions() 514 // Note: privateuse value "ab in removePrivateuseVariant() 643 public String value() { value() method in InternalLocaleBuilder.CaseInsensitiveString 671 public char value() { value() method in InternalLocaleBuilder.CaseInsensitiveChar [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
H A D | InternalLocaleBuilder.java | 147 public InternalLocaleBuilder setExtension(char singleton, String value) throws LocaleSyntaxException { in setExtension() argument 154 boolean remove = (value == null || value.length() == 0); in setExtension() 158 if (UnicodeLocaleExtension.isSingletonChar(key.value())) { in setExtension() 172 // validate value in setExtension() 173 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension() 184 throw new LocaleSyntaxException("Ill-formed extension value: " + s, itr.currentStart()); in setExtension() 189 if (UnicodeLocaleExtension.isSingletonChar(key.value())) { in setExtension() 296 if (UnicodeLocaleExtension.isSingletonChar(key.value())) { in setExtensions() 518 // Note: privateuse value "ab in removePrivateuseVariant() 647 public String value() { value() method in InternalLocaleBuilder.CaseInsensitiveString 675 public char value() { value() method in InternalLocaleBuilder.CaseInsensitiveChar [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | reldtfmt.cpp | 420 RelativeDateFormat::setContext(UDisplayContext value, UErrorCode& status) in setContext() argument 422 DateFormat::setContext(value, status); in setContext() 425 (value==UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU || value==UDISPCTX_CAPITALIZATION_FOR_STANDALONE)) { in setContext() 430 if ( fCapitalizationBrkIter == NULL && (value==UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE || in setContext() 431 (value==UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU && fCapitalizationOfRelativeUnitsForUIListMenu) || in setContext() 432 (value==UDISPCTX_CAPITALIZATION_FOR_STANDALONE && fCapitalizationOfRelativeUnitsForStandAlone)) ) { in setContext() 487 virtual void put(const char *key, ResourceValue &value, 489 ResourceTable relDayTable = value.getTable(errorCode); 492 for (int32_t i = 0; relDayTable.getKeyAndValue(i, key, value); [all...] |
/third_party/libcoap/src/oscore/ |
H A D | oscore_context.c | 237 coap_bin_const_t *value) { in oscore_log_hex_value() 240 if (value == NULL) { in oscore_log_hex_value() 244 if (value->length == 0) { in oscore_log_hex_value() 249 for (i = 0; i < value->length; i += OSCORE_LOG_SIZE) { in oscore_log_hex_value() 252 oscore_convert_to_hex(&value->s[i], in oscore_log_hex_value() 253 value->length - i > OSCORE_LOG_SIZE ? in oscore_log_hex_value() 254 OSCORE_LOG_SIZE : value->length - i, in oscore_log_hex_value() 263 oscore_log_int_value(coap_log_t level, const char *name, int value) { in oscore_log_int_value() argument 264 coap_log(level, " %-16s %2d\n", name, value); in oscore_log_int_value() 268 oscore_log_char_value(coap_log_t level, const char *name, const char *value) { in oscore_log_char_value() argument 235 oscore_log_hex_value(coap_log_t level, const char *name, coap_bin_const_t *value) oscore_log_hex_value() argument [all...] |
/third_party/json/tests/src/ |
H A D | unit-json_pointer.cpp | 413 {"value", 42.99}, 433 {"/object/value", 42.99}, 460 "[json.exception.type_error.313] invalid value to unflatten", json::type_error&); 534 {"value", 42.99}, 610 {"value", 42.99}, 740 CHECK(std::is_same<json_ptr_str::string_t, json::json_pointer::string_t>::value); 741 CHECK(std::is_same<json_ptr_str::string_t, ordered_json::json_pointer::string_t>::value); 742 CHECK(std::is_same<json_ptr_str::string_t, json_ptr_j::string_t>::value); 743 CHECK(std::is_same<json_ptr_str::string_t, json_ptr_oj::string_t>::value); 760 CHECK(j.value(pt [all...] |
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-helpers.c | 48 * @return ecma value 49 * Returned value must be freed with ecma_free_value. 113 * @return ecma value 114 * Returned value must be freed with ecma_free_value. 203 * @return ecma value 204 * Returned value must be freed with ecma_free_value. 275 * @return ecma value - Array of property names. 276 * Returned value must be freed with ecma_free_value. 362 * @return ecma value 363 * Returned value mus 366 ecma_builtin_helper_array_concat_value(ecma_object_t *array_obj_p, uint32_t *length_p, ecma_value_t value) ecma_builtin_helper_array_concat_value() argument 785 ecma_builtin_helper_def_prop_by_index(ecma_object_t *obj_p, uint32_t index, ecma_value_t value, uint32_t opts) ecma_builtin_helper_def_prop_by_index() argument 819 ecma_builtin_helper_def_prop(ecma_object_t *obj_p, ecma_string_t *name_p, ecma_value_t value, uint32_t opts) ecma_builtin_helper_def_prop() argument [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_context.c | 178 /* allocate a n element value array (to be populated by caller) and 184 struct ir3_instruction **value = in ir3_get_dst_ssa() local 186 _mesa_hash_table_insert(ctx->def_ht, dst, value); in ir3_get_dst_ssa() 187 return value; in ir3_get_dst_ssa() 193 struct ir3_instruction **value; in ir3_get_dst() local 196 value = ir3_get_dst_ssa(ctx, &dst->ssa, n); in ir3_get_dst() 198 value = ralloc_array(ctx, struct ir3_instruction *, n); in ir3_get_dst() 205 ctx->last_dst = value; in ir3_get_dst() 208 return value; in ir3_get_dst() 224 struct ir3_instruction **value in ir3_get_src() local [all...] |
/third_party/mesa3d/src/gallium/frontends/osmesa/ |
H A D | osmesa.c | 807 /* XXX: We should probably load the current color value into the buffer here in OSMesaMakeCurrent() 852 OSMesaPixelStore(GLint pname, GLint value) in OSMesaPixelStore() argument 858 osmesa->user_row_length = value; in OSMesaPixelStore() 861 osmesa->y_up = value ? GL_TRUE : GL_FALSE; in OSMesaPixelStore() 871 OSMesaGetIntegerv(GLint pname, GLint *value) in OSMesaGetIntegerv() argument 878 *value = osbuffer ? osbuffer->width : 0; in OSMesaGetIntegerv() 881 *value = osbuffer ? osbuffer->height : 0; in OSMesaGetIntegerv() 884 *value = osmesa->format; in OSMesaGetIntegerv() 888 *value = osmesa->type; in OSMesaGetIntegerv() 891 *value in OSMesaGetIntegerv() [all...] |
/third_party/node/src/ |
H A D | node_util.cc | 94 uint64_t value = reinterpret_cast<uint64_t>(ptr); in GetExternalValue() local 95 Local<BigInt> ret = BigInt::NewFromUnsigned(isolate, value); in GetExternalValue() 345 TwoByteValue value(env->isolate(), args[0]); in ToUSVString() 350 for (size_t i = start; i < value.length(); i++) { in ToUSVString() 351 char16_t c = value[i]; in ToUSVString() 354 } else if (IsUnicodeSurrogateTrail(c) || i == value.length() - 1) { in ToUSVString() 355 value[i] = kUnicodeReplacementCharacter; in ToUSVString() 357 char16_t d = value[i + 1]; in ToUSVString() 361 value[i] = kUnicodeReplacementCharacter; in ToUSVString() 368 *value, in ToUSVString() [all...] |
/third_party/mesa3d/src/intel/genxml/ |
H A D | gen_pack_header.py | 338 for value in self.values: 339 name = value.name 340 if self.prefix and value.name[0] == '_': 343 print("#define %-40s %d" % (prefix + name, value.value)) 553 self.value = ast.literal_eval(attrs["value"]) 622 elif name == "value": 730 for value in self.values: 732 name = self.prefix + "_" + value [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | reldtfmt.cpp | 428 RelativeDateFormat::setContext(UDisplayContext value, UErrorCode& status) in setContext() argument 430 DateFormat::setContext(value, status); in setContext() 433 (value==UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU || value==UDISPCTX_CAPITALIZATION_FOR_STANDALONE)) { in setContext() 438 if ( fCapitalizationBrkIter == nullptr && (value==UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE || in setContext() 439 (value==UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU && fCapitalizationOfRelativeUnitsForUIListMenu) || in setContext() 440 (value==UDISPCTX_CAPITALIZATION_FOR_STANDALONE && fCapitalizationOfRelativeUnitsForStandAlone)) ) { in setContext() 495 virtual void put(const char *key, ResourceValue &value, 497 ResourceTable relDayTable = value.getTable(errorCode); 500 for (int32_t i = 0; relDayTable.getKeyAndValue(i, key, value); [all...] |
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_pack.c | 80 if (regs->slot[i] == src.value && regs->enabled[i]) in bi_assign_slot_read() 84 if (regs->slot[2] == src.value && regs->slot23.slot2 == BIFROST_OP_READ) in bi_assign_slot_read() 91 regs->slot[i] = src.value; in bi_assign_slot_read() 98 regs->slot[2] = src.value; in bi_assign_slot_read() 144 now->regs.slot[3] = idx.value; in bi_assign_slots() 156 now->regs.slot[2] = idx.value; in bi_assign_slots() 159 now->regs.slot[3] = idx.value; in bi_assign_slots() 311 return bi_get_src_slot(regs, src.value); in bi_get_src_new() 313 return src.value; in bi_get_src_new() 353 clause->staging_register = add->src[0].value; in bi_pack_tuple() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | common-operator-reducer.cc | 289 Node* const value = inputs[0]; in ReducePhi() local 290 DCHECK_NE(node, value); in ReducePhi() 298 if (input != value) return NoChange(); in ReducePhi() 302 return Replace(value); in ReducePhi() 320 Node* value = NodeProperties::GetValueInput(node, 1); in ReduceReturn() local 322 if (value->opcode() == IrOpcode::kPhi && in ReduceReturn() 323 NodeProperties::GetControlInput(value) == control && in ReduceReturn() 326 // the return value is actually a {Phi} and the return control dependency in ReduceReturn() 350 Node::Inputs value_inputs = value->inputs(); in ReduceReturn() 355 if (control->OwnedBy(node, value) in ReduceReturn() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | concurrent-marking.cc | 72 Object value(int i) const { return snapshot_[i].second; } in value() function in v8::internal::SlotSnapshot 74 void add(ObjectSlot slot, Object value) { in add() argument 75 snapshot_[number_of_slots_++] = {slot, value}; in add() 165 // Implements ephemeron semantics: Marks value if key is already reachable. 166 // Returns true if value was actually marked. 167 bool ProcessEphemeron(HeapObject key, HeapObject value) { in ProcessEphemeron() argument 169 if (marking_state_.WhiteToGrey(value)) { in ProcessEphemeron() 170 local_marking_worklists_->Push(value); in ProcessEphemeron() 174 } else if (marking_state_.IsWhite(value)) { in ProcessEphemeron() 175 local_weak_objects_->next_ephemerons_local.Push(Ephemeron{key, value}); in ProcessEphemeron() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_ra_coalesce.cpp | 44 void coalescer::add_edge(value* a, value* b, unsigned cost) { in add_edge() 49 void coalescer::create_chunk(value *v) { in create_chunk() 125 value *v1 = *I; in chunks_interference() 129 value *v2 = *I; in chunks_interference() 235 value *v = *I; in get_chunk_interferences() 265 value *v = *I; in build_constraint_queue() 348 value *v = *I; in init_reg_bitset() 371 value *v = *I; in color_chunk() 444 ra_chunk* coalescer::detach_value(value * [all...] |
/third_party/pulseaudio/sonic/ |
H A D | Sonic.java | 86 int value = (samples[xSample]*fixedPointVolume) >> 12; in scaleSamples() 87 if(value > 32767) { in scaleSamples() 88 value = 32767; in scaleSamples() 89 } else if(value < -32767) { in scaleSamples() 90 value = -32767; in scaleSamples() 92 samples[xSample] = (short)value; in scaleSamples() 497 int value; in downSampleInput() 501 value = 0; in downSampleInput() 503 value += samples[position + i*samplesPerValue + j]; in downSampleInput() 505 value / in downSampleInput() [all...] |