Home
last modified time | relevance | path

Searched refs:value (Results 1701 – 1725 of 13561) sorted by relevance

1...<<61626364656667686970>>...543

/openbmc/linux/arch/x86/include/asm/
H A Dio.h246 static inline void out##bwl##_p(type value, u16 port) \
248 out##bwl(value, port); \
254 type value = in##bwl(port); \
256 return value; \
262 type *value = (type *)addr; \
264 out##bwl(*value, port); \
265 value++; \
278 type *value = (type *)addr; \
280 *value = in##bwl(port); \
281 value++; \
/openbmc/linux/drivers/hid/
H A Dhid-kye.c520 __s32 *value; in kye_tablet_enable() local
539 value = report->field[0]->value; in kye_tablet_enable()
550 value[0] = 0x12; in kye_tablet_enable()
551 value[1] = 0x10; in kye_tablet_enable()
552 value[2] = 0x11; in kye_tablet_enable()
553 value[3] = 0x12; in kye_tablet_enable()
554 value[4] = 0x00; in kye_tablet_enable()
555 value[5] = 0x00; in kye_tablet_enable()
556 value[6] = 0x00; in kye_tablet_enable()
/openbmc/linux/drivers/irqchip/
H A Dirq-mtk-cirq.c205 u32 value, mask; in mtk_cirq_suspend() local
253 value = readl_relaxed(reg); in mtk_cirq_suspend()
254 value |= (CIRQ_EDGE | CIRQ_EN); in mtk_cirq_suspend()
255 writel_relaxed(value, reg); in mtk_cirq_suspend()
263 u32 value; in mtk_cirq_resume() local
266 value = readl_relaxed(reg); in mtk_cirq_resume()
267 writel_relaxed(value | CIRQ_FLUSH, reg); in mtk_cirq_resume()
270 value = readl_relaxed(reg); in mtk_cirq_resume()
271 value &= ~(CIRQ_EDGE | CIRQ_EN); in mtk_cirq_resume()
272 writel_relaxed(value, reg); in mtk_cirq_resume()
/openbmc/telemetry/tests/src/
H A Dtest_trigger_actions.cpp54 auto [type, threshold, value] = GetParam(); in SetUp()
56 commmitValue = value; in SetUp()
148 auto [severity, value] = GetParam(); in SetUp()
150 commitValue = value; in SetUp()
191 void commit(TriggerValue value) in commit() argument
195 Milliseconds{100'000}, value); in commit()
223 void commit(TriggerValue value) in commit() argument
226 Milliseconds{100'000}, value); in commit()
279 void commit(TriggerValue value) in commit() argument
282 value); in commit()
/openbmc/phosphor-pid-control/examples/
H A DREADME29 "min": 0, /* The minimum value used for scaling writes (int64) */
30 "max": 255, /* The maximum value used for scaling writes (int64) */
31 "timeout": 0 /* The timeout value for the sensor, used for failsafe, 0
39 * If it has "/xyz/openbmc_project/" in it, it's a sensor whose value is
46 * If min and max are non-zero, it'll convert the value to within the range.
47 and output that modified value. So, if it receives a value of .90 and min
48 is 0, and max is 255, it'll convert that to a value of 229.5 that is then
58 "minThermalOutput": 3000.0, /* The minimum thermal RPM value. (double) */
76 "slewNeg": 0.0, /* The slew negative value. (double) */
77 "slewPos": 0.0 /* The slew positive value. (double) */
/openbmc/linux/drivers/gpu/drm/radeon/
H A Ddce6_afmt.c229 u32 value = 0; in dce6_afmt_write_sad_regs() local
239 value = MAX_CHANNELS(sad->channels) | in dce6_afmt_write_sad_regs()
252 value |= SUPPORTED_FREQUENCIES_STEREO(stereo_freqs); in dce6_afmt_write_sad_regs()
254 WREG32_ENDPOINT(dig->pin->offset, eld_reg_to_type[i][0], value); in dce6_afmt_write_sad_regs()
273 u32 value = 0; in dce6_hdmi_audio_set_dto() local
276 value |= DCCG_AUDIO_DTO0_SOURCE_SEL(crtc->crtc_id); in dce6_hdmi_audio_set_dto()
278 WREG32(DCCG_AUDIO_DTO_SOURCE, value); in dce6_hdmi_audio_set_dto()
292 u32 value = 0; in dce6_dp_audio_set_dto() local
293 value |= DCCG_AUDIO_DTO_SEL; in dce6_dp_audio_set_dto()
296 value |= DCCG_AUDIO_DTO0_SOURCE_SEL(crtc->crtc_id); in dce6_dp_audio_set_dto()
[all …]
/openbmc/qemu/util/
H A Dthread-context.c109 nbits = MAX(nbits, l->value + 1); in thread_context_set_cpu_affinity()
113 set_bit(l->value, bitmap); in thread_context_set_cpu_affinity()
139 unsigned long *bitmap, nbits, value; in thread_context_get_cpu_affinity() local
156 value = find_first_bit(bitmap, nbits); in thread_context_get_cpu_affinity()
157 while (value < nbits) { in thread_context_get_cpu_affinity()
158 QAPI_LIST_APPEND(tail, value); in thread_context_get_cpu_affinity()
160 value = find_next_bit(bitmap, nbits, value + 1); in thread_context_get_cpu_affinity()
198 ret = numa_node_to_cpus(l->value, tmp_cpus); in thread_context_set_node_affinity()
243 uint64_t value = tc->thread_id; in thread_context_get_thread_id() local
245 visit_type_uint64(v, name, &value, errp); in thread_context_get_thread_id()
/openbmc/linux/drivers/hwmon/
H A Dscmi-hwmon.c38 static int scmi_hwmon_scale(const struct scmi_sensor_info *sensor, u64 *value) in scmi_hwmon_scale() argument
65 *value *= f; in scmi_hwmon_scale()
67 *value = div64_u64(*value, f); in scmi_hwmon_scale()
77 u64 value; in scmi_hwmon_read_scaled_value() local
79 ret = sensor_ops->reading_get(ph, sensor->id, &value); in scmi_hwmon_read_scaled_value()
83 ret = scmi_hwmon_scale(sensor, &value); in scmi_hwmon_read_scaled_value()
85 *val = value; in scmi_hwmon_read_scaled_value()
143 long value; in scmi_hwmon_thermal_get_temp() local
147 &value); in scmi_hwmon_thermal_get_temp()
149 *temp = value; in scmi_hwmon_thermal_get_temp()
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-topology.c2159 u32 tkn, u32 value) in skl_tplg_fill_fmt() argument
2422 tkn_elem->value; in skl_tplg_get_token()
2553 tkn_elem->value; in skl_tplg_get_token()
2559 tkn_elem->value; in skl_tplg_get_token()
2564 tkn_elem->value; in skl_tplg_get_token()
2569 tkn_elem->value; in skl_tplg_get_token()
2669 tkn_elem = array->value; in skl_tplg_get_desc_blocks()
3233 tkn_elem->value); in skl_tplg_manifest_fill_fmt()
3336 tkn_elem->value); in skl_tplg_get_int_tkn()
3341 tkn_elem->value); in skl_tplg_get_int_tkn()
[all …]
/openbmc/linux/include/soc/tegra/
H A Dflowctrl.h45 void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value);
46 void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value);
56 static inline void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value) in flowctrl_write_cpu_csr() argument
60 static inline void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value) {} in flowctrl_write_cpu_halt() argument
/openbmc/u-boot/arch/arm/mach-davinci/
H A Dpinmux.c43 (pins[i].value & ~PIN_MUX_FIELD_MASK) != 0) in davinci_configure_pin_mux()
50 const unsigned int value = pins[i].value << offset; in davinci_configure_pin_mux() local
54 writel(value | (readl(mux) & (~mask)), mux); in davinci_configure_pin_mux()
/openbmc/u-boot/drivers/sysreset/
H A Dsysreset_x86.c18 int value; in x86_sysreset_request() local
22 value = SYS_RST | RST_CPU; in x86_sysreset_request()
25 value = SYS_RST | RST_CPU | FULL_RST; in x86_sysreset_request()
31 outb(value, IO_PORT_RESET); in x86_sysreset_request()
/openbmc/u-boot/board/freescale/ls1043ardb/
H A Dcpld.h31 void cpld_write(unsigned int reg, u8 value);
32 void cpld_rev_bit(unsigned char *value);
35 #define CPLD_WRITE(reg, value) \ argument
36 cpld_write(offsetof(struct cpld_data, reg), value)
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dhash_large_key.c8 int err, value = 21, duration = 0, hash_map_fd; in test_hash_large_key() local
30 err = bpf_map_update_elem(hash_map_fd, &key, &value, BPF_ANY); in test_hash_large_key()
35 err = bpf_map_lookup_elem(hash_map_fd, &key, &value); in test_hash_large_key()
39 CHECK_FAIL(value != 42); in test_hash_large_key()
/openbmc/linux/tools/virtio/asm/
H A Dbarrier.h9 #define virt_store_mb(var, value) do { \ argument
10 typeof(var) virt_store_mb_value = (value); \
24 #define virt_store_mb(var, value) do { WRITE_ONCE(var, value); dmb(ish); } while (0) argument
/openbmc/pldm/host-bmc/dbus/
H A Dpcie_slot.hpp37 Generations generation(Generations value) override;
43 size_t lanes(size_t value) override;
49 SlotTypes slotType(SlotTypes value) override;
55 bool hotPluggable(bool value) override;
/openbmc/qemu/target/i386/
H A Dconfidential-guest.h43 int reg, uint32_t value);
72 int reg, uint32_t value) in x86_confidential_guest_mask_cpuid_features() argument
77 return klass->mask_cpuid_features(cg, feature, index, reg, value); in x86_confidential_guest_mask_cpuid_features()
79 return value; in x86_confidential_guest_mask_cpuid_features()
/openbmc/qemu/target/arm/
H A Dhelper.c787 value &= mask; in cpacr_write()
797 value = (value & ~mask) | (env->cp15.cpacr_el1 & mask); in cpacr_write()
815 return value; in cpacr_read()
2404 value &= 1; in teecr_write()
4016 *u32p = value; in pmsav7_write()
5367 do_rvae_write(env, value, ipas2e1_tlbmask(env, value), in tlbi_aa64_ripas2e1_write()
5375 do_rvae_write(env, value, ipas2e1_tlbmask(env, value), true); in tlbi_aa64_ripas2e1is_write()
6084 value = deposit64(env->cp15.hcr_el2, 32, 32, value); in hcr_writehigh()
6092 value = deposit64(env->cp15.hcr_el2, 0, 32, value); in hcr_writelow()
6297 value = (value & ~mask) | (env->cp15.cptr_el[2] & mask); in cptr_el2_write()
[all …]
/openbmc/qemu/disas/
H A Dnanomips.c554 value = sign_extend(value, 9); in extract_s__se9_20_19_18_17_16_15_14_13_12_11()
564 value = sign_extend(value, 11); in extract_s__se11_0_10_9_8_7_6_5_4_3_2_1_0_s1()
632 value = sign_extend(value, 31); in extract_s__se31_0_11_to_2_20_to_12_s12()
642 value = sign_extend(value, 7); in extract_s__se7_0_6_5_4_3_2_1_s1()
716 value = sign_extend(value, 10); in extract_s__se10_0_9_8_7_6_5_4_3_2_1_s1()
855 value = sign_extend(value, 21); in extract_s__se21_0_20_to_1_s1()
897 value = sign_extend(value, 5); in extract_shift__se5_21_20_19_18_17_16()
932 value = sign_extend(value, 8); in extract_s__se8_15_7_6_5_4_3_2_s2()
958 value = sign_extend(value, 8); in extract_s__se8_15_7_6_5_4_3_2_1_0()
1187 value = sign_extend(value, 8); in extract_s__se8_15_7_6_5_4_3_s3()
[all …]
/openbmc/linux/sound/pci/ac97/
H A Dac97_patch.c985 (ucontrol->value.integer.value[0] & 1) << 4); in snd_ac97_stac9708_put_bias()
1941 ucontrol->value.integer.value[0] = !(val & AC97_AD198X_LOSEL); in snd_ac97_ad1888_lohpsel_get()
1943 ucontrol->value.integer.value[0] = in snd_ac97_ad1888_lohpsel_get()
1944 !ucontrol->value.integer.value[0]; in snd_ac97_ad1888_lohpsel_get()
1953 val = !ucontrol->value.integer.value[0]; in snd_ac97_ad1888_lohpsel_put()
2265 ucontrol->value.integer.value[0] != 0 in snd_ac97_ad1986_lososel_put()
2272 (ucontrol->value.integer.value[0] != 0 in snd_ac97_ad1986_lososel_put()
2301 ucontrol->value.integer.value[0] != 0 in snd_ac97_ad1986_spread_put()
2308 (ucontrol->value.integer.value[0] != 0 in snd_ac97_ad1986_spread_put()
2330 unsigned char swap = ucontrol->value.integer.value[0] != 0; in snd_ac97_ad1986_miclisel_put()
[all …]
/openbmc/phosphor-bmc-code-mgmt/
H A Dutils.hpp37 std::variant<T> value{}; in getProperty() local
41 return std::get<T>(value); in getProperty()
49 reply.read(value); in getProperty()
51 return std::get<T>(value); in getProperty()
66 const PropertyValue& value);
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dcb_refs.c14 __type(value, struct map_value);
18 static __noinline int cb1(void *map, void *key, void *value, void *ctx) in cb1() argument
40 static __always_inline int cb2(void *map, void *key, void *value, void *ctx) in cb2() argument
67 static __always_inline int cb(void *map, void *key, void *value, void *ctx) in cb() argument
72 static __always_inline int cb3(void *map, void *key, void *value, void *ctx) in cb3() argument
/openbmc/phosphor-hwmon/
H A Dmeson.options5 value: 'xyz.openbmc_project.Hwmon')
8 description: 'Set sensor value to -errno on read failures.',
14 value: '/xyz/openbmc_project/sensors')
25 value: false,
39 value: 'disabled',
/openbmc/u-boot/scripts/
H A Dget_maintainer.pl344 my $value = $2;
352 if ((-d $value)) {
645 my $value = $2;
648 $status = $value;
670 my $value = $2;
679 if ((-d $value)) {
688 $value =~ /^https?:/ &&
761 my $value = $2;
779 my $value = $2;
828 my $value = $2;
[all …]
/openbmc/linux/sound/soc/codecs/
H A Drt1011.c1042 ucontrol->value.integer.value[0] = rt1011->recv_spk_mode; in rt1011_recv_spk_mode_get()
1055 if (ucontrol->value.integer.value[0] == rt1011->recv_spk_mode) in rt1011_recv_spk_mode_put()
1059 rt1011->recv_spk_mode = ucontrol->value.integer.value[0]; in rt1011_recv_spk_mode_put()
1119 (struct rt1011_bq_drc_params *)ucontrol->value.integer.value; in rt1011_bq_drc_coeff_get()
1156 (struct rt1011_bq_drc_params *)ucontrol->value.integer.value; in rt1011_bq_drc_coeff_put()
1218 ucontrol->value.integer.value[0] = rt1011->cali_done; in rt1011_r0_cali_get()
1231 ucontrol->value.integer.value[0]) in rt1011_r0_cali_put()
1258 ucontrol->value.integer.value[0] = rt1011->r0_reg; in rt1011_r0_load_mode_get()
1271 if (ucontrol->value.integer.value[0] == rt1011->r0_reg) in rt1011_r0_load_mode_put()
1274 if (ucontrol->value.integer.value[0] == 0) in rt1011_r0_load_mode_put()
[all …]

1...<<61626364656667686970>>...543