/openbmc/pldm/fw-update/ |
H A D | activation.cpp | 11 Activation::activation(ActivationIntf::Activations value) in activation() argument 13 if (value == ActivationIntf::Activations::Activating) in activation() 18 else if (value == ActivationIntf::Activations::Active || in activation() 19 value == ActivationIntf::Activations::Failed) in activation() 27 return ActivationIntf::activation(value); in activation()
|
/openbmc/qemu/hw/dma/ |
H A D | sifive_pdma.c | 309 s->chan[ch].next_bytes = value; in sifive_pdma_writeq() 312 s->chan[ch].next_dst = value; in sifive_pdma_writeq() 315 s->chan[ch].next_src = value; in sifive_pdma_writeq() 341 if (!claimed && (value & CONTROL_CLAIM)) { in sifive_pdma_writel() 351 if (run && !(value & CONTROL_CLAIM)) { in sifive_pdma_writel() 352 value |= CONTROL_CLAIM; in sifive_pdma_writel() 355 s->chan[ch].control = value; in sifive_pdma_writel() 367 if (value & CONTROL_RUN) { in sifive_pdma_writel() 374 s->chan[ch].next_config = value; in sifive_pdma_writel() 378 deposit64(s->chan[ch].next_bytes, 0, 32, value); in sifive_pdma_writel() [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | ipc4-control.c | 94 u32 value; in sof_ipc4_set_volume_data() local 98 value = cdata->chanv[0].value; in sof_ipc4_set_volume_data() 100 if (cdata->chanv[i].value != value) { in sof_ipc4_set_volume_data() 113 params.init_val = cdata->chanv[0].value; in sof_ipc4_set_volume_data() 116 params.init_val = cdata->chanv[i].value; in sof_ipc4_set_volume_data() 158 u32 value = mixer_to_ipc(ucontrol->value.integer.value[i], in sof_ipc4_volume_put() local 161 change = change || (value != cdata->chanv[i].value); in sof_ipc4_volume_put() 163 cdata->chanv[i].value = value; in sof_ipc4_volume_put() 197 ucontrol->value.integer.value[i] = ipc_to_mixer(cdata->chanv[i].value, in sof_ipc4_volume_get() 261 memcpy(data, ucontrol->value.bytes.data, size); in sof_ipc4_bytes_put() [all …]
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | sysfs.c | 15 long value; in clk_max_freq_mhz_show() local 21 if (value < 0) in clk_max_freq_mhz_show() 22 return value; in clk_max_freq_mhz_show() 34 u64 value; in clk_max_freq_mhz_store() local 58 long value; in clk_cur_freq_mhz_show() local 64 if (value < 0) in clk_cur_freq_mhz_show() 65 return value; in clk_cur_freq_mhz_show() 186 long value; in soft_reset_store() local 214 long value; in hard_reset_store() local 328 unsigned long value; in max_power_store() local [all …]
|
/openbmc/linux/arch/ia64/lib/ |
H A D | memset.S | 26 #define value in1 macro 77 mux1 value = value, @brcst // create 8 identical bytes in word 96 (p_y) st8 [ptr2] = value,-4 // 103 (p_yy) st4 [ptr2] = value,-2 // 111 setf.sig fvalue=value // transfer value to FLP side 112 (p_y) st2 [ptr2] = value,-1 // 117 (p_yy) st1 [ptr2] = value // 304 (p_y) st4 [ptr1] = value,4 308 (p_yy) st2 [ptr1] = value,2 313 (p_y) st1 [ptr1] = value [all …]
|
/openbmc/openpower-hw-diags/util/ |
H A D | dbus.cpp | 156 DBusValue value; in systemNames() local 226 DBusValue value; in autoRebootEnabled() local 234 autoReboot = std::get<bool>(value); in autoRebootEnabled() 255 DBusValue value; in hostRunningState() local 290 DBusValue value; in hostRunningState() local 296 stateProperty, value)) in hostRunningState() 327 DBusValue value; in dumpPolicyEnabled() local 335 dumpPolicyEnabled = std::get<bool>(value); in dumpPolicyEnabled() 409 DBusValue value; in getMachineType() local 583 DBusValue value; in powerFault() local [all …]
|
/openbmc/linux/sound/spi/ |
H A D | at73c213.c | 406 ucontrol->value.integer.value[0] = in snd_at73c213_mono_get() 410 ucontrol->value.integer.value[0] = in snd_at73c213_mono_get() 411 mask - ucontrol->value.integer.value[0]; in snd_at73c213_mono_get() 478 ucontrol->value.integer.value[0] = in snd_at73c213_stereo_get() 480 ucontrol->value.integer.value[1] = in snd_at73c213_stereo_get() 484 ucontrol->value.integer.value[0] = in snd_at73c213_stereo_get() 485 mask - ucontrol->value.integer.value[0]; in snd_at73c213_stereo_get() 486 ucontrol->value.integer.value[1] = in snd_at73c213_stereo_get() 554 ucontrol->value.integer.value[0] = in snd_at73c213_mono_switch_get() 558 ucontrol->value.integer.value[0] = in snd_at73c213_mono_switch_get() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | omap_sdrc.c | 89 uint64_t value, unsigned size) in omap_sdrc_write() argument 94 omap_badwidth_write32(opaque, addr, value); in omap_sdrc_write() 108 if ((value >> 3) != 0x2) in omap_sdrc_write() 110 __func__, (unsigned)value >> 3); in omap_sdrc_write() 111 if (value & 2) in omap_sdrc_write() 113 s->config = value & 0x18; in omap_sdrc_write()
|
/openbmc/phosphor-buttons/ |
H A D | meson.options | 4 value: 'enclosure_identify', 11 value: 3000, 18 value: 'enabled', 19 description : 'Look up the GPIO base value in /sys/class/gpio. Otherwise use a base of 0.' 26 value: 'default', 33 value : 'disabled',
|
/openbmc/linux/samples/bpf/ |
H A D | syscall_tp_kern.c | 24 __type(value, u32); 31 __type(value, u32); 38 u32 *value, init_val = 1; in count() local 40 value = bpf_map_lookup_elem(map, &key); in count() 41 if (value) in count() 42 *value += 1; in count()
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | tdx.c | 35 static inline void tdx_io_out(int size, u16 port, u32 value) in tdx_io_out() argument 43 .r15 = value, in tdx_io_out() 54 static inline void tdx_outb(u8 value, u16 port) in tdx_outb() argument 56 tdx_io_out(1, port, value); in tdx_outb() 59 static inline void tdx_outw(u16 value, u16 port) in tdx_outw() argument 61 tdx_io_out(2, port, value); in tdx_outw()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-locomo.c | 17 enum led_brightness value, int offset) in locomoled_brightness_set() argument 23 if (value) in locomoled_brightness_set() 31 enum led_brightness value) in locomoled_brightness_set0() argument 33 locomoled_brightness_set(led_cdev, value, LOCOMO_LPT0); in locomoled_brightness_set0() 37 enum led_brightness value) in locomoled_brightness_set1() argument 39 locomoled_brightness_set(led_cdev, value, LOCOMO_LPT1); in locomoled_brightness_set1()
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/fans/phosphor-fan-control-events-config/ |
H A D | events.yaml | 211 value difference 220 value difference 284 value: 255 309 value: false 312 value: 255 331 value: 339 value: 352 value: true 358 value: true 446 value: 6 [all …]
|
/openbmc/u-boot/post/lib_powerpc/ |
H A D | load.c | 172 ulong value; in cpu_post_test_load() local 182 cpu_post_exec_22w (code, &base, test->offset, &value); in cpu_post_test_load() 192 cpu_post_exec_21w (code, &base, &value); in cpu_post_test_load() 208 ret = *(uchar *)(base0 + test->offset) == value ? in cpu_post_test_load() 212 ret = *(ushort *)(base0 + test->offset) == value ? in cpu_post_test_load() 216 ret = *(short *)(base0 + test->offset) == value ? in cpu_post_test_load() 220 ret = *(ulong *)(base0 + test->offset) == value ? in cpu_post_test_load()
|
/openbmc/qemu/hw/ppc/ |
H A D | mpc8544_guts.c | 73 uint32_t value = 0; in mpc8544_guts_read() local 79 value = env->spr[SPR_PVR]; in mpc8544_guts_read() 82 value = env->spr[SPR_E500_SVR]; in mpc8544_guts_read() 91 return value; in mpc8544_guts_read() 95 uint64_t value, unsigned size) in mpc8544_guts_write() argument 101 if (value & MPC8544_GUTS_RSTCR_RESET) { in mpc8544_guts_write() 107 " = 0x%" PRIx64 "\n", __func__, addr, value); in mpc8544_guts_write()
|
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | compare_presence_action.hpp | 51 explicit ComparePresenceAction(const std::string& fru, bool value) : in ComparePresenceAction() argument 52 fru{fru}, value{value} in ComparePresenceAction() 85 return value; in getValue() 106 const bool value{}; member in phosphor::power::regulators::ComparePresenceAction
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | enum.c | 30 nvkm_enum_find(const struct nvkm_enum *en, u32 value) in nvkm_enum_find() argument 33 if (en->value == value) in nvkm_enum_find() 42 nvkm_snprintbf(char *data, int size, const struct nvkm_bitfield *bf, u32 value) in nvkm_snprintbf() argument 46 if (value & bf->mask) { in nvkm_snprintbf()
|
/openbmc/linux/fs/ntfs/ |
H A D | bitmap.c | 34 const s64 count, const u8 value, const bool is_rollback) in __ntfs_bitmap_set_bits_in_run() argument 47 (unsigned long long)cnt, (unsigned int)value, in __ntfs_bitmap_set_bits_in_run() 51 BUG_ON(value > 1); in __ntfs_bitmap_set_bits_in_run() 81 if (value) in __ntfs_bitmap_set_bits_in_run() 98 memset(kaddr + pos, value ? 0xff : 0, len); in __ntfs_bitmap_set_bits_in_run() 122 memset(kaddr, value ? 0xff : 0, len); in __ntfs_bitmap_set_bits_in_run() 138 if (value) in __ntfs_bitmap_set_bits_in_run() 161 value ? 0 : 1, true); in __ntfs_bitmap_set_bits_in_run()
|
/openbmc/linux/drivers/rapidio/ |
H A D | rio-access.c | 34 (struct rio_mport *mport, u32 offset, type *value) \ 40 *value = (type)data; \ 55 (struct rio_mport *mport, u32 offset, type value) \ 58 return mport->ops->lcwrite(mport, mport->id, offset, len, value);\ 86 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \ 92 *value = (type)data; \ 107 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type value) \ 111 offset, len, value); \
|
/openbmc/u-boot/drivers/gpio/ |
H A D | mpc83xx_gpio.c | 71 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() argument 78 if (value != 0 && value != 1) { in gpio_direction_output() 83 gpio_set_value(gpio, value); in gpio_direction_output() 118 int gpio_set_value(unsigned gpio, int value) in gpio_set_value() argument 125 if (value != 0 && value != 1) { in gpio_set_value() 140 (value ? line_mask : 0); in gpio_set_value()
|
/openbmc/u-boot/tools/binman/ |
H A D | elf.py | 52 value, rest = line[:space_pos], line[space_pos + 1:] 58 syms[name] = Symbol(section, int(value, 16), int(size,16), 119 value = section.LookupSymbol(name, sym.weak, msg) 120 if value is not None: 121 value += base.address 123 value = -1 125 value_bytes = struct.pack(pack_string, value) 128 (msg, name, offset, value, len(value_bytes)))
|
/openbmc/linux/fs/reiserfs/ |
H A D | xattr_security.c | 48 sec->value = kmemdup(xattr_array->value, xattr_array->value_len, in reiserfs_initxattrs() 50 if (!sec->value) in reiserfs_initxattrs() 69 sec->value = NULL; in reiserfs_security_init() 80 sec->value = NULL; in reiserfs_security_init() 107 error = reiserfs_xattr_set_handle(th, inode, xattr_name, sec->value, in reiserfs_security_write() 117 kfree(sec->value); in reiserfs_security_free() 119 sec->value = NULL; in reiserfs_security_free()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/ |
H A D | irq_service.c | 91 uint32_t value = dm_read_reg(irq_service->ctx, addr); in dal_irq_service_set_generic() local 93 value = (value & ~info->enable_mask) | in dal_irq_service_set_generic() 95 dm_write_reg(irq_service->ctx, addr, value); in dal_irq_service_set_generic() 135 uint32_t value = dm_read_reg(irq_service->ctx, addr); in dal_irq_service_ack_generic() local 137 value = (value & ~info->ack_mask) | in dal_irq_service_ack_generic() 139 dm_write_reg(irq_service->ctx, addr, value); in dal_irq_service_ack_generic()
|
/openbmc/linux/arch/mips/alchemy/common/ |
H A D | gpiolib.c | 43 static void gpio2_set(struct gpio_chip *chip, unsigned offset, int value) in gpio2_set() argument 45 alchemy_gpio2_set_value(offset + ALCHEMY_GPIO2_BASE, value); in gpio2_set() 54 int value) in gpio2_direction_output() argument 57 value); in gpio2_direction_output() 72 unsigned offset, int value) in gpio1_set() argument 74 alchemy_gpio1_set_value(offset + ALCHEMY_GPIO1_BASE, value); in gpio1_set() 83 unsigned offset, int value) in gpio1_direction_output() argument 86 value); in gpio1_direction_output()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste_v1.c | 1104 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_bit_mask() 1130 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_tag() 1176 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_dst_tag() 1200 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_src_tag() 1224 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag() 1258 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask() 1308 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_tag() 1366 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_bit_mask() 1378 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_tag() 1399 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_dst_bit_mask() [all …]
|