Home
last modified time | relevance | path

Searched refs:value (Results 1676 – 1700 of 13561) sorted by relevance

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

/openbmc/phosphor-fan-presence/control/json/actions/
H A Dtarget_from_group_max.cpp51 static_cast<uint64_t>(std::get<double>(maxGroup.value())); in run()
171 PropertyVariantType value; in processGroups() local
175 value = Manager::getObjValueVariant( in processGroups()
201 value); in processGroups()
207 if (max && (value > max)) in processGroups()
209 max = value; in processGroups()
213 max = value; in processGroups()
/openbmc/linux/drivers/acpi/acpica/
H A Ddbutils.c120 ACPI_FORMAT_UINT64(obj_desc->integer.value)); in acpi_db_dump_external_object()
293 void acpi_db_uint32_to_hex_string(u32 value, char *buffer) in acpi_db_uint32_to_hex_string() argument
297 if (value == 0) { in acpi_db_uint32_to_hex_string()
305 buffer[i] = acpi_gbl_upper_hex_digits[value & 0x0F]; in acpi_db_uint32_to_hex_string()
306 value = value >> 4; in acpi_db_uint32_to_hex_string()
369 (method->common.value.arg)->common.aml_offset + 1; in acpi_db_second_pass_parse()
370 start_op = (method->common.value.arg)->common.next; in acpi_db_second_pass_parse()
/openbmc/qemu/crypto/
H A Dtlscreds.c143 bool value, in qcrypto_tls_creds_prop_set_verify() argument
148 creds->verifyPeer = value; in qcrypto_tls_creds_prop_set_verify()
164 const char *value, in qcrypto_tls_creds_prop_set_dir() argument
169 creds->dir = g_strdup(value); in qcrypto_tls_creds_prop_set_dir()
185 const char *value, in qcrypto_tls_creds_prop_set_priority() argument
190 creds->priority = g_strdup(value); in qcrypto_tls_creds_prop_set_priority()
206 int value, in qcrypto_tls_creds_prop_set_endpoint() argument
211 creds->endpoint = value; in qcrypto_tls_creds_prop_set_endpoint()
/openbmc/linux/drivers/gpu/drm/fsl-dcu/
H A Dfsl_dcu_drm_crtc.c139 unsigned int value; in fsl_dcu_drm_crtc_enable_vblank() local
141 regmap_read(fsl_dev->regmap, DCU_INT_MASK, &value); in fsl_dcu_drm_crtc_enable_vblank()
142 value &= ~DCU_INT_MASK_VBLANK; in fsl_dcu_drm_crtc_enable_vblank()
143 regmap_write(fsl_dev->regmap, DCU_INT_MASK, value); in fsl_dcu_drm_crtc_enable_vblank()
152 unsigned int value; in fsl_dcu_drm_crtc_disable_vblank() local
154 regmap_read(fsl_dev->regmap, DCU_INT_MASK, &value); in fsl_dcu_drm_crtc_disable_vblank()
155 value |= DCU_INT_MASK_VBLANK; in fsl_dcu_drm_crtc_disable_vblank()
156 regmap_write(fsl_dev->regmap, DCU_INT_MASK, value); in fsl_dcu_drm_crtc_disable_vblank()
/openbmc/openbmc-test-automation/lib/
H A Dtally_sheet.py156 def update_row_field(self, row_key, field_key, value): argument
168 self.__table[row_key][field_key] = value
206 for row_key, value in self.__table.items():
228 for field_key, sub_value in value.items():
276 for row_key, value in first_rec[1].items():
278 if isinstance(value, int):
297 for row_key, value in self.__table.items():
298 buffer += format_string.format(row_key, *value.values()) + "\n"
H A Dutilities.py46 def get_sensor(module_name, value): argument
53 if m.ID_LOOKUP["SENSOR"][i] == value:
59 def get_inventory_sensor(module_name, value): argument
65 value = string.replace(value, m.INVENTORY_ROOT, "<inventory_root>")
68 if m.ID_LOOKUP["SENSOR"][i] == value:
265 row = [value for key, value in report.items() if host[0:28] in key][0]
/openbmc/linux/drivers/media/rc/
H A Dir-rcmm-decoder.c64 int value; in ir_rcmm_decode() local
115 value = 0; in ir_rcmm_decode()
117 value = 1; in ir_rcmm_decode()
119 value = 2; in ir_rcmm_decode()
121 value = 3; in ir_rcmm_decode()
123 value = -1; in ir_rcmm_decode()
125 if (value == -1) { in ir_rcmm_decode()
132 data->bits |= value; in ir_rcmm_decode()
/openbmc/linux/tools/testing/selftests/rseq/
H A Drseq-arm64.h140 #define RSEQ_ASM_OP_STORE(value, var) \ argument
141 " str %[" __rseq_str(value) "], %[" __rseq_str(var) "]\n"
143 #define RSEQ_ASM_OP_STORE_RELEASE(value, var) \ argument
144 " stlr %[" __rseq_str(value) "], %[" __rseq_str(var) "]\n"
146 #define RSEQ_ASM_OP_FINAL_STORE(value, var, post_commit_label) \ argument
147 RSEQ_ASM_OP_STORE(value, var) \
150 #define RSEQ_ASM_OP_FINAL_STORE_RELEASE(value, var, post_commit_label) \ argument
151 RSEQ_ASM_OP_STORE_RELEASE(value, var) \
/openbmc/linux/drivers/rtc/
H A Drtc-ds1390.c91 u8 value; in ds1390_trickle_of_init() local
98 value = DS1390_TRICKLE_CHARGER_ENABLE; in ds1390_trickle_of_init()
100 value |= DS1390_TRICKLE_CHARGER_NO_DIODE; in ds1390_trickle_of_init()
102 value |= DS1390_TRICKLE_CHARGER_DIODE; in ds1390_trickle_of_init()
107 value |= DS1390_TRICKLE_CHARGER_250_OHM; in ds1390_trickle_of_init()
110 value |= DS1390_TRICKLE_CHARGER_2K_OHM; in ds1390_trickle_of_init()
113 value |= DS1390_TRICKLE_CHARGER_4K_OHM; in ds1390_trickle_of_init()
121 ds1390_set_reg(&spi->dev, DS1390_REG_TRICKLE, value); in ds1390_trickle_of_init()
/openbmc/linux/drivers/gpio/
H A Dgpio-arizona.c96 unsigned offset, int value) in arizona_gpio_direction_out() argument
117 if (value) in arizona_gpio_direction_out()
118 value = ARIZONA_GPN_LVL; in arizona_gpio_direction_out()
121 ARIZONA_GPN_DIR | ARIZONA_GPN_LVL, value); in arizona_gpio_direction_out()
124 static void arizona_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in arizona_gpio_set() argument
129 if (value) in arizona_gpio_set()
130 value = ARIZONA_GPN_LVL; in arizona_gpio_set()
133 ARIZONA_GPN_LVL, value); in arizona_gpio_set()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_reg_defs.h194 #define __MASKED_FIELD(mask, value) ((mask) << 16 | (value)) argument
195 #define _MASKED_FIELD(mask, value) ({ \ argument
198 if (__builtin_constant_p(value)) \
199 BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \
200 if (__builtin_constant_p(mask) && __builtin_constant_p(value)) \
201 BUILD_BUG_ON_MSG((value) & ~(mask), \
203 __MASKED_FIELD(mask, value); })
/openbmc/qemu/hw/intc/
H A Dallwinner-a10-pic.c91 static void aw_a10_pic_write(void *opaque, hwaddr offset, uint64_t value, in aw_a10_pic_write() argument
99 s->base_addr = value & ~0x3; in aw_a10_pic_write()
102 s->protect = value; in aw_a10_pic_write()
105 s->nmi = value; in aw_a10_pic_write()
115 s->fiq_pending[index] &= ~value; in aw_a10_pic_write()
118 s->select[index] = value; in aw_a10_pic_write()
121 s->enable[index] = value; in aw_a10_pic_write()
124 s->mask[index] = value; in aw_a10_pic_write()
/openbmc/linux/arch/sh/boards/
H A Dboard-sh7785lcr.c357 int value = 0; in sh7785lcr_mode_pins() local
363 value |= MODE_PIN4; /* Clock Mode 16 */ in sh7785lcr_mode_pins()
364 value |= MODE_PIN5; /* 32-bit Area0 bus width */ in sh7785lcr_mode_pins()
365 value |= MODE_PIN6; /* 32-bit Area0 bus width */ in sh7785lcr_mode_pins()
366 value |= MODE_PIN7; /* Area 0 SRAM interface [fixed] */ in sh7785lcr_mode_pins()
367 value |= MODE_PIN8; /* Little Endian */ in sh7785lcr_mode_pins()
368 value |= MODE_PIN9; /* Master Mode */ in sh7785lcr_mode_pins()
369 value |= MODE_PIN14; /* No PLL step-up */ in sh7785lcr_mode_pins()
371 return value; in sh7785lcr_mode_pins()
/openbmc/linux/drivers/input/
H A Dsparse-keymap.c235 unsigned int value, bool autorelease) in sparse_keymap_report_entry() argument
240 input_report_key(dev, ke->keycode, value); in sparse_keymap_report_entry()
242 if (value && autorelease) { in sparse_keymap_report_entry()
249 value = ke->sw.value; in sparse_keymap_report_entry()
253 input_report_switch(dev, ke->sw.code, value); in sparse_keymap_report_entry()
274 unsigned int value, bool autorelease) in sparse_keymap_report_event() argument
281 sparse_keymap_report_entry(dev, ke, value, autorelease); in sparse_keymap_report_event()
289 sparse_keymap_report_entry(dev, &unknown_ke, value, true); in sparse_keymap_report_event()
/openbmc/linux/arch/arm64/kvm/
H A Dtrace_handle_exit.h86 TP_PROTO(const char *name, __u64 value),
87 TP_ARGS(name, value),
91 __field(__u64, value)
96 __entry->value = value;
99 TP_printk("%s: 0x%llx", __entry->name, __entry->value)
105 TP_PROTO(const char *type, int len, __u64 *control, __u64 *value),
106 TP_ARGS(type, len, control, value),
117 memcpy(__entry->values, value, len << 3);
/openbmc/qemu/hw/net/rocker/
H A Drocker_fp.c56 RockerPort *value = g_malloc0(sizeof(*value)); in fp_port_get_info() local
58 value->name = g_strdup(port->name); in fp_port_get_info()
59 value->enabled = port->enabled; in fp_port_get_info()
60 value->link_up = fp_port_get_link_up(port); in fp_port_get_info()
61 value->speed = port->speed; in fp_port_get_info()
62 value->duplex = port->duplex; in fp_port_get_info()
63 value->autoneg = port->autoneg; in fp_port_get_info()
64 return value; in fp_port_get_info()
/openbmc/linux/lib/zstd/common/
H A Dmem.h56 MEM_STATIC void MEM_write16(void* memPtr, U16 value);
57 MEM_STATIC void MEM_write32(void* memPtr, U32 value);
58 MEM_STATIC void MEM_write64(void* memPtr, U64 value);
131 MEM_STATIC void MEM_write16(void *memPtr, U16 value) in MEM_write16() argument
133 put_unaligned(value, (U16 *)memPtr); in MEM_write16()
136 MEM_STATIC void MEM_write32(void *memPtr, U32 value) in MEM_write32() argument
138 put_unaligned(value, (U32 *)memPtr); in MEM_write32()
141 MEM_STATIC void MEM_write64(void *memPtr, U64 value) in MEM_write64() argument
143 put_unaligned(value, (U64 *)memPtr); in MEM_write64()
/openbmc/linux/Documentation/hwmon/
H A Dmax31760.rst49 1 PWM value for T < +18°C
50 2 PWM value for +18°C ≤ T < +20°C
51 3 PWM value for +20°C ≤ T < +22°C
53 47 PWM value for +108°C ≤ T < +110°C
54 48 PWM value for T ≥ +110°C
67 temp[1-2]_max Temperature max value. Asserts "ALERT" pin when exceeded
69 temp[1-2]_crit Temperature critical value. Asserts "SHDN" pin when exceeded
71 pwm1 PWM value for direct fan control
75 pwm1_auto_point[1-48]_pwm PWM value for LUT point
/openbmc/qemu/target/riscv/
H A Driscv-qmp-cmds.c84 QObject *value; in riscv_obj_add_qdict_prop() local
87 value = object_property_get_qobject(obj, name, &error_abort); in riscv_obj_add_qdict_prop()
89 qdict_put_obj(qdict_out, name, value); in riscv_obj_add_qdict_prop()
105 QObject *value; in riscv_obj_add_named_feats_qdict() local
111 value = QOBJECT(qbool_from_bool(flag_val)); in riscv_obj_add_named_feats_qdict()
113 qdict_put_obj(qdict_out, named_cfg->name, value); in riscv_obj_add_named_feats_qdict()
120 QObject *value; in riscv_obj_add_profiles_qdict() local
124 value = QOBJECT(qbool_from_bool(profile->enabled)); in riscv_obj_add_profiles_qdict()
126 qdict_put_obj(qdict_out, profile->name, value); in riscv_obj_add_profiles_qdict()
/openbmc/qemu/net/
H A Ddump.c185 uint32_t value = nfds->maxlen; in filter_dump_get_maxlen() local
187 visit_type_uint32(v, name, &value, errp); in filter_dump_get_maxlen()
194 uint32_t value; in filter_dump_set_maxlen() local
196 if (!visit_type_uint32(v, name, &value, errp)) { in filter_dump_set_maxlen()
199 if (value == 0) { in filter_dump_set_maxlen()
201 object_get_typename(obj), name, value); in filter_dump_set_maxlen()
204 nfds->maxlen = value; in filter_dump_set_maxlen()
214 static void file_dump_set_filename(Object *obj, const char *value, Error **errp) in file_dump_set_filename() argument
219 nfds->filename = g_strdup(value); in file_dump_set_filename()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_0_ppt.c759 uint32_t *value) in smu_v13_0_0_get_smu_metrics_data() argument
780 *value = metrics->CurrClock[PPCLK_UCLK]; in smu_v13_0_0_get_smu_metrics_data()
828 *value = metrics->AverageGfxActivity; in smu_v13_0_0_get_smu_metrics_data()
831 *value = metrics->AverageUclkActivity; in smu_v13_0_0_get_smu_metrics_data()
860 *value = metrics->AvgFanRpm; in smu_v13_0_0_get_smu_metrics_data()
863 *value = metrics->AvgFanPwm; in smu_v13_0_0_get_smu_metrics_data()
869 *value = metrics->PcieRate; in smu_v13_0_0_get_smu_metrics_data()
872 *value = metrics->PcieWidth; in smu_v13_0_0_get_smu_metrics_data()
875 *value = UINT_MAX; in smu_v13_0_0_get_smu_metrics_data()
1014 uint32_t *value) in smu_v13_0_0_get_current_clk_freq_by_table() argument
[all …]
/openbmc/qemu/hw/display/
H A Dcirrus_vga.c1735 int value = 0xff; in cirrus_mmio_blt_read() local
1739 value = cirrus_vga_read_gr(s, 0x00); in cirrus_mmio_blt_read()
1742 value = cirrus_vga_read_gr(s, 0x10); in cirrus_mmio_blt_read()
1745 value = cirrus_vga_read_gr(s, 0x12); in cirrus_mmio_blt_read()
1748 value = cirrus_vga_read_gr(s, 0x14); in cirrus_mmio_blt_read()
1751 value = cirrus_vga_read_gr(s, 0x01); in cirrus_mmio_blt_read()
1754 value = cirrus_vga_read_gr(s, 0x11); in cirrus_mmio_blt_read()
1757 value = cirrus_vga_read_gr(s, 0x13); in cirrus_mmio_blt_read()
1760 value = cirrus_vga_read_gr(s, 0x15); in cirrus_mmio_blt_read()
1838 return (uint8_t) value; in cirrus_mmio_blt_read()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dmxc_gpio.c94 int gpio_set_value(unsigned gpio, int value) in gpio_set_value() argument
108 if (value) in gpio_set_value()
153 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() argument
155 int ret = gpio_set_value(gpio, value); in gpio_direction_output()
193 int value) in mxc_gpio_bank_set_value() argument
198 if (value) in mxc_gpio_bank_set_value()
223 int value) in mxc_gpio_direction_output() argument
228 mxc_gpio_bank_set_value(bank->regs, offset, value); in mxc_gpio_direction_output()
246 int value) in mxc_gpio_set_value() argument
250 mxc_gpio_bank_set_value(bank->regs, offset, value); in mxc_gpio_set_value()
/openbmc/openbmc/meta-arm/ci/
H A Dpatchreview87 value = match.group(1)
88 if value != "Signed-off-by:":
89 result.malformed_sob = value
97 value = match.group(1)
98 if value != "Upstream-Status:":
99 result.malformed_upstream_status = value
101 value = match.group(2).lower()
103 if value not in status_values:
105 result.upstream_status = value
222 value = getattr(summary, attr)
/openbmc/qemu/target/ppc/
H A Dcompat.c268 const char *value; in ppc_compat_prop_get() local
271 value = ""; in ppc_compat_prop_get()
277 value = compat->name; in ppc_compat_prop_get()
280 visit_type_str(v, name, (char **)&value, errp); in ppc_compat_prop_get()
286 char *value; in ppc_compat_prop_set() local
289 if (!visit_type_str(v, name, &value, errp)) { in ppc_compat_prop_set()
293 if (strcmp(value, "") == 0) { in ppc_compat_prop_set()
300 if (strcmp(value, compat_table[i].name) == 0) { in ppc_compat_prop_set()
308 error_setg(errp, "Invalid compatibility mode \"%s\"", value); in ppc_compat_prop_set()
317 g_free(value); in ppc_compat_prop_set()

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