Home
last modified time | relevance | path

Searched refs:value (Results 401 – 425 of 13561) sorted by relevance

1...<<11121314151617181920>>...543

/openbmc/linux/drivers/video/fbdev/via/
H A Dvia_clock.c127 u8 value; in set_primary_pll_state() local
131 value = 0x20; in set_primary_pll_state()
134 value = 0x00; in set_primary_pll_state()
145 u8 value; in set_secondary_pll_state() local
149 value = 0x08; in set_secondary_pll_state()
152 value = 0x00; in set_secondary_pll_state()
163 u8 value; in set_engine_pll_state() local
167 value = 0x02; in set_engine_pll_state()
170 value = 0x00; in set_engine_pll_state()
181 u8 value; in set_primary_clock_state() local
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_env.py53 self.env[var] = value
113 def set_var(state_test_env, var, value): argument
133 if ' ' in value:
138 state_test_env.env[var] = value
173 value = state_test_env.env[var]
174 validate_set(state_test_env, var, value)
204 value = 'foo'
205 set_var(state_test_env, var, value)
212 value = 'bar'
213 set_var(state_test_env, var, value)
[all …]
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/
H A Dpmbus_write_vout_command.md5 Writes the value of VOUT_COMMAND to set the output voltage of a PMBus regulator
14 The PMBus specification defines four modes/formats for the value of
22 Currently only the linear format is supported. The decimal value of the "volts"
27 The linear data format requires an exponent value.
29 If the device supports the PMBus VOUT_MODE command, the exponent value can be
32 If VOUT_MODE is not supported by the device, the exponent value must be
33 specified using the "exponent" property. The exponent value can normally be
39 VOUT_COMMAND, specify the "is_verified" property with a value of true.
42 ensure that it contains the expected value. If VOUT_COMMAND contains an
70 "Set output voltage. Get volts value from configuration.",
[all …]
/openbmc/phosphor-pid-control/dbus/
H A Ddbuspassive.cpp112 updateValue(settings.value, true); in DbusPassive()
128 _value = value; in setValue()
136 setValue(value, value); in setValue()
188 _failed = value; in setFailed()
193 _functional = value; in setFunctional()
198 _available = value; in setAvailable()
227 if (!(std::isfinite(value))) in updateValue()
238 value *= std::pow(10.0, _scale); in updateValue()
240 auto unscaled = value; in updateValue()
264 setValue(value, unscaled); in updateValue()
[all …]
/openbmc/linux/fs/fuse/
H A Dxattr.c35 args.in_args[0].value = &inarg; in fuse_setxattr()
37 args.in_args[1].value = name; in fuse_setxattr()
39 args.in_args[2].value = value; in fuse_setxattr()
69 args.in_args[0].value = &inarg; in fuse_getxattr()
71 args.in_args[1].value = name; in fuse_getxattr()
77 args.out_args[0].value = value; in fuse_getxattr()
80 args.out_args[0].value = &outarg; in fuse_getxattr()
133 args.in_args[0].value = &inarg; in fuse_listxattr()
139 args.out_args[0].value = list; in fuse_listxattr()
169 args.in_args[0].value = name; in fuse_removexattr()
[all …]
/openbmc/linux/Documentation/fb/
H A Dsa1100fb.rst16 video=sa1100fb:bpp:<value>,lccr0:<value>,lccr1:<value>,lccr2:<value>,lccr3:<value>
19 controller. The bits per pixel (bpp) value should be 4, 8, 12, or
34 bpp:<value> Configure for <value> bits per pixel
35 lccr0:<value> Configure LCD control register 0 (11.7.3)
36 lccr1:<value> Configure LCD control register 1 (11.7.4)
37 lccr2:<value> Configure LCD control register 2 (11.7.5)
38 lccr3:<value> Configure LCD control register 3 (11.7.6)
/openbmc/bios-bmc-smm-error-logger/
H A Dmeson.options1 option('tests', type: 'feature', value: 'enabled', description: 'Build tests')
4 option('read-interval-ms', type: 'integer', value: 10, description: 'Read loop interval in millisec…
7 option('memory-region-size', type: 'integer', value: 16384, description: 'Memory size allcated')
8 # Default value 4035215360 is 0xF0848000 below
9 option('memory-region-offset', type: 'integer', value: 4035215360, description: 'Where the memory r…
12 option('bmc-interface-version', type: 'integer', value: 0, description: 'BMC interface version to e…
13 option('queue-region-size', type: 'integer', value: 512, description: 'Normal error queue region si…
14 option('ue-region-size', type: 'integer', value: 80, description: 'Uncorrectable error region size')
16 option('magic-number-byte1', type: 'integer', value: 1, description: 'Magic Number array[0] for val…
17 option('magic-number-byte2', type: 'integer', value: 2, description: 'Magic Number array[1] for val…
[all …]
/openbmc/qemu/hw/timer/
H A Dstellaris-gptm.c171 s->config = value; in gptm_write()
174 s->mode[0] = value; in gptm_write()
177 s->mode[1] = value; in gptm_write()
181 s->control = value; in gptm_write()
184 if (value & 1) { in gptm_write()
191 if (value & 0x100) { in gptm_write()
199 s->mask = value & 0x77; in gptm_write()
203 s->state &= ~value; in gptm_write()
221 s->match[1] = value >> 16; in gptm_write()
224 s->prescale[0] = value; in gptm_write()
[all …]
H A Dsh_timer.c91 s->tcor = value; in sh_timer_write()
97 s->tcnt = value; in sh_timer_write()
113 switch (value & TIMER_TCR_TPSC) { in sh_timer_write()
170 value &= ~TIMER_TCR_UNF; in sh_timer_write()
179 if (value & TIMER_TCR_RESERVED) { in sh_timer_write()
183 s->tcr = value; in sh_timer_write()
194 s->tcpr = value; in sh_timer_write()
300 trace_sh_timer_write(offset, value); in tmu012_write()
327 if (value & (1 << 2)) { in tmu012_write()
332 s->tstr = value; in tmu012_write()
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Daz6027.c367 u16 value; in az6027_streaming_ctrl() local
415 u16 value; in az6027_ci_read_attribute_mem() local
488 u16 value; in az6027_ci_read_cam_control() local
564 u16 value; in CI_CamReady() local
574 value = 0; in CI_CamReady()
596 u16 value; in az6027_ci_slot_reset() local
603 value = 1; in az6027_ci_slot_reset()
615 value = 0; in az6027_ci_slot_reset()
652 u16 value; in az6027_ci_slot_ts_enable() local
659 value = 1; in az6027_ci_slot_ts_enable()
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dfru_identity_test.cpp41 EXPECT_EQ(fru.getPN().value(), "1234567"); in TEST()
42 EXPECT_EQ(fru.getCCIN().value(), "AAAA"); in TEST()
43 EXPECT_EQ(fru.getSN().value(), "123456789ABC"); in TEST()
102 EXPECT_EQ(fru.getPN().value(), expectedPN); in testHWCallout()
103 EXPECT_EQ(fru.getCCIN().value(), expectedCCIN); in testHWCallout()
104 EXPECT_EQ(fru.getSN().value(), expectedSN); in testHWCallout()
120 EXPECT_EQ(newFRU.getPN().value(), fru.getPN().value()); in testHWCallout()
121 EXPECT_EQ(newFRU.getCCIN().value(), fru.getCCIN().value()); in testHWCallout()
122 EXPECT_EQ(newFRU.getSN().value(), fru.getSN().value()); in testHWCallout()
222 EXPECT_EQ(fru.getPN().value(), "SVCDOCS"); in TEST()
[all …]
/openbmc/linux/sound/pci/oxygen/
H A Dxonar_lib.c79 unsigned int value; in xonar_set_cs53x1_params() local
82 value = GPIO_CS53x1_M_SINGLE; in xonar_set_cs53x1_params()
84 value = GPIO_CS53x1_M_DOUBLE; in xonar_set_cs53x1_params()
86 value = GPIO_CS53x1_M_QUAD; in xonar_set_cs53x1_params()
88 value, GPIO_CS53x1_M_MASK); in xonar_set_cs53x1_params()
92 struct snd_ctl_elem_value *value) in xonar_gpio_bit_switch_get() argument
98 value->value.integer.value[0] = in xonar_gpio_bit_switch_get()
104 struct snd_ctl_elem_value *value) in xonar_gpio_bit_switch_put() argument
114 if (!!value->value.integer.value[0] ^ invert) in xonar_gpio_bit_switch_put()
H A Dxonar_pcm179x.c750 value->value.enumerated.item[0] = in rolloff_get()
768 if (!value->value.enumerated.item[0]) in rolloff_put()
795 value->value.integer.value[0] = in deemph_get()
811 if (!value->value.integer.value[0]) in deemph_put()
859 value->value.enumerated.item[0] = 0; in st_output_switch_get()
861 value->value.enumerated.item[0] = 1; in st_output_switch_get()
863 value->value.enumerated.item[0] = 2; in st_output_switch_get()
914 value->value.enumerated.item[0] = 0; in st_hp_volume_offset_get()
916 value->value.enumerated.item[0] = 1; in st_hp_volume_offset_get()
918 value->value.enumerated.item[0] = 2; in st_hp_volume_offset_get()
[all …]
/openbmc/u-boot/drivers/spmi/
H A Dspmi-sandbox.c29 u8 value; member
71 regs[0x8].value &= ~0x1; in sandbox_spmi_write()
72 regs[0x8].value |= val & 0x1; in sandbox_spmi_write()
92 if (regs[0x46].value == 0) /* Block disabled */ in sandbox_spmi_read()
99 return regs[off].value; in sandbox_spmi_read()
102 return regs[off].value; in sandbox_spmi_read()
121 regs[4].value = 0x10; in sandbox_spmi_probe()
123 regs[5].value = 0x5; in sandbox_spmi_probe()
132 regs[0x42].value = 0x4; in sandbox_spmi_probe()
135 regs[0x45].value = 0x1; in sandbox_spmi_probe()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-ntxec.c39 unsigned int value; in ntxec_read_time() local
43 res = regmap_read(rtc->ec->regmap, NTXEC_REG_READ_MINUTE_SECOND, &value); in ntxec_read_time()
47 tm->tm_min = value >> 8; in ntxec_read_time()
48 tm->tm_sec = value & 0xff; in ntxec_read_time()
50 res = regmap_read(rtc->ec->regmap, NTXEC_REG_READ_MDAY_HOUR, &value); in ntxec_read_time()
54 tm->tm_mday = value >> 8; in ntxec_read_time()
55 tm->tm_hour = value & 0xff; in ntxec_read_time()
57 res = regmap_read(rtc->ec->regmap, NTXEC_REG_READ_YEAR_MONTH, &value); in ntxec_read_time()
61 tm->tm_year = (value >> 8) + 100; in ntxec_read_time()
62 tm->tm_mon = (value & 0xff) - 1; in ntxec_read_time()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_mon.c239 value = value << HE_DCM_SHIFT; in ath12k_dp_mon_parse_he_sig_b2_ofdma()
244 value = value << HE_CODING_SHIFT; in ath12k_dp_mon_parse_he_sig_b2_ofdma()
249 value = value << HE_STA_ID_SHIFT; in ath12k_dp_mon_parse_he_sig_b2_ofdma()
333 value = value << HE_DL_UL_SHIFT; in ath12k_dp_mon_parse_he_sig_mu()
341 value = value << HE_STBC_SHIFT; in ath12k_dp_mon_parse_he_sig_mu()
399 value = value << HE_TXOP_SHIFT; in ath12k_dp_mon_parse_he_sig_mu()
426 value = value - 1; in ath12k_dp_mon_parse_he_sig_mu()
493 value = value << HE_DCM_SHIFT; in ath12k_dp_mon_parse_he_sig_su()
503 value = value << HE_STBC_SHIFT; in ath12k_dp_mon_parse_he_sig_su()
555 value = value << HE_TXBF_SHIFT; in ath12k_dp_mon_parse_he_sig_su()
[all …]
/openbmc/qemu/qapi/
H A Dqobject-output-visitor.c28 QObject *value; member
41 #define qobject_output_add(qov, name, value) \ argument
43 #define qobject_output_push(qov, value, qapi) \ argument
58 assert(value); in qobject_output_push_obj()
59 e->value = value; in qobject_output_push_obj()
68 QObject *value; in qobject_output_pop() local
73 value = e->value; in qobject_output_pop()
74 assert(value); in qobject_output_pop()
76 return value; in qobject_output_pop()
86 QObject *cur = e ? e->value : NULL; in qobject_output_add_obj()
[all …]
/openbmc/dbus-sensors/src/
H A DChassisIntrusionSensor.cpp135 if (value < 0) in readSensor()
142 value &= statusMask; in readSensor()
148 return value; in readSensor()
174 if (value < 0) in pollSensorStatus()
181 self->updateValue(value); in pollSensorStatus()
197 return value; in readSensor()
218 if (value >= 0) in pollSensorStatus()
230 int value = 0; in readSensor() local
248 value = std::stoi(line); in readSensor()
264 return value; in readSensor()
[all …]
/openbmc/linux/drivers/media/pci/cx25821/
H A Dcx25821-gpio.c19 u32 value = 0; in cx25821_set_gpiopin_direction() local
34 value = gpio_register | Set_GPIO_Bit(bit); in cx25821_set_gpiopin_direction()
36 value = gpio_register & Clear_GPIO_Bit(bit); in cx25821_set_gpiopin_direction()
38 cx_write(gpio_oe_reg, value); in cx25821_set_gpiopin_direction()
47 u32 value = 0; in cx25821_set_gpiopin_logicvalue() local
61 value = cx_read(gpio_reg); in cx25821_set_gpiopin_logicvalue()
64 value &= Clear_GPIO_Bit(bit); in cx25821_set_gpiopin_logicvalue()
66 value |= Set_GPIO_Bit(bit); in cx25821_set_gpiopin_logicvalue()
68 cx_write(gpio_reg, value); in cx25821_set_gpiopin_logicvalue()
/openbmc/linux/tools/perf/util/
H A Dvalues.c17 values->value = zalloc(values->threads_max * sizeof(*values->value)); in perf_read_values_init()
43 zfree(&values->value); in perf_read_values_init()
56 zfree(&values->value); in perf_read_values_destroy()
70 *nvalue = realloc(values->value, nthreads_max * sizeof(*values->value)); in perf_read_values__enlarge_threads()
78 values->value = nvalue; in perf_read_values__enlarge_threads()
105 values->value[i] = zalloc(values->counters_max * sizeof(**values->value)); in perf_read_values__findnew_thread()
135 u64 *value = realloc(values->value[i], counters_max * sizeof(**values->value)); in perf_read_values__enlarge_counters() local
138 if (!value) { in perf_read_values__enlarge_counters()
144 value[j] = 0; in perf_read_values__enlarge_counters()
146 values->value[i] = value; in perf_read_values__enlarge_counters()
[all …]
/openbmc/linux/tools/lib/api/fs/
H A Dfs.c301 *value = atoi(line); in filename__read_int()
310 unsigned long long *value, int base) in filename__read_ull_base() argument
319 *value = strtoull(line, NULL, base); in filename__read_ull_base()
320 if (*value != ULLONG_MAX) in filename__read_ull_base()
405 sprintf(buf, "%d", value); in filename__write_int()
427 unsigned long long *value, int base) in sysfs__read_ull_base() argument
460 return filename__read_int(path, value); in sysfs__read_int()
490 *value = true; in sysfs__read_bool()
495 *value = false; in sysfs__read_bool()
515 return filename__read_int(path, value); in sysctl__read_int()
[all …]
/openbmc/pldm/
H A Dmeson.options5 value: 'enabled',
12 value: 'enabled',
48 value: 5,
56 value: 120,
67 value: 10,
78 value:1,
88 value:1,
99 value: 2,
109 value: 5,
199 value: 999
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Dearly_cmos.c26 u16 value = 0; in cmos_read16() local
30 for (i = 0; i < sizeof(value); i++) { in cmos_read16()
32 value |= data << (i << 3); in cmos_read16()
35 return value; in cmos_read16()
40 u32 value = 0; in cmos_read32() local
44 for (i = 0; i < sizeof(value); i++) { in cmos_read32()
46 value |= data << (i << 3); in cmos_read32()
49 return value; in cmos_read32()
/openbmc/u-boot/cmd/
H A Dgpio.c122 int value; in do_gpio() local
206 value = gpio_get_value(gpio); in do_gpio()
210 value = 1; in do_gpio()
213 value = 0; in do_gpio()
216 value = gpio_get_value(gpio); in do_gpio()
217 if (!IS_ERR_VALUE(value)) in do_gpio()
218 value = !value; in do_gpio()
226 if (IS_ERR_VALUE(value)) in do_gpio()
229 printf("%d\n", value); in do_gpio()
235 else if (nval != value) in do_gpio()
[all …]
/openbmc/linux/drivers/pinctrl/intel/
H A Dpinctrl-lynxpoint.c246 u32 value; in lp_gpio_ioxapic_use() local
266 u32 value, mode; in lp_pin_dbg_show() local
302 u32 value; in lp_pinmux_set_mux() local
338 u32 value; in lp_gpio_request_enable() local
387 u32 value; in lp_gpio_set_direction() local
429 u32 value, pull; in lp_pin_config_get() local
473 u32 value; in lp_pin_config_set() local
538 if (value) in lp_gpio_set()
651 u32 value; in lp_irq_set_type() local
672 value = (value | INT_INV_BIT) & ~TRIG_SEL_BIT; in lp_irq_set_type()
[all …]

1...<<11121314151617181920>>...543