Home
last modified time | relevance | path

Searched refs:value (Results 426 – 450 of 12957) sorted by relevance

1...<<11121314151617181920>>...519

/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()
77 regs[off].value = val & regs[off].access_mask; in sandbox_spmi_write()
92 if (regs[0x46].value == 0) /* Block disabled */ in sandbox_spmi_read()
97 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()
[all …]
/openbmc/openpower-vpd-parser/
H A Dmeson_options.txt1 option('BUSNAME', type : 'string', value : 'com.ibm.VPD.Manager',description : 'BUS NAME FOR THE SE…
2 option('OBJPATH', type : 'string', value : '/com/ibm/VPD/Manager', description : 'OBJECT PATH FOR T…
3 option('IFACE', type : 'string', value : 'com.ibm.VPD.Manager', description : 'INTERFACE NAME')
4 option('tests', type: 'feature', value : 'enabled', description: 'Build tests')
5 option('ipz_ecc_check', type: 'feature', value : 'disabled', description: 'enable when ECC check us…
6 option('BAD_VPD_DIR', type: 'string', value: '/tmp/bad-vpd/', description: 'Directory which contain…
7 option('INVENTORY_JSON_DEFAULT', type: 'string', value: '/usr/share/vpd/vpd_inventory.json', descr…
8 option('INVENTORY_JSON_SYM_LINK', type: 'string', value: '/var/lib/vpd/vpd_inventory.json', descri…
9 option('JSON_ABSOLUTE_PATH_PREFIX', type: 'string', value: '/usr/share/vpd/', description: 'Path t…
10 option('SYSTEM_VPD_FILE_PATH', type: 'string', value: '/sys/bus/i2c/drivers/at24/8-0050/eeprom', d…
[all …]
/openbmc/qemu/hw/i2c/
H A Daspeed_i2c.c97 uint64_t value = bus->regs[offset / sizeof(*bus->regs)]; in aspeed_i2c_bus_old_read() local
111 value = SHARED_FIELD_DP32(value, BUS_BUSY_STS, i2c_bus_busy(bus->bus)); in aspeed_i2c_bus_old_read()
116 value = -1; in aspeed_i2c_bus_old_read()
120 value = extract64(bus->dma_dram_offset, 0, 32); in aspeed_i2c_bus_old_read()
125 value = -1; in aspeed_i2c_bus_old_read()
132 value = -1; in aspeed_i2c_bus_old_read()
136 trace_aspeed_i2c_bus_read(bus->id, offset, size, value); in aspeed_i2c_bus_old_read()
137 return value; in aspeed_i2c_bus_old_read()
144 uint64_t value = bus->regs[offset / sizeof(*bus->regs)]; in aspeed_i2c_bus_new_read() local
167 value = extract64(bus->dma_dram_offset, 0, 32); in aspeed_i2c_bus_new_read()
[all …]
H A Dimx_i2c.c106 uint16_t value; in imx_i2c_read() local
111 value = s->iadr; in imx_i2c_read()
114 value = s->ifdr; in imx_i2c_read()
117 value = s->i2cr; in imx_i2c_read()
120 value = s->i2sr; in imx_i2c_read()
123 value = s->i2dr_read; in imx_i2c_read()
151 value = 0; in imx_i2c_read()
156 imx_i2c_get_regname(offset), offset, value); in imx_i2c_read()
158 return (uint64_t)value; in imx_i2c_read()
162 uint64_t value, unsigned size) in imx_i2c_write() argument
[all …]
/openbmc/linux/drivers/hwmon/
H A Dmax197.c123 long value; in max197_store_range() local
127 if (kstrtol(buf, 10, &value)) in max197_store_range()
131 if (value <= -full) in max197_store_range()
132 value = -full; in max197_store_range()
133 else if (value < 0) in max197_store_range()
134 value = -half; in max197_store_range()
136 value = 0; in max197_store_range()
138 if (value >= full) in max197_store_range()
139 value = full; in max197_store_range()
141 value = half; in max197_store_range()
[all …]
/openbmc/telemetry/src/utils/
H A Dlabeled_tuple.hpp99 static constexpr bool value = member
100 decltype(check<std::decay_t<T>>(nullptr))::value;
104 constexpr bool has_utils_from_json_v = has_utils_from_json<T>::value;
119 static constexpr bool value = member
120 decltype(check<std::decay_t<T>>(nullptr))::value;
124 constexpr bool has_utils_to_json_v = has_utils_to_json<T>::value;
154 explicit LabeledTuple(tuple_type v) : value(std::move(v)) {} in LabeledTuple()
155 LabeledTuple(Args... args) : value(std::move(args)...) {} in LabeledTuple()
169 return value; in to_tuple()
185 return std::get<Idx>(value); in at_index()
[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')
7 value: 10,
15 value: 16384,
18 # Default value 4035215360 is 0xF0848000 below
22 value: 4035215360,
30 value: 0,
36 value: 512,
42 value: 80,
49 value: 1,
55 value: 2,
[all …]
/openbmc/linux/drivers/pwm/
H A Dpwm-stmpe.c42 u8 value; in stmpe_24xx_pwm_enable() local
52 value = ret | BIT(pwm->hwpwm); in stmpe_24xx_pwm_enable()
54 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_enable()
68 u8 value; in stmpe_24xx_pwm_disable() local
78 value = ret & ~BIT(pwm->hwpwm); in stmpe_24xx_pwm_disable()
80 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_disable()
173 u8 value, last = stmpe_pwm->last_duty; in stmpe_24xx_pwm_config() local
189 value = duty; in stmpe_24xx_pwm_config()
191 if (value == last) { in stmpe_24xx_pwm_config()
199 program[0] = LOAD | value; in stmpe_24xx_pwm_config()
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ioctl.c45 param->value = vmw_overlay_num_overlays(dev_priv); in vmw_getparam_ioctl()
48 param->value = vmw_overlay_num_free_overlays(dev_priv); in vmw_getparam_ioctl()
51 param->value = vmw_supports_3d(dev_priv) ? 1 : 0; in vmw_getparam_ioctl()
54 param->value = dev_priv->capabilities; in vmw_getparam_ioctl()
57 param->value = dev_priv->capabilities2; in vmw_getparam_ioctl()
60 param->value = vmw_fifo_caps(dev_priv); in vmw_getparam_ioctl()
63 param->value = dev_priv->max_primary_mem; in vmw_getparam_ioctl()
68 param->value = SVGA3D_HWVERSION_WS8_B1; in vmw_getparam_ioctl()
70 param->value = vmw_fifo_mem_read( in vmw_getparam_ioctl()
81 param->value = dev_priv->max_mob_pages * PAGE_SIZE / 2; in vmw_getparam_ioctl()
[all …]
/openbmc/phosphor-pid-control/dbus/
H A Ddbuspassive.cpp116 updateValue(settings.value, true); in DbusPassive()
128 void DbusPassive::setValue(double value, double unscaled) in setValue() argument
132 _value = value; in setValue()
137 void DbusPassive::setValue(double value) in setValue() argument
140 setValue(value, value); in setValue()
219 void DbusPassive::setFailed(bool value) in setFailed() argument
221 _failed = value; in setFailed()
224 void DbusPassive::setFunctional(bool value) in setFunctional() argument
226 _functional = value; in setFunctional()
229 void DbusPassive::setAvailable(bool value) in setAvailable() argument
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_timing_generator.c90 uint32_t value = dm_read_reg_soc15( in dce120_timing_generator_is_in_vertical_blank() local
95 field = get_reg_field_value(value, CRTC0_CRTC_STATUS, CRTC_V_BLANK); in dce120_timing_generator_is_in_vertical_blank()
173 uint32_t value = dm_read_reg_soc15( in dce120_timing_generator_get_vblank_counter() local
178 value, CRTC0_CRTC_STATUS_FRAME_COUNT, CRTC_FRAME_COUNT); in dce120_timing_generator_get_vblank_counter()
189 uint32_t value = dm_read_reg_soc15( in dce120_timing_generator_get_crtc_position() local
194 position->horizontal_count = get_reg_field_value(value, in dce120_timing_generator_get_crtc_position()
197 position->vertical_count = get_reg_field_value(value, in dce120_timing_generator_get_crtc_position()
200 value = dm_read_reg_soc15( in dce120_timing_generator_get_crtc_position()
205 position->nominal_vcount = get_reg_field_value(value, in dce120_timing_generator_get_crtc_position()
374 uint32_t value = dm_read_reg_soc15( in dce120_timing_generator_did_triggered_reset_occur() local
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_debugfs_params.c27 int *value = m->private; in i915_param_int_show() local
29 seq_printf(m, "%d\n", *value); in i915_param_int_show()
54 int *value = m->private; in i915_param_int_write() local
57 ret = kstrtoint_from_user(ubuf, len, 0, value); in i915_param_int_write()
64 *value = b; in i915_param_int_write()
90 unsigned int *value = m->private; in i915_param_uint_show() local
92 seq_printf(m, "%u\n", *value); in i915_param_uint_show()
108 unsigned int *value = m->private; in i915_param_uint_write() local
109 unsigned int old = *value; in i915_param_uint_write()
112 ret = kstrtouint_from_user(ubuf, len, 0, value); in i915_param_uint_write()
[all …]
/openbmc/openpower-occ-control/
H A Docc_dbus.cpp21 bool OccDBusSensors::setMaxValue(const std::string& path, double value) in setMaxValue() argument
34 sensors.at(path)->maxValue(value); in setMaxValue()
48 bool OccDBusSensors::setMinValue(const std::string& path, double value) in setMinValue() argument
61 sensors.at(path)->minValue(value); in setMinValue()
75 bool OccDBusSensors::setValue(const std::string& path, double value) in setValue() argument
88 sensors.at(path)->value(value); in setValue()
96 return sensors.at(path)->value(); in getValue()
102 bool OccDBusSensors::setUnit(const std::string& path, const std::string& value) in setUnit() argument
117 sensors.at(path)->unit(SensorIntf::convertUnitFromString(value)); in setUnit()
145 bool OccDBusSensors::setOperationalStatus(const std::string& path, bool value) in setOperationalStatus() argument
[all …]
/openbmc/linux/sound/pci/ice1712/
H A Dwtm.c134 ucontrol->value.integer.value[0] = (~val >> 7) & 0x1; in stac9460_dac_mute_get()
151 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
165 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
186 uinfo->value.integer.min = 0; /* mute */ in stac9460_dac_vol_info()
187 uinfo->value.integer.max = 0x7f; /* 0dB */ in stac9460_dac_vol_info()
209 ucontrol->value.integer.value[0] = 0x7f - vol; in stac9460_dac_vol_get()
223 nvol = ucontrol->value.integer.value[0] & 0x7f; in stac9460_dac_vol_put()
234 nvol = ucontrol->value.integer.value[0] & 0x7f; in stac9460_dac_vol_put()
269 ucontrol->value.integer.value[i] = ~val>>7 & 0x1; in stac9460_adc_mute_get()
274 ucontrol->value.integer.value[i] = ~val>>7 & 0x1; in stac9460_adc_mute_get()
[all …]
H A Dpontis.c104 uinfo->value.integer.min = 0; /* mute */ in wm_dac_vol_info()
105 uinfo->value.integer.max = DAC_RES; /* 0dB, 0.5dB step */ in wm_dac_vol_info()
119 ucontrol->value.integer.value[i] = val; in wm_dac_vol_get()
133 nval = ucontrol->value.integer.value[i]; in wm_dac_vol_put()
159 uinfo->value.integer.min = 0; /* mute (-64dB) */ in wm_adc_vol_info()
160 uinfo->value.integer.max = ADC_RES; /* 0dB, 0.5dB step */ in wm_adc_vol_info()
174 ucontrol->value.integer.value[i] = val; in wm_adc_vol_get()
188 nvol = ucontrol->value.integer.value[i]; in wm_adc_vol_put()
212 ucontrol->value.integer.value[0] = (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get()
226 if (ucontrol->value.integer.value[0]) in wm_adc_mux_put()
[all …]
/openbmc/linux/drivers/pinctrl/intel/
H A Dpinctrl-baytrail.c599 u32 value; in byt_set_group_simple_mux() local
608 value = readl(padcfg0); in byt_set_group_simple_mux()
609 value &= ~BYT_PIN_MUX; in byt_set_group_simple_mux()
610 value |= func; in byt_set_group_simple_mux()
611 writel(value, padcfg0); in byt_set_group_simple_mux()
628 u32 value; in byt_set_group_mixed_mux() local
637 value = readl(padcfg0); in byt_set_group_mixed_mux()
638 value &= ~BYT_PIN_MUX; in byt_set_group_mixed_mux()
639 value |= func[i]; in byt_set_group_mixed_mux()
640 writel(value, padcfg0); in byt_set_group_mixed_mux()
[all …]
/openbmc/linux/arch/riscv/kernel/
H A Dsys_riscv.c122 pair->value = id; in hwprobe_arch_id()
131 pair->value = 0; in hwprobe_isa_ext0()
133 pair->value |= RISCV_HWPROBE_IMA_FD; in hwprobe_isa_ext0()
136 pair->value |= RISCV_HWPROBE_IMA_C; in hwprobe_isa_ext0()
139 pair->value |= RISCV_HWPROBE_IMA_V; in hwprobe_isa_ext0()
149 pair->value |= RISCV_HWPROBE_EXT_ZBA; in hwprobe_isa_ext0()
154 pair->value |= RISCV_HWPROBE_EXT_ZBB; in hwprobe_isa_ext0()
159 pair->value |= RISCV_HWPROBE_EXT_ZBS; in hwprobe_isa_ext0()
165 pair->value &= ~missing; in hwprobe_isa_ext0()
207 pair->value = RISCV_HWPROBE_BASE_BEHAVIOR_IMA; in hwprobe_one_pair()
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_em.c37 int value) in serial8250_em_serial_out_helper() argument
41 writeb(value, p->membase); in serial8250_em_serial_out_helper()
46 writel(value, p->membase + ((offset + 1) << 2)); in serial8250_em_serial_out_helper()
49 writel(value, p->membase + (UART_FCR_EM_HW << 2)); in serial8250_em_serial_out_helper()
52 value &= 0x0f; /* only 4 valid bits - not Xscale */ in serial8250_em_serial_out_helper()
57 writel(value, p->membase + (offset << 2)); in serial8250_em_serial_out_helper()
85 static void serial8250_em_reg_update(struct uart_port *p, int off, int value) in serial8250_em_reg_update() argument
105 fcr = value; in serial8250_em_reg_update()
108 lcr = value; in serial8250_em_reg_update()
111 mcr = value; in serial8250_em_reg_update()
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Drail.cpp55 uint16_t value{0}; in getStatusWord() local
59 value = device.getStatusWord(*page); in getStatusWord()
67 return value; in getStatusWord()
72 uint8_t value{0}; in getStatusVout() local
76 value = device.getStatusVout(*page); in getStatusVout()
84 return value; in getStatusVout()
89 double value{0.0}; in getReadVout() local
93 value = device.getReadVout(*page); in getReadVout()
100 return value; in getReadVout()
105 double value{0.0}; in getVoutUVFaultLimit() local
[all …]
/openbmc/phosphor-host-ipmid/
H A Dmeson.options19 value: 'xyz.openbmc_project.Ipmi.Internal.SoftPowerOff',
25 value: '/xyz/openbmc_project/ipmi/internal/soft_power_off',
31 value: 3,
37 value: 2700,
46 value: '/run/openbmc/',
52 value: 'host@%u-request',
61 value: '/xyz/openbmc_project/inventory/system/chassis/motherboard',
67 value: '/xyz/openbmc_project/inventory/system',
75 value: 'xyz.openbmc_project.Control.Host',
81 value: '/xyz/openbmc_project/control',
[all …]
/openbmc/phosphor-fan-presence/docs/control/
H A Devents.md10 Some actions have modifiers, which help calculate a value.
61 property on each D-Bus object in the group, update the new value in the object
62 cache, and call the `count_state_before_target` action when the value changes.
64 The `count_state_before_target` action will look at the object cache value of
138 member. When the signal occurs, the new property value will be added to or
200 The parameter value to watch.
240 value explicitly, or by requesting an increase or decrease delta. Targets and
244 Some actions set or read a key/value pair called a parameter. These can be
268 Calculates the net target increase to be requested based on the value of each
270 difference between the `delta` JSON value and all of the properties of the
[all …]
/openbmc/qemu/hw/ssi/
H A Dnpcm_pspi.c67 uint16_t value = s->regs[R_PSPI_DATA]; in npcm_pspi_read_data() local
72 return value; in npcm_pspi_read_data()
77 uint16_t value = 0; in npcm_pspi_write_data() local
80 value = ssi_transfer(s->spi, extract16(data, 8, 8)) << 8; in npcm_pspi_write_data()
82 value |= ssi_transfer(s->spi, extract16(data, 0, 8)); in npcm_pspi_write_data()
83 s->regs[R_PSPI_DATA] = value; in npcm_pspi_write_data()
94 uint16_t value; in npcm_pspi_ctrl_read() local
98 value = npcm_pspi_read_data(s); in npcm_pspi_ctrl_read()
102 value = s->regs[R_PSPI_CTL1]; in npcm_pspi_ctrl_read()
106 value = s->regs[R_PSPI_STAT]; in npcm_pspi_ctrl_read()
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac100_core.c26 u32 value = readl(ioaddr + MAC_CONTROL); in dwmac100_core_init() local
28 value |= MAC_CORE_INIT; in dwmac100_core_init()
30 writel(value, ioaddr + MAC_CONTROL); in dwmac100_core_init()
82 u32 value = readl(ioaddr + MAC_CONTROL); in dwmac100_set_filter() local
85 value |= MAC_CONTROL_PR; in dwmac100_set_filter()
86 value &= ~(MAC_CONTROL_PM | MAC_CONTROL_IF | MAC_CONTROL_HO | in dwmac100_set_filter()
90 value |= MAC_CONTROL_PM; in dwmac100_set_filter()
91 value &= ~(MAC_CONTROL_PR | MAC_CONTROL_IF | MAC_CONTROL_HO); in dwmac100_set_filter()
95 value &= ~(MAC_CONTROL_PM | MAC_CONTROL_PR | MAC_CONTROL_IF | in dwmac100_set_filter()
104 value |= MAC_CONTROL_HP; in dwmac100_set_filter()
[all …]
/openbmc/linux/tools/perf/util/
H A Dcolor_config.c12 int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty) in perf_config_colorbool() argument
14 if (value) { in perf_config_colorbool()
15 if (!strcasecmp(value, "never")) in perf_config_colorbool()
17 if (!strcasecmp(value, "always")) in perf_config_colorbool()
19 if (!strcasecmp(value, "auto")) in perf_config_colorbool()
24 if (!perf_config_bool(var, value)) in perf_config_colorbool()
39 int perf_color_default_config(const char *var, const char *value, in perf_color_default_config() argument
43 perf_use_color_default = perf_config_colorbool(var, value, -1); in perf_color_default_config()

1...<<11121314151617181920>>...519