Home
last modified time | relevance | path

Searched refs:value (Results 8501 - 8525 of 19632) sorted by relevance

1...<<341342343344345346347348349350>>...786

/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dwm_adsp.c324 ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; in wm_adsp_fw_get()
338 if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw) in wm_adsp_fw_put()
341 if (ucontrol->value.enumerated.item[0] >= WM_ADSP_NUM_FW) in wm_adsp_fw_put()
349 dsp[e->shift_l].fw = ucontrol->value.enumerated.item[0]; in wm_adsp_fw_put()
384 uinfo->value.integer.min = CS_DSP_ACKED_CTL_MIN_VALUE; in wm_coeff_info()
385 uinfo->value.integer.max = CS_DSP_ACKED_CTL_MAX_VALUE; in wm_coeff_info()
386 uinfo->value.integer.step = 1; in wm_coeff_info()
405 char *p = ucontrol->value.bytes.data; in wm_coeff_put()
448 unsigned int val = ucontrol->value.integer.value[ in wm_coeff_put_acked()
[all...]
H A Dmax98396.c969 ucontrol->value.enumerated.item[0] = val; in max98396_mux_get()
982 unsigned int *item = ucontrol->value.enumerated.item; in max98396_mux_put()
1118 /* ADC value is not available if the device is powered down */ in max98396_adc_value_get()
1143 ucontrol->value.integer.value[0] = (val[0] << 1) | (val[1] & 1); in max98396_adc_value_get()
1147 ucontrol->value.integer.value[0] = 0; in max98396_adc_value_get()
1677 int value; in max98396_read_device_property() local
1679 if (!device_property_read_u32(dev, "adi,vmon-slot-no", &value)) in max98396_read_device_property()
1680 max98396->v_slot = value in max98396_read_device_property()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.c3118 unsigned long value[4]; in ar9300_comp_hdr_unpack() local
3120 value[0] = best[0]; in ar9300_comp_hdr_unpack()
3121 value[1] = best[1]; in ar9300_comp_hdr_unpack()
3122 value[2] = best[2]; in ar9300_comp_hdr_unpack()
3123 value[3] = best[3]; in ar9300_comp_hdr_unpack()
3124 *code = ((value[0] >> 5) & 0x0007); in ar9300_comp_hdr_unpack()
3125 *reference = (value[0] & 0x001f) | ((value[1] >> 2) & 0x0020); in ar9300_comp_hdr_unpack()
3126 *length = ((value[1] << 4) & 0x07f0) | ((value[ in ar9300_comp_hdr_unpack()
3650 u32 regval, value, gpio; ar9003_hw_ant_ctrl_apply() local
3842 u16 value; ar9003_hw_atten_chain_get() local
3870 u16 value; ar9003_hw_atten_chain_get_margin() local
3896 u16 value; ar9003_hw_atten_apply() local
4090 u32 value; ar9003_hw_txend_to_xpa_off_apply() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.c3118 unsigned long value[4]; in ar9300_comp_hdr_unpack() local
3120 value[0] = best[0]; in ar9300_comp_hdr_unpack()
3121 value[1] = best[1]; in ar9300_comp_hdr_unpack()
3122 value[2] = best[2]; in ar9300_comp_hdr_unpack()
3123 value[3] = best[3]; in ar9300_comp_hdr_unpack()
3124 *code = ((value[0] >> 5) & 0x0007); in ar9300_comp_hdr_unpack()
3125 *reference = (value[0] & 0x001f) | ((value[1] >> 2) & 0x0020); in ar9300_comp_hdr_unpack()
3126 *length = ((value[1] << 4) & 0x07f0) | ((value[ in ar9300_comp_hdr_unpack()
3650 u32 regval, value, gpio; ar9003_hw_ant_ctrl_apply() local
3842 u16 value; ar9003_hw_atten_chain_get() local
3870 u16 value; ar9003_hw_atten_chain_get_margin() local
3896 u16 value; ar9003_hw_atten_apply() local
4090 u32 value; ar9003_hw_txend_to_xpa_off_apply() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
H A Dphy.c530 u16 value; in b43legacy_phy_initb5() local
539 value = 0x2120; in b43legacy_phy_initb5()
541 b43legacy_phy_write(dev, offset, value); in b43legacy_phy_initb5()
542 value += 0x0202; in b43legacy_phy_initb5()
1071 * the value 0x7FFFFFFF here. I think that is some weird in b43legacy_phy_initg()
1267 u16 value; in b43legacy_lo_write() local
1269 value = (u8)(pair->low); in b43legacy_lo_write()
1270 value |= ((u8)(pair->high)) << 8; in b43legacy_lo_write()
1284 b43legacy_phy_write(dev, B43legacy_PHY_G_LO_CONTROL, value); in b43legacy_lo_write()
1440 /* Set the baseband attenuation value o
1445 u16 value; b43legacy_phy_set_baseband_attenuation() local
2075 u16 value; b43legacy_phy_set_antenna_diversity() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/
H A Dphy.c530 u16 value; in b43legacy_phy_initb5() local
539 value = 0x2120; in b43legacy_phy_initb5()
541 b43legacy_phy_write(dev, offset, value); in b43legacy_phy_initb5()
542 value += 0x0202; in b43legacy_phy_initb5()
1071 * the value 0x7FFFFFFF here. I think that is some weird in b43legacy_phy_initg()
1267 u16 value; in b43legacy_lo_write() local
1269 value = (u8)(pair->low); in b43legacy_lo_write()
1270 value |= ((u8)(pair->high)) << 8; in b43legacy_lo_write()
1284 b43legacy_phy_write(dev, B43legacy_PHY_G_LO_CONTROL, value); in b43legacy_lo_write()
1440 /* Set the baseband attenuation value o
1445 u16 value; b43legacy_phy_set_baseband_attenuation() local
2075 u16 value; b43legacy_phy_set_antenna_diversity() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_node_test.cpp53 Vector4f createV4fWithValue(float value) const in createV4fWithValue()
55 return {value, value, value, value}; in createV4fWithValue()
57 void SetBorderDashParamsAndTest(float value) const in SetBorderDashParamsAndTest()
59 SetBorderDashParamsAndTest(createV4fWithValue(value)); in SetBorderDashParamsAndTest()
61 void SetOutlineDashParamsAndTest(float value) const in SetOutlineDashParamsAndTest()
63 SetOutlineDashParamsAndTest(createV4fWithValue(value)); in SetOutlineDashParamsAndTest()
4172 auto value in HWTEST_F() local
4407 auto value = Vector4f(100.f); HWTEST_F() local
4440 auto value = Vector4f(100.f); HWTEST_F() local
4449 auto value = Vector4f(100.f); HWTEST_F() local
4458 auto value = Vector2f(200.f, 300.f); HWTEST_F() local
4467 auto value = Vector2f(2.f, 2.f); HWTEST_F() local
4476 auto value = Vector2f(2.f, 2.f); HWTEST_F() local
4485 auto value = Vector2f(FLOAT_DATA_INIT, FLOAT_DATA_INIT); HWTEST_F() local
4503 auto value = Vector2f(2.f, 2.f); HWTEST_F() local
5586 float value = 1.0; HWTEST_F() local
5628 float value = 0.0; HWTEST_F() local
5670 float value = 1.0; HWTEST_F() local
5712 float value = 1.0; HWTEST_F() local
6299 auto value = Vector4f(100.f); HWTEST_F() local
6325 auto value = Vector4f(100.f); HWTEST_F() local
6346 auto value = Vector4f(100.f); HWTEST_F() local
6376 auto value = Vector4f(100.f); HWTEST_F() local
6395 auto value = Vector4f(100.f); HWTEST_F() local
6431 auto value = Vector4f(100.f); HWTEST_F() local
6449 auto value = Vector4f(100.f); HWTEST_F() local
7220 auto value = Vector4f(100.f); HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/
H A Dability_util.h85 #define CHECK_POINTER_AND_RETURN(object, value) \
88 return value; \
91 #define CHECK_POINTER_AND_RETURN_LOG(object, value, log) \
94 return value; \
109 #define CHECK_TRUE_RETURN_RET(object, value, log) \
112 return value; \
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Djs_free_install_observer.cpp198 napi_value value; in CallCallback() local
200 value = CreateJsUndefined(env_); in CallCallback()
202 value = CreateJsError(env_, GetJsErrorCodeByNativeError(resultCode)); in CallCallback()
204 napi_value argv[] = { value }; in CallCallback()
233 napi_value value = CreateJsUndefined(env_); in CallPromise() local
234 napi_resolve_deferred(env_, deferred, value); in CallPromise()
/foundation/ability/ability_runtime/frameworks/js/napi/application/
H A Djs_application.cpp50 napi_value value = JsApplicationContextUtils::CreateJsApplicationContext(env); in OnGetApplicationContext() local
51 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &value, 1); in OnGetApplicationContext()
265 napi_value value = CreateJsBaseContext(env, context, true); in SetCreateCompleteCallback()
266 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in SetCreateCompleteCallback()
296 napi_value value = CreateJsBaseContext(env, context, true); in CreateJsContext() local
297 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in CreateJsContext()
/foundation/ability/ability_runtime/frameworks/js/napi/app_startup/startup_manager/
H A Djs_startup_manager.cpp224 int32_t JsStartupManager::GetDependencies(napi_env env, napi_value value, std::vector<std::string> &dependencies) in GetDependencies() argument
227 napi_is_array(env, value, &isArray); in GetDependencies()
229 TAG_LOGE(AAFwkTag::STARTUP, "value not array"); in GetDependencies()
235 napi_get_array_length(env, value, &arrayLength); in GetDependencies()
239 napi_get_element(env, value, i, &napiDep); in GetDependencies()
260 int32_t JsStartupManager::GetConfig(napi_env env, napi_value value, std::shared_ptr<StartupConfig> &config) in GetConfig() argument
267 if (startupConfig->Init(value) != ERR_OK) { in GetConfig()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/app_bar/
H A Datomic_service_pattern.cpp49 UpdateMenuBarColor(theme, menuBar, settedColorMode.value()); in BeforeCreateLayoutWrapper()
201 UpdateButtonColor(theme, menuButton, isLight.value()); in UpdateColor()
203 UpdateDividerColor(theme, divider, isLight.value()); in UpdateColor()
205 UpdateButtonColor(theme, closeButton, isLight.value()); in UpdateColor()
208 UpdateIconColor(theme, menuIcon, isLight.value()); in UpdateColor()
210 UpdateIconColor(theme, closeIcon, isLight.value()); in UpdateColor()
/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_constants.cpp42 // Check whether value is match with expected type
421 // This value point to another style, recursively find target. in GetValue()
422 auto uintPtr = std::get_if<uint32_t>(&(platformConstants->value)); in GetValue()
426 // Copy reference value, blend alpha if need(reference color and current blendAlpha < 1.0). in GetValue()
431 auto colorPtr = std::get_if<Color>(&refValue.value); in GetValue()
435 refValue.value = colorPtr->BlendOpacity(blendAlpha); in GetValue()
507 const auto& value = child->GetString(); in ParseCustomStyle() local
523 const auto& newValue = ThemeUtils::ParseStyleValue(styleId, oldValue, value); in ParseCustomStyle()
560 THEME_ATTR_BG_COLOR, { .type = ThemeConstantsType::COLOR, .value = TRANSPARENT_BG_COLOR }); in SetColorScheme()
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dlong_press_recognizer.cpp46 inputTime = static_cast<int64_t>(firstInputTime_.value().time_since_epoch().count()); in OnAccepted()
190 inputTime = static_cast<int64_t>(firstInputTime_.value().time_since_epoch().count());
356 info.SetTiltX(lastTouchEvent_.tiltX.value()); in SendCallbackMsg()
359 info.SetTiltY(lastTouchEvent_.tiltY.value()); in SendCallbackMsg()
468 info->SetTiltX(trackPoint.tiltX.value()); in TriggerGestureJudgeCallback()
471 info->SetTiltY(trackPoint.tiltY.value()); in TriggerGestureJudgeCallback()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_layout_algorithm.cpp82 std::min(contentConstraint.selfIdealSize.Height().value(), contentConstraint.selfIdealSize.Width().value()); in MeasureContent()
86 NonNegative(contentConstraint.selfIdealSize.Width().value())) { in MeasureContent()
87 auto width = contentConstraint.selfIdealSize.Width().value(); in MeasureContent()
91 NonNegative(contentConstraint.selfIdealSize.Height().value())) { in MeasureContent()
92 auto height = contentConstraint.selfIdealSize.Height().value(); in MeasureContent()
/foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include/
H A Ddataobs_utils.h161 _First value{}; in ReadVariant()
162 auto success = DataObsUtils::Unmarshalling(value, data); in ReadVariant()
163 output = value; in ReadVariant()
298 typename T::value_type value; in UnmarshalFromContainer() local
299 if (!DataObsUtils::Unmarshalling(value, parcel)) { in UnmarshalFromContainer()
302 val.emplace_back(std::move(value)); in UnmarshalFromContainer()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/
H A Dmodel_adapter_wrapper.cpp326 auto& modelSource = modelPaintProperty->GetModelSource().value(); in UpdateScene()
350 auto& backgroundPath = modelPaintProperty->GetModelBackground().value(); in UpdateEnviroment()
385 auto& customRender = modelPaintProperty->GetModelCustomRender().value(); in UpdateCustomRender()
412 auto& shaderPath = modelPaintProperty->GetShaderPath().value(); in UpdateShaderPath()
435 auto& imageTexture = modelPaintProperty->GetModelImageTexturePaths().value(); in UpdateImageTexturePaths()
458 auto& shaderInputBuffer = modelPaintProperty->GetModelShaderInputBuffer().value(); in UpdateShaderInputBuffers()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_pattern_lock_bridge.cpp61 uint32_t value = 1; in SetAutoReset() local
63 value = static_cast<uint32_t>(secondArg->ToBoolean(vm)->Value()); in SetAutoReset()
65 GetArkUINodeModifiers()->getPatternLockModifier()->setPatternLockAutoReset(nativeNode, value); in SetAutoReset()
267 uint32_t value = 1; in SetPatternLockActivateCircleStyle() local
269 value = static_cast<uint32_t>(jsEnable->ToBoolean(vm)->Value()); in SetPatternLockActivateCircleStyle()
271 GetArkUINodeModifiers()->getPatternLockModifier()->setPatternLockEnableWaveEffect(nativeNode, value); in SetPatternLockActivateCircleStyle()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_text_clock.cpp220 void JSTextClock::SetFontStyle(int32_t value) in SetFontStyle() argument
222 if (value < 0 || value >= static_cast<int32_t>(FONT_STYLES.size())) { in SetFontStyle()
225 TextClockModel::GetInstance()->SetItalicFontStyle(FONT_STYLES[value]); in SetFontStyle()
301 const std::string& value) { in JsOnDateChange()
305 auto newJSVal = JSRef<JSVal>::Make(ToJSValue(value)); in JsOnDateChange()
H A Djs_data_panel.cpp111 double value = item->ToNumber<double>(); in Create() local
112 if (LessOrEqual(value, 0.0)) { in Create()
113 value = 0.0; in Create()
115 // if the sum of values exceeds the maximum value, only fill in to the maximum value in Create()
116 if (GreatOrEqual(dataSum + value, max) && GreatNotEqual(max, 0)) { in Create()
120 dataSum += value; in Create()
121 dateValues.emplace_back(value); in Create()
201 // If the parameter value is string(''), parse result 0. in StrokeWidth()
202 // The value o in StrokeWidth()
[all...]
H A Djs_utils.cpp65 panda::Local<JsiValue> value = obj.Get().GetLocalHandle(); in UnwrapNapiValue() local
67 JSValueWrapper valueWrapper = value; in UnwrapNapiValue()
107 panda::Local<JsiValue> value = obj.Get().GetLocalHandle(); in CreatePixelMapFromNapiValue() local
109 JSValueWrapper valueWrapper = value; in CreatePixelMapFromNapiValue()
159 panda::Local<JsiValue> value = obj.Get().GetLocalHandle(); in CreateWantWrapFromNapiValue() local
161 JSValueWrapper valueWrapper = value; in CreateWantWrapFromNapiValue()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_video.cpp171 auto value = GetParamFromJson(args, "currenttime"); in CallSpecializedMethod()
172 if (value) { in CallSpecializedMethod()
173 int32_t pos = value->GetInt(); in CallSpecializedMethod()
180 auto value = GetParamFromJson(args, "screenOrientation "); in CallSpecializedMethod()
181 if (value) { in CallSpecializedMethod()
182 controller->RequestFullscreen(!(value->GetString() == "landscape")); in CallSpecializedMethod()
H A Ddom_progress.cpp23 bool IsGradient(const std::string& value) in IsGradient() argument
25 auto gradientJson = JsonUtil::ParseJsonString(value); in IsGradient()
32 Gradient ParseGradient(const DOMProgress& progress, const std::string& value) in ParseGradient() argument
35 auto gradientJson = JsonUtil::ParseJsonString(value); in ParseGradient()
122 progressAttrsOperators[operatorIter].value(attr.second, *this); in SetSpecializedAttr()
199 progressStylesOperators[operatorIter].value(style.second, *this); in SetSpecializedStyle()
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/
H A Dpa_backend.cpp94 int32_t PaBackend::Insert(const Uri& uri, const OHOS::NativeRdb::ValuesBucket& value) in Insert() argument
101 [weakEngine = WeakPtr<JsBackendEngine>(jsBackendEngine_), &ret, uri, value, callingInfo] { in Insert()
104 ret = jsBackendEngine->Insert(uri, value, callingInfo); in Insert()
144 int32_t PaBackend::Update(const Uri& uri, const OHOS::NativeRdb::ValuesBucket& value, in Update() argument
152 [weakEngine = WeakPtr<JsBackendEngine>(jsBackendEngine_), &ret, uri, value, predicates, callingInfo] { in Update()
155 ret = jsBackendEngine->Update(uri, value, predicates, callingInfo); in Update()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_event_hub.cpp113 void RichEditorAbstractSpanResult::SetValue(const std::string& value) in SetValue() argument
115 value_ = value; in SetValue()
613 void RichEditorEventHub::FireOnCut(NG::TextCommonEvent& value) in FireOnCut() argument
616 onCut_(value); in FireOnCut()
625 void RichEditorEventHub::FireOnCopy(NG::TextCommonEvent& value) in FireOnCopy() argument
628 onCopy_(value); in FireOnCopy()

Completed in 48 milliseconds

1...<<341342343344345346347348349350>>...786