Home
last modified time | relevance | path

Searched refs:value (Results 2451 - 2475 of 19632) sorted by relevance

1...<<919293949596979899100>>...786

/kernel/linux/linux-6.6/sound/drivers/pcsp/
H A Dpcsp_input.c44 unsigned int code, int value) in pcspkr_input_event()
55 if (value) in pcspkr_input_event()
56 value = 1000; in pcspkr_input_event()
69 if (value > 20 && value < 32767) in pcspkr_input_event()
70 count = PIT_TICK_RATE / value; in pcspkr_input_event()
43 pcspkr_input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) pcspkr_input_event() argument
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_kfunc_dynptr_param.c30 __type(value, __u32);
62 __u32 *value; in BPF_PROG() local
68 value = bpf_map_lookup_elem(&array_map, &zero); in BPF_PROG()
69 if (!value) in BPF_PROG()
73 ret = bpf_dynptr_from_mem(value, sizeof(*value), ((__u64)~0ULL), &ptr); in BPF_PROG()
H A Dtest_map_in_map.c13 __type(value, __u32);
21 __type(value, __u32);
31 __type(value, __u32);
53 int value = 123; in xdp_mimtest0() local
62 bpf_map_update_elem(map, &key, &value, 0); in xdp_mimtest0()
71 bpf_map_update_elem(map, &key, &value, 0); in xdp_mimtest0()
H A Dtest_verify_pkcs7_sig.c39 __type(value, struct data);
51 __u64 value; in BPF_PROG() local
62 ret = bpf_probe_read_kernel(&value, sizeof(value), &attr->value); in BPF_PROG()
67 (void *)(unsigned long)value); in BPF_PROG()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
H A DIt_los_task_063.c43 int value; in TaskF02() local
47 HAL_READ_UINT32(&g_testCount, value); in TaskF02()
49 while (value != 4) { // 4, assert value . in TaskF02()
50 HAL_READ_UINT32(&g_testCount, value); in TaskF02()
53 HAL_READ_UINT32(&g_testCount, value); in TaskF02()
54 g_testCount = value; in TaskF02()
H A DIt_los_task_075.c42 int value; in TaskF02() local
47 HAL_READ_UINT32(&g_testCount, value); in TaskF02()
49 while (value <= 2) { // 2, Waiting for the change of value. in TaskF02()
50 HAL_READ_UINT32(&g_testCount, value); in TaskF02()
53 HAL_READ_UINT32(&g_testCount, value); in TaskF02()
54 g_testCount = value; in TaskF02()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Drl6347a.c16 int rl6347a_hw_write(void *context, unsigned int reg, unsigned int value) in rl6347a_hw_write() argument
28 rl6347a->index_cache[i].def = value; in rl6347a_hw_write()
40 * 12 bit VID: value should be 0 in rl6347a_hw_write()
43 data[2] = ((reg >> 8) & 0xff) | ((value >> 8) & 0xff); in rl6347a_hw_write()
44 data[3] = value & 0xff; in rl6347a_hw_write()
59 int rl6347a_hw_read(void *context, unsigned int reg, unsigned int *value) in rl6347a_hw_read() argument
100 *value = be32_to_cpu(buf); in rl6347a_hw_read()
H A Dtas2781-i2c.c112 ucontrol->value.integer.value[0] = (int)tas_priv->force_fwload_status; in tas2781_force_fwload_get()
126 bool change, val = (bool)ucontrol->value.integer.value[0]; in tas2781_force_fwload_put()
159 ucontrol->value.integer.value[0]) { in tasdevice_set_profile_id()
161 ucontrol->value.integer.value[0]; in tasdevice_set_profile_id()
177 uinfo->value.integer.min = 0; in tasdevice_info_programs()
178 uinfo->value in tasdevice_info_programs()
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dcheck-sysctl-docs36 # Remove punctuation from the given value
37 function trimpunct(value) {
38 while (value ~ /^["&]/) {
39 value = substr(value, 2)
41 while (value ~ /[]["&,}]$/) {
42 value = substr(value, 1, length(value) - 1)
44 return value
[all...]
/foundation/arkui/ace_engine/adapter/ohos/capability/html/
H A Dspan_to_html.cpp38 std::string SpanToHtml::FontStyleToHtml(const std::optional<Ace::FontStyle>& value) in FontStyleToHtml() argument
41 "font-style", value.value_or(Ace::FontStyle::NORMAL) == Ace::FontStyle::NORMAL ? "normal" : "italic"); in FontStyleToHtml()
44 std::string SpanToHtml::FontSizeToHtml(const std::optional<Dimension>& value) in FontSizeToHtml() argument
46 return ToHtmlStyleFormat("font-size", DimensionToString(value.value_or(TEXT_DEFAULT_FONT_SIZE))); in FontSizeToHtml()
49 std::string SpanToHtml::FontWeightToHtml(const std::optional<FontWeight>& value) in FontWeightToHtml() argument
69 auto index = BinarySearchFindIndex(table, ArraySize(table), value.value_or(FontWeight::NORMAL)); in FontWeightToHtml()
70 return ToHtmlStyleFormat("font-weight", index < 0 ? "normal" : table[index].value); in FontWeightToHtml()
87 std::string SpanToHtml::ColorToHtml(const std::optional<Color>& value) in ColorToHtml() argument
89 auto color = value.value_or(Color::BLACK).ColorToString(); in ColorToHtml()
94 std::string SpanToHtml::FontFamilyToHtml(const std::optional<std::vector<std::string>>& value) in FontFamilyToHtml() argument
150 auto& value = *dimension; ToHtml() local
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/shader_effect_napi/
H A Djs_shader_effect.cpp132 int32_t value = 0; in CreateLinearGradient() local
133 napi_get_value_int32(env, element, &value); in CreateLinearGradient()
134 colors.emplace_back(value); in CreateLinearGradient()
160 double value = 0; in CreateLinearGradient() local
161 napi_get_value_double(env, element, &value); in CreateLinearGradient()
162 pos.emplace_back(value); in CreateLinearGradient()
213 int32_t value = 0; in CreateRadialGradient() local
214 napi_get_value_int32(env, element, &value); in CreateRadialGradient()
215 colors.emplace_back(value); in CreateRadialGradient()
242 double value in CreateRadialGradient() local
293 int32_t value = 0; CreateSweepGradient() local
325 double value = 0; CreateSweepGradient() local
388 int32_t value = 0; CreateConicalGradient() local
416 double value = 0; CreateConicalGradient() local
[all...]
/foundation/multimedia/player_framework/frameworks/js/common/
H A Dcommon_napi.h50 static std::string GetStringArgument(napi_env env, napi_value value, size_t maxLength = PATH_MAX);
60 static bool GetPropertyMap(napi_env env, napi_value value, std::map<std::string, std::string>& map);
61 static bool GetFdArgument(napi_env env, napi_value value, AVFileDescriptor &rawFd);
62 static bool GetPlayStrategy(napi_env env, napi_value value, AVPlayStrategyTmp &playStrategy);
68 static bool SetPropertyInt32(napi_env env, napi_value &obj, const std::string &key, int32_t value);
69 static bool SetPropertyInt64(napi_env env, napi_value &obj, const std::string &key, int64_t value);
70 static bool SetPropertyDouble(napi_env env, napi_value &obj, const std::string &key, double value);
71 static bool SetPropertyBool(napi_env env, napi_value &obj, const std::string &key, bool value);
72 static bool SetPropertyString(napi_env env, napi_value &obj, const std::string &key, const std::string &value);
78 static bool AddNumberPropInt32(napi_env env, napi_value obj, const std::string &key, int32_t value);
102 MediaJsResultBoolean(bool value) MediaJsResultBoolean() argument
117 MediaJsResultInt(int32_t value) MediaJsResultInt() argument
132 MediaJsResultString(const std::string &value) MediaJsResultString() argument
148 MediaJsResultStringVector(const std::vector<std::string> &value) MediaJsResultStringVector() argument
161 MediaJsResultIntArray(const std::vector<int32_t> &value) MediaJsResultIntArray() argument
174 MediaJsResultArray(const std::vector<Format> &value) MediaJsResultArray() argument
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dacmacros.h165 #define _ACPI_DIV(value, power_of2) ((u32) ((value) >> (power_of2)))
166 #define _ACPI_MUL(value, power_of2) ((u32) ((value) << (power_of2)))
167 #define _ACPI_MOD(value, divisor) ((u32) ((value) & ((divisor) -1)))
201 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \
204 #define ACPI_ROUND_UP(value, boundary) ((((acpi_size)(value))
[all...]
/kernel/linux/linux-5.10/sound/pci/ice1712/
H A Dprodigy192.c105 ucontrol->value.integer.value[0] = (~val >> 7) & 0x1; in stac9460_dac_mute_get()
122 dev_dbg(ice->card->dev, "Mute put: reg 0x%02x, ctrl value: 0x%02x\n", idx, in stac9460_dac_mute_put()
123 ucontrol->value.integer.value[0]); in stac9460_dac_mute_put()
125 change = stac9460_dac_mute(ice, idx, ucontrol->value.integer.value[0]); in stac9460_dac_mute_put()
137 uinfo->value.integer.min = 0; /* mute */ in stac9460_dac_vol_info()
138 uinfo->value.integer.max = 0x7f; /* 0dB */ in stac9460_dac_vol_info()
153 ucontrol->value in stac9460_dac_vol_get()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dnlattr.c75 if (bf->value & ~valid_flags_mask) in validate_nla_bitfield32()
79 if (bf->value & ~bf->selector) in validate_nla_bitfield32()
169 u64 value; in nla_validate_range_unsigned() local
173 value = nla_get_u8(nla); in nla_validate_range_unsigned()
176 value = nla_get_u16(nla); in nla_validate_range_unsigned()
179 value = nla_get_u32(nla); in nla_validate_range_unsigned()
183 value = nla_get_u64(nla); in nla_validate_range_unsigned()
186 value = nla_len(nla); in nla_validate_range_unsigned()
195 pt->type == NLA_BINARY && value > range.max) { in nla_validate_range_unsigned()
208 if (value < rang in nla_validate_range_unsigned()
273 s64 value; nla_validate_int_range_signed() local
331 u64 value; nla_validate_mask() local
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dacmacros.h165 #define _ACPI_DIV(value, power_of2) ((u32) ((value) >> (power_of2)))
166 #define _ACPI_MUL(value, power_of2) ((u32) ((value) << (power_of2)))
167 #define _ACPI_MOD(value, divisor) ((u32) ((value) & ((divisor) -1)))
201 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \
204 #define ACPI_ROUND_UP(value, boundary) ((((acpi_size)(value))
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dsystem76_acpi.c75 // Get a System76 ACPI device value by name
89 // Get a System76 ACPI device value by name with index
99 obj.integer.value = index; in system76_get_index()
138 // Set a System76 ACPI device value by name
139 static int system76_set(struct system76_data *data, char *method, int value) in system76_set() argument
147 obj.integer.value = value; in system76_set()
181 param.integer.value = which; in battery_get_threshold()
198 unsigned int value; in battery_set_threshold() local
205 ret = kstrtouint(buf, 10, &value); in battery_set_threshold()
302 int value; ap_led_get() local
313 ap_led_set(struct led_classdev *led, enum led_brightness value) ap_led_set() argument
331 kb_led_set(struct led_classdev *led, enum led_brightness value) kb_led_set() argument
411 int value; kb_led_hotkey_hardware() local
[all...]
/kernel/linux/linux-6.6/sound/pci/ice1712/
H A Dprodigy192.c105 ucontrol->value.integer.value[0] = (~val >> 7) & 0x1; in stac9460_dac_mute_get()
122 dev_dbg(ice->card->dev, "Mute put: reg 0x%02x, ctrl value: 0x%02x\n", idx, in stac9460_dac_mute_put()
123 ucontrol->value.integer.value[0]); in stac9460_dac_mute_put()
125 change = stac9460_dac_mute(ice, idx, ucontrol->value.integer.value[0]); in stac9460_dac_mute_put()
137 uinfo->value.integer.min = 0; /* mute */ in stac9460_dac_vol_info()
138 uinfo->value.integer.max = 0x7f; /* 0dB */ in stac9460_dac_vol_info()
153 ucontrol->value in stac9460_dac_vol_get()
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h269 ArkUI_Float32 value; member
285 ArkUI_Float32 value; member
318 ArkUI_CharPtr value; member
325 ArkUI_Float32 value; member
363 ArkUI_Float32 value; member
416 ArkUI_Float32 value; member
476 ArkUI_Float32 value; member
1243 ArkUI_Float32 value; member
1248 ArkUI_Int32 value; member
1253 ArkUI_Uint32 value; member
1258 ArkUI_CharPtr value; global() member
1263 void* value; global() member
1268 ArkUI_Bool value; global() member
1273 ArkUI_CommonCharPtr value; global() member
[all...]
/kernel/linux/linux-5.10/sound/pci/korg1212/
H A Dkorg1212.c77 K1212_DB_RequestAdatTimecode = 4, // asks the card for the latest ADAT timecode value.
81 // timecode value.
154 #define DOORBELL_VAL_MASK 0x00FF // the doorbell value is one byte
267 u32 timeCodeVal; /* holds the ADAT timecode value */
282 u32 AdatTimeCode; // ADAT timecode value
399 MODULE_PARM_DESC(index, "Index value for Korg 1212 soundcard.");
544 // low byte is equal to the doorbell value, then it ack'd. in snd_korg1212_Send1212Command()
883 u16 controlValue; // this keeps the current value to be written to in snd_korg1212_WriteADCSensitivity()
896 SetBitInWord(&controlValue, SET_SENS_LOCALINIT_BITPOS); // init the control value in snd_korg1212_WriteADCSensitivity()
1731 u->value in snd_korg1212_control_phase_get()
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dacer-wmi.c197 struct wmid3_gds_return_value { /* Get Device Status return value*/
264 MODULE_PARM_DESC(force_caps, "Force the capability bitmask to this value");
753 static acpi_status AMW0_get_u32(u32 *value, u32 cap) in AMW0_get_u32() argument
765 *value = (result >> 7) & 0x1; in AMW0_get_u32()
775 *value = result & 0x1; in AMW0_get_u32()
781 *value = result & 0x1; in AMW0_get_u32()
787 *value = result & 0x1; in AMW0_get_u32()
793 *value = (result >> 2) & 0x1; in AMW0_get_u32()
803 *value = (result >> 4) & 0x1; in AMW0_get_u32()
813 *value in AMW0_get_u32()
823 AMW0_set_u32(u32 value, u32 cap) AMW0_set_u32() argument
1037 WMID_get_u32(u32 *value, u32 cap) WMID_get_u32() argument
1074 WMID_set_u32(u32 value, u32 cap) WMID_set_u32() argument
1117 wmid3_get_device_status(u32 *value, u16 device) wmid3_get_device_status() argument
1165 wmid_v2_get_u32(u32 *value, u32 cap) wmid_v2_get_u32() argument
1185 wmid3_set_device_status(u32 value, u16 device) wmid3_set_device_status() argument
1272 wmid_v2_set_u32(u32 value, u32 cap) wmid_v2_set_u32() argument
1374 get_u32(u32 *value, u32 cap) get_u32() argument
1404 set_u32(u32 value, u32 cap) set_u32() argument
1465 mail_led_set(struct led_classdev *led_cdev, enum led_brightness value) mail_led_set() argument
1494 u32 value; read_brightness() local
1827 acer_wmi_notify(u32 value, void *context) acer_wmi_notify() argument
2170 u32 value; acer_suspend() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vcap_impl.c179 u32 value; in sparx5_vcap_wait_super_update() local
181 read_poll_timeout(spx5_rd, value, in sparx5_vcap_wait_super_update()
182 !VCAP_SUPER_CTRL_UPDATE_SHOT_GET(value), 500, 10000, in sparx5_vcap_wait_super_update()
189 u32 value; in sparx5_vcap_wait_es0_update() local
191 read_poll_timeout(spx5_rd, value, in sparx5_vcap_wait_es0_update()
192 !VCAP_ES0_CTRL_UPDATE_SHOT_GET(value), 500, 10000, in sparx5_vcap_wait_es0_update()
199 u32 value; in sparx5_vcap_wait_es2_update() local
201 read_poll_timeout(spx5_rd, value, in sparx5_vcap_wait_es2_update()
202 !VCAP_ES2_CTRL_UPDATE_SHOT_GET(value), 500, 10000, in sparx5_vcap_wait_es2_update()
332 memset(port_mask.value, in sparx5_vcap_add_wide_port_mask()
407 sparx5_vcap_is0_get_port_etype_keysets(struct vcap_keyset_list *keysetlist, u32 value) sparx5_vcap_is0_get_port_etype_keysets() argument
429 u32 value; sparx5_vcap_is0_get_port_keysets() local
483 u32 value; sparx5_vcap_is2_get_port_keysets() local
578 sparx5_vcap_es2_get_port_ipv4_keysets(struct vcap_keyset_list *keysetlist, u32 value) sparx5_vcap_es2_get_port_ipv4_keysets() argument
612 u32 value; sparx5_vcap_es0_get_port_keysets() local
637 u32 value; sparx5_vcap_es2_get_port_keysets() local
1541 u32 value; sparx5_vcap_is0_set_port_keyset() local
1630 u32 value; sparx5_vcap_is2_set_port_keyset() local
1723 u32 value; sparx5_vcap_es2_set_port_keyset() local
[all...]
/kernel/linux/linux-6.6/drivers/powercap/
H A Dintel_rapl_common.c256 unsigned long long value);
262 unsigned long long value);
264 enum unit_type type, u64 value, int to_raw);
610 u64 value, int to_raw) in rapl_unit_xlate()
625 return defaults->compute_time_window(rd, value, to_raw); in rapl_unit_xlate()
628 return value; in rapl_unit_xlate()
632 return div64_u64(value, units) * scale; in rapl_unit_xlate()
634 value *= units; in rapl_unit_xlate()
636 return div64_u64(value, scale); in rapl_unit_xlate()
816 u64 value; in rapl_read_data_raw() local
609 rapl_unit_xlate(struct rapl_domain *rd, enum unit_type type, u64 value, int to_raw) rapl_unit_xlate() argument
852 rapl_write_data_raw(struct rapl_domain *rd, enum rapl_primitives prim, unsigned long long value) rapl_write_data_raw() argument
891 rapl_write_pl_data(struct rapl_domain *rd, int pl, enum pl_prims pl_prim, unsigned long long value) rapl_write_pl_data() argument
921 u32 value; rapl_check_unit_core() local
949 u32 value; rapl_check_unit_atom() local
1077 rapl_compute_time_window_core(struct rapl_domain *rd, u64 value, bool to_raw) rapl_compute_time_window_core() argument
1110 rapl_compute_time_window_atom(struct rapl_domain *rd, u64 value, bool to_raw) rapl_compute_time_window_atom() argument
1136 u32 value; rapl_check_unit_tpmi() local
[all...]
/kernel/linux/linux-6.6/sound/pci/korg1212/
H A Dkorg1212.c77 K1212_DB_RequestAdatTimecode = 4, // asks the card for the latest ADAT timecode value.
81 // timecode value.
154 #define DOORBELL_VAL_MASK 0x00FF // the doorbell value is one byte
267 u32 timeCodeVal; /* holds the ADAT timecode value */
282 u32 AdatTimeCode; // ADAT timecode value
398 MODULE_PARM_DESC(index, "Index value for Korg 1212 soundcard.");
543 // low byte is equal to the doorbell value, then it ack'd. in snd_korg1212_Send1212Command()
882 u16 controlValue; // this keeps the current value to be written to in snd_korg1212_WriteADCSensitivity()
895 SetBitInWord(&controlValue, SET_SENS_LOCALINIT_BITPOS); // init the control value in snd_korg1212_WriteADCSensitivity()
1705 u->value in snd_korg1212_control_phase_get()
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dintel_pstate.c95 * @busy_scaled: Scaled busy value which is used to calculate next
172 * based on the MSR_IA32_MISC_ENABLE value and whether or
175 * @turbo_disabled_mf: The @turbo_disabled value reflected by cpuinfo.max_freq.
192 * @policy: CPUFreq policy value
201 * @prev_aperf: Last APERF value read from APERF MSR
202 * @prev_mperf: Last MPERF value read from MPERF MSR
203 * @prev_tsc: Last timestamp counter (TSC) value
217 * @epp_cached Cached HWP energy-performance preference value
218 * @hwp_req_cached: Cached value of the last HWP Request MSR
219 * @hwp_cap_cached: Cached value o
757 u64 value = READ_ONCE(cpu->hwp_req_cached); intel_pstate_set_epp() local
973 u64 value; intel_pstate_hwp_set() local
1036 u64 value = READ_ONCE(cpu->hwp_req_cached); intel_pstate_hwp_offline() local
1644 u64 value; notify_hwp_interrupt() local
1768 u64 value; atom_get_min_pstate() local
1776 u64 value; atom_get_max_pstate() local
1784 u64 value; atom_get_turbo_pstate() local
1815 u64 value; silvermont_get_scaling() local
1830 u64 value; airmont_get_scaling() local
1846 u64 value; atom_get_vid() local
1862 u64 value; core_get_min_pstate() local
1870 u64 value; core_get_max_pstate_physical() local
1946 u64 value; core_get_turbo_pstate() local
1975 u64 value; knl_get_turbo_pstate() local
2863 u64 prev = READ_ONCE(cpu->hwp_req_cached), value = prev; intel_cpufreq_hwp_update() local
3033 u64 value; intel_cpufreq_cpu_init() local
3098 u64 value = READ_ONCE(cpu->hwp_req_cached); intel_cpufreq_suspend() local
3404 u64 value; intel_pstate_hwp_is_enabled() local
[all...]

Completed in 50 milliseconds

1...<<919293949596979899100>>...786