Home
last modified time | relevance | path

Searched refs:value (Results 901 – 925 of 13561) sorted by relevance

1...<<31323334353637383940>>...543

/openbmc/linux/sound/isa/ad1816a/
H A Dad1816a_lib.c39 unsigned char value) in snd_ad1816a_out() argument
42 outb(value, AD1816A_REG(reg)); in snd_ad1816a_out()
60 unsigned short value) in snd_ad1816a_write() argument
748 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_ad1816a_get_single()
763 val = (ucontrol->value.integer.value[0] & mask); in snd_ad1816a_put_single()
813 ucontrol->value.integer.value[0] = (val >> shift_left) & mask; in snd_ad1816a_get_double()
814 ucontrol->value.integer.value[1] = (val >> shift_right) & mask; in snd_ad1816a_get_double()
817 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_ad1816a_get_double()
818 ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; in snd_ad1816a_get_double()
835 val1 = ucontrol->value.integer.value[0] & mask; in snd_ad1816a_put_double()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_map_lookup_percpu_elem.c17 __type(value, __u64);
24 __type(value, __u64);
31 __type(value, __u64);
42 __u64 *value; in read_percpu_elem_callback() local
44 value = bpf_map_lookup_percpu_elem(ctx->map, &key, index); in read_percpu_elem_callback()
45 if (value) in read_percpu_elem_callback()
46 ctx->sum += *value; in read_percpu_elem_callback()
/openbmc/u-boot/drivers/gpio/
H A Dpcf8575_gpio.c96 unsigned int offset, int value) in pcf8575_direction_output() argument
101 if (value) in pcf8575_direction_output()
113 int value; in pcf8575_get_value() local
115 value = pcf8575_i2c_read_le16(dev); in pcf8575_get_value()
117 return (value < 0) ? value : ((value & BIT(offset)) >> offset); in pcf8575_get_value()
121 int value) in pcf8575_set_value() argument
123 return pcf8575_direction_output(dev, offset, value); in pcf8575_set_value()
/openbmc/bmcweb/redfish-core/include/utils/
H A Djson_utils.hpp228 value = std::move(jsonValue); in unpackValueWithErrorCode()
248 value.emplace_back(); in unpackValueWithErrorCode()
264 value = std::move(*jsonPtr); in unpackValueWithErrorCode()
277 value.emplace(); in unpackValue()
316 value.emplace_back(); in unpackValue()
364 value.emplace(); in unpackValue()
399 value.emplace_back(); in unpackValue()
500 UnpackVariant value; member
570 unpackSpec.value) && in readJsonHelperObject()
594 perUnpack.value); in readJsonHelperObject()
[all …]
/openbmc/linux/Documentation/admin-guide/
H A Djfs.rst18 resize=value
19 Resize the volume to <value> blocks. JFS only supports
22 read-write. The resize keyword with no value will grow
43 uid=value
44 Override on-disk uid with specified value
45 gid=value
46 Override on-disk gid with specified value
47 umask=value
58 The value of minlen specifies the minimum blockcount, when
60 When no value is given to the discard option, it defaults to
[all …]
/openbmc/linux/drivers/video/fbdev/via/
H A Dvia_modesetting.c162 u8 value; in via_set_primary_color_depth() local
167 value = 0x00; in via_set_primary_color_depth()
170 value = 0x04; in via_set_primary_color_depth()
173 value = 0x14; in via_set_primary_color_depth()
176 value = 0x0C; in via_set_primary_color_depth()
179 value = 0x08; in via_set_primary_color_depth()
192 u8 value; in via_set_secondary_color_depth() local
197 value = 0x00; in via_set_secondary_color_depth()
200 value = 0x40; in via_set_secondary_color_depth()
203 value = 0xC0; in via_set_secondary_color_depth()
[all …]
/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_mbx.c53 nitrox_write_csr(ndev, reg_addr, value); in pf2vf_write_mbox()
61 msg.value = vfdev->msg.value; in pf2vf_send_response()
96 pf2vf_write_mbox(ndev, msg.value, vfdev->ring); in pf2vf_send_response()
98 vfdev->msg.value = 0; in pf2vf_send_response()
127 u64 value, reg_addr; in nitrox_pf2vf_mbox_handler() local
133 value = nitrox_read_csr(ndev, reg_addr); in nitrox_pf2vf_mbox_handler()
134 bitmap_from_u64(csr, value); in nitrox_pf2vf_mbox_handler()
141 vfdev->msg.value = pf2vf_read_mbox(ndev, vfdev->ring); in nitrox_pf2vf_mbox_handler()
156 value = nitrox_read_csr(ndev, reg_addr); in nitrox_pf2vf_mbox_handler()
157 bitmap_from_u64(csr, value); in nitrox_pf2vf_mbox_handler()
[all …]
H A Dnitrox_main.c160 core_2_eid_val.value = 0ULL; in nitrox_load_fw()
215 core_2_eid_val.value = 0ULL; in nitrox_load_fw()
344 u64 value = 0; in nitrox_bist_check() local
351 value += nitrox_read_csr(ndev, UCD_BIST_STATUS); in nitrox_bist_check()
352 value += nitrox_read_csr(ndev, NPS_CORE_BIST_REG); in nitrox_bist_check()
356 value += nitrox_read_csr(ndev, POM_BIST_REG); in nitrox_bist_check()
357 value += nitrox_read_csr(ndev, BMI_BIST_REG); in nitrox_bist_check()
358 value += nitrox_read_csr(ndev, EFL_TOP_BIST_STAT); in nitrox_bist_check()
359 value += nitrox_read_csr(ndev, BMO_BIST_REG); in nitrox_bist_check()
360 value += nitrox_read_csr(ndev, LBC_BIST_STATUS); in nitrox_bist_check()
[all …]
/openbmc/qemu/hw/timer/
H A Dcmsdk-apb-timer.c116 if (value & 6) { in cmsdk_apb_timer_write()
123 s->ctrl = value & 0xf; in cmsdk_apb_timer_write()
135 if (!value) { in cmsdk_apb_timer_write()
138 ptimer_set_limit(s->timer, value, 1); in cmsdk_apb_timer_write()
139 if (value && (s->ctrl & R_CTRL_EN_MASK)) { in cmsdk_apb_timer_write()
150 if (!value && !ptimer_get_limit(s->timer)) { in cmsdk_apb_timer_write()
153 ptimer_set_count(s->timer, value); in cmsdk_apb_timer_write()
154 if (value && (s->ctrl & R_CTRL_EN_MASK)) { in cmsdk_apb_timer_write()
161 value &= 1; in cmsdk_apb_timer_write()
162 s->intstatus &= ~value; in cmsdk_apb_timer_write()
[all …]
/openbmc/qemu/hw/nvram/
H A Dnrf51_nvm.c89 static void ficr_write(void *opaque, hwaddr offset, uint64_t value, in ficr_write() argument
185 s->uicr_content[offset / 4] = value; in uicr_write()
218 static void io_write(void *opaque, hwaddr offset, uint64_t value, in io_write() argument
225 s->config = value & NRF51_NVMC_CONFIG_MASK; in io_write()
231 value &= ~(NRF51_PAGE_SIZE - 1); in io_write()
232 if (value <= (s->flash_size - NRF51_PAGE_SIZE)) { in io_write()
233 memset(s->storage + value, 0xFF, NRF51_PAGE_SIZE); in io_write()
234 memory_region_flush_rom_device(&s->flash, value, in io_write()
244 if (value == NRF51_NVMC_ERASE) { in io_write()
256 if (value == NRF51_NVMC_ERASE) { in io_write()
[all …]
/openbmc/webui-vue/src/components/Mixins/
H A DBVPaginationMixin.js6 value: 10, property in AnonymousClassd0de373f0101
10 value: 20, property in AnonymousClassd0de373f0201
14 value: 30, property in AnonymousClassd0de373f0301
18 value: 40, property in AnonymousClassd0de373f0401
22 value: 0, property in AnonymousClassd0de373f0501
/openbmc/qemu/hw/sd/
H A Dallwinner-sdhost.c625 s->global_ctl = value; in allwinner_sdhost_write()
631 s->clock_ctl = value; in allwinner_sdhost_write()
634 s->timeout = value; in allwinner_sdhost_write()
637 s->bus_width = value; in allwinner_sdhost_write()
640 s->block_size = value; in allwinner_sdhost_write()
647 s->command = value; in allwinner_sdhost_write()
671 s->irq_mask = value; in allwinner_sdhost_write()
680 s->status &= ~value; in allwinner_sdhost_write()
705 s->dmac = value; in allwinner_sdhost_write()
709 s->desc_base = value; in allwinner_sdhost_write()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-qobject-output-visitor.c62 int64_t value = -42; in test_visitor_out_int() local
71 g_assert_cmpint(val, ==, value); in test_visitor_out_int()
77 bool value = true; in test_visitor_out_bool() local
90 double value = 3.14; in test_visitor_out_number() local
165 int64_t value = 42; in test_visitor_out_struct_nested() local
224 TestStruct *value; in test_visitor_out_list() local
235 value = g_malloc0(sizeof(*value)); in test_visitor_out_list()
237 value->boolean = value_bool; in test_visitor_out_list()
240 QAPI_LIST_PREPEND(head, value); in test_visitor_out_list()
270 UserDefTwo *value; in test_visitor_out_list_qapi_free() local
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_dw.c103 value |= d->msr_mask_on; in dw8250_modify_msr()
104 value &= ~d->msr_mask_off; in dw8250_modify_msr()
107 return value; in dw8250_modify_msr()
151 writel(value, offset); in dw8250_check_lcr()
153 iowrite32be(value, offset); in dw8250_check_lcr()
155 writeb(value, offset); in dw8250_check_lcr()
194 dw8250_check_lcr(p, value); in dw8250_serial_out()
216 unsigned int value; in dw8250_serial_inq() local
227 value &= 0xff; in dw8250_serial_outq()
233 dw8250_check_lcr(p, value); in dw8250_serial_outq()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dtinfoil.py181 value = tinfoil.run_command('getVariable', 'TESTVAR')
189 value = tinfoil.config_data.getVarFlag('TESTVAR', 'flagname')
194 value = tinfoil.config_data.getVarFlag('TESTVAR', 'flagname')
196 value = tinfoil.config_data.getVarFlag('TESTVAR', 'otherflag')
200 value = tinfoil.config_data.getVar('TESTVAR')
203 value = tinfoil.config_data.getVar('TESTVAR')
208 value = tinfoil.config_data.getVar('TESTVAROLD')
209 …self.assertEqual(value, None, 'Variable renamed using config_data.renameVar() still seems to exist…
210 value = tinfoil.config_data.getVar('TESTVARNEW')
217 value = tinfoil.config_data.getVar('TESTVAR')
[all …]
/openbmc/linux/drivers/xen/xen-pciback/
H A Dpciback_ops.c158 op->value = 0; in xen_pcibk_enable_msi()
167 dev_dbg(&dev->dev, "MSI: %d\n", op->value); in xen_pcibk_enable_msi()
191 dev_dbg(&dev->dev, "MSI: %d\n", op->value); in xen_pcibk_disable_msi()
207 if (op->value > SH_INFO_MAX_VEC) in xen_pcibk_enable_msix()
226 for (i = 0; i < op->value; i++) { in xen_pcibk_enable_msix()
233 for (i = 0; i < op->value; i++) { in xen_pcibk_enable_msix()
247 op->value = result; in xen_pcibk_enable_msix()
344 op->offset, op->size, &op->value); in xen_pcibk_do_one_op()
348 op->offset, op->size, op->value); in xen_pcibk_do_one_op()
358 nr = op->value; in xen_pcibk_do_one_op()
[all …]
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_mmap.c147 u16 value) in b53_mmap_write16() argument
164 u32 value) in b53_mmap_write32() argument
181 u64 value) in b53_mmap_write48() argument
187 u32 hi = (u32)(value >> 16); in b53_mmap_write48()
188 u16 lo = (u16)value; in b53_mmap_write48()
194 u32 lo = (u32)value; in b53_mmap_write48()
204 u64 value) in b53_mmap_write64() argument
208 hi = upper_32_bits(value); in b53_mmap_write64()
209 lo = lower_32_bits(value); in b53_mmap_write64()
221 u16 *value) in b53_mmap_phy_read16() argument
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Drpaphp_core.c59 switch (value) { in set_attention_status()
65 value = 1; in set_attention_status()
71 slot->attention_status = value; in set_attention_status()
88 *value = level; in get_power_status()
100 *value = slot->attention_status; in get_attention_status()
111 *value = NOT_VALID; in get_adapter_status()
116 *value = EMPTY; in get_adapter_status()
118 *value = slot->state; in get_adapter_status()
233 const __be32 *value; in rpaphp_check_drc_props_v2() local
242 if (!value) in rpaphp_check_drc_props_v2()
[all …]
/openbmc/phosphor-fan-presence/control/
H A Dzone.hpp241 std::optional<T> value; in getPropertyValueVisitor() local
243 [&value](auto&& val) { in getPropertyValueVisitor()
252 value = std::lround(val); in getPropertyValueVisitor()
259 value = val; in getPropertyValueVisitor()
266 assert(value); in getPropertyValueVisitor()
268 return value.value(); in getPropertyValueVisitor()
616 T value; in getPropertyByName() local
629 [&value](auto&& val) { in getPropertyByName()
633 value = val; in getPropertyByName()
638 return value; in getPropertyByName()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dcodeparser.py280 value = node.args[0].value
303 node = node.value
383 def parse_shell(self, value): argument
388 h = bbhash(str(value))
401 self._parse_shell(value)
408 def _parse_shell(self, value): argument
426 def case_clause(value): argument
434 def if_clause(value): argument
435 main = chain(value.cond, value.if_cmds)
436 rest = value.else_cmds
[all …]
/openbmc/linux/drivers/soundwire/
H A Dintel_ace2x_debugfs.c27 int value; in intel_sprintf() local
30 value = intel_readl(mem, reg); in intel_sprintf()
32 value = intel_readw(mem, reg); in intel_sprintf()
34 return scnprintf(buf + pos, RD_BUF - pos, "%4x\t%4x\n", reg, value); in intel_sprintf()
86 static int intel_set_m_datamode(void *data, u64 value) in intel_set_m_datamode() argument
91 if (value > SDW_PORT_DATA_MODE_STATIC_1) in intel_set_m_datamode()
97 bus->params.m_data_mode = value; in intel_set_m_datamode()
104 static int intel_set_s_datamode(void *data, u64 value) in intel_set_s_datamode() argument
109 if (value > SDW_PORT_DATA_MODE_STATIC_1) in intel_set_s_datamode()
115 bus->params.s_data_mode = value; in intel_set_s_datamode()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dgen8_engine_cs.h79 __gen8_emit_write_rcs(u32 *cs, u32 value, u32 offset, u32 flags0, u32 flags1) in __gen8_emit_write_rcs() argument
85 *cs++ = value; in __gen8_emit_write_rcs()
92 gen8_emit_ggtt_write_rcs(u32 *cs, u32 value, u32 gtt_offset, u32 flags) in gen8_emit_ggtt_write_rcs() argument
98 value, in gen8_emit_ggtt_write_rcs()
105 gen12_emit_ggtt_write_rcs(u32 *cs, u32 value, u32 gtt_offset, u32 flags0, u32 flags1) in gen12_emit_ggtt_write_rcs() argument
111 value, in gen12_emit_ggtt_write_rcs()
118 __gen8_emit_flush_dw(u32 *cs, u32 value, u32 gtt_offset, u32 flags) in __gen8_emit_flush_dw() argument
123 *cs++ = value; in __gen8_emit_flush_dw()
129 gen8_emit_ggtt_write(u32 *cs, u32 value, u32 gtt_offset, u32 flags) in gen8_emit_ggtt_write() argument
137 value, in gen8_emit_ggtt_write()
/openbmc/linux/drivers/iio/dac/
H A Dad5592r.c33 static int ad5592r_write_dac(struct ad5592r_state *st, unsigned chan, u16 value) in ad5592r_write_dac() argument
37 st->spi_msg = cpu_to_be16(BIT(15) | (chan << 12) | value); in ad5592r_write_dac()
42 static int ad5592r_read_adc(struct ad5592r_state *st, unsigned chan, u16 *value) in ad5592r_read_adc() argument
65 *value = be16_to_cpu(st->spi_msg); in ad5592r_read_adc()
70 static int ad5592r_reg_write(struct ad5592r_state *st, u8 reg, u16 value) in ad5592r_reg_write() argument
74 st->spi_msg = cpu_to_be16((reg << 11) | value); in ad5592r_reg_write()
79 static int ad5592r_reg_read(struct ad5592r_state *st, u8 reg, u16 *value) in ad5592r_reg_read() argument
95 *value = be16_to_cpu(st->spi_msg); in ad5592r_reg_read()
100 static int ad5592r_gpio_read(struct ad5592r_state *st, u8 *value) in ad5592r_gpio_read() argument
113 *value = (u8) be16_to_cpu(st->spi_msg); in ad5592r_gpio_read()
/openbmc/linux/drivers/acpi/acpica/
H A Dexutils.c35 static u32 acpi_ex_digits_needed(u64 value, u32 base);
141 (obj_desc->integer.value > (u64)ACPI_UINT32_MAX)) { in acpi_ex_truncate_for32bit_table()
146 obj_desc->integer.value &= (u64)ACPI_UINT32_MAX; in acpi_ex_truncate_for32bit_table()
246 static u32 acpi_ex_digits_needed(u64 value, u32 base) in acpi_ex_digits_needed() argument
255 if (value == 0) { in acpi_ex_digits_needed()
259 current_value = value; in acpi_ex_digits_needed()
338 void acpi_ex_integer_to_string(char *out_string, u64 value) in acpi_ex_integer_to_string() argument
346 digits_needed = acpi_ex_digits_needed(value, 10); in acpi_ex_integer_to_string()
350 (void)acpi_ut_short_divide(value, 10, &value, &remainder); in acpi_ex_integer_to_string()
H A Dexdebug.c46 u32 value; in acpi_ex_do_debug_object() local
140 (u32)source_desc->integer.value); in acpi_ex_do_debug_object()
144 value)); in acpi_ex_do_debug_object()
185 acpi_os_printf("0x%X\n", source_desc->reference.value); in acpi_ex_do_debug_object()
193 source_desc->reference.value); in acpi_ex_do_debug_object()
253 value = source_desc->reference.value; in acpi_ex_do_debug_object()
259 value, in acpi_ex_do_debug_object()
268 value, in acpi_ex_do_debug_object()
277 acpi_os_printf("Package[%u] = ", value); in acpi_ex_do_debug_object()

1...<<31323334353637383940>>...543