/openbmc/u-boot/cmd/ |
H A D | setexpr.c | 135 const char *value; in regex_sub() local 153 t = value; in regex_sub() 295 ulong value; in do_setexpr() local 344 value = a | b; in do_setexpr() 347 value = a & b; in do_setexpr() 350 value = a + b; in do_setexpr() 353 value = a ^ b; in do_setexpr() 356 value = a - b; in do_setexpr() 359 value = a * b; in do_setexpr() 362 value = a / b; in do_setexpr() [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | pci.h | 32 void (*pio_writeb)(QPCIBus *bus, uint32_t addr, uint8_t value); 33 void (*pio_writew)(QPCIBus *bus, uint32_t addr, uint16_t value); 34 void (*pio_writel)(QPCIBus *bus, uint32_t addr, uint32_t value); 35 void (*pio_writeq)(QPCIBus *bus, uint32_t addr, uint64_t value); 45 uint8_t offset, uint8_t value); 47 uint8_t offset, uint16_t value); 49 uint8_t offset, uint32_t value); 111 uint8_t value); 113 uint16_t value); 115 uint32_t value); [all …]
|
/openbmc/linux/arch/x86/um/ |
H A D | ptrace_32.c | 76 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg() argument 92 UPT_SYSCALL_NR(&child->thread.regs.regs) = value; in putreg() 95 if (value && (value & 3) != 3) in putreg() 99 if (value && (value & 3) != 3) in putreg() 104 if (value && (value & 3) != 3) in putreg() 106 value &= 0xffff; in putreg() 110 if ((value & 3) != 3) in putreg() 112 value &= 0xffff; in putreg() 115 value &= FLAG_MASK; in putreg() 116 child->thread.regs.regs.gp[HOST_EFLAGS] |= value; in putreg() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | mst_fpga.c | 144 value &= 0xffffffff; in mst_fpga_writeb() 148 s->leddat1 = value; in mst_fpga_writeb() 151 s->leddat2 = value; in mst_fpga_writeb() 154 s->ledctrl = value; in mst_fpga_writeb() 157 s->gpswr = value; in mst_fpga_writeb() 160 s->mscwr1 = value; in mst_fpga_writeb() 163 s->mscwr2 = value; in mst_fpga_writeb() 166 s->mscwr3 = value; in mst_fpga_writeb() 169 s->mscrd = value; in mst_fpga_writeb() 172 s->intmskena = (value & 0xFEEFF); in mst_fpga_writeb() [all …]
|
H A D | npcm7xx_rng.c | 49 uint64_t value = 0; in npcm7xx_rng_read() local 67 value = s->rngcs; in npcm7xx_rng_read() 72 value = s->rngd; in npcm7xx_rng_read() 77 value = s->rngmode; in npcm7xx_rng_read() 87 trace_npcm7xx_rng_read(offset, value, size); in npcm7xx_rng_read() 89 return value; in npcm7xx_rng_read() 92 static void npcm7xx_rng_write(void *opaque, hwaddr offset, uint64_t value, in npcm7xx_rng_write() argument 97 trace_npcm7xx_rng_write(offset, value, size); in npcm7xx_rng_write() 102 s->rngcs |= value & ~NPCM7XX_RNGCS_DVALID; in npcm7xx_rng_write() 110 s->rngmode = value; in npcm7xx_rng_write()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/css_2401_system/host/ |
H A D | isys_dma_private.h | 28 const hrt_data value) in isys2401_dma_reg_store() argument 37 ia_css_device_store_uint32(reg_loc, value); in isys2401_dma_reg_store() 44 hrt_data value; in isys2401_dma_reg_load() local 51 value = ia_css_device_load_uint32(reg_loc); in isys2401_dma_reg_load() 53 (unsigned int)value); in isys2401_dma_reg_load() 55 return value; in isys2401_dma_reg_load()
|
/openbmc/linux/drivers/soc/tegra/ |
H A D | pmc.c | 1103 u32 value; in tegra_pmc_program_reboot_reason() local 1137 u32 value; in tegra_pmc_restart() local 1577 value = DIV_ROUND_UP(200, value); in tegra_io_pad_prepare() 1587 u32 value; in tegra_io_pad_poll() local 1721 u32 value; in tegra_io_pad_set_voltage() local 1768 u32 value; in tegra_io_pad_get_voltage() local 1830 u32 value; in tegra_pmc_enter_suspend_mode() local 2194 u32 value; in reset_reason_show() local 2211 u32 value; in reset_level_show() local 2341 u32 value; in tegra210_pmc_irq_set_wake() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/nginx/files/ |
H A D | nginx-cross.patch | 35 value) 83 + --with-int=*) NGX_WITH_INT="$value" ;; 84 + --with-long=*) NGX_WITH_LONG="$value" ;; 85 + --with-long-long=*) NGX_WITH_LONG_LONG="$value" ;; 109 + --with-sys-nerr=VALUE force sys_nerr value 185 ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_size; . auto/types/value 195 ngx_param=NGX_SIG_ATOMIC_T_SIZE; ngx_value=$ngx_size; . auto/types/value 204 ngx_param=NGX_SIZE_T_LEN; ngx_value=$ngx_max_len; . auto/types/value 209 ngx_param=NGX_OFF_T_LEN; ngx_value=$ngx_max_len; . auto/types/value 213 ngx_param=NGX_TIME_T_SIZE; ngx_value=$ngx_size; . auto/types/value [all …]
|
/openbmc/linux/drivers/bcma/ |
H A D | driver_chipcommon.c | 19 u32 mask, u32 value) in bcma_cc_write32_masked() argument 21 value &= mask; in bcma_cc_write32_masked() 22 value |= bcma_cc_read32(cc, offset) & ~mask; in bcma_cc_write32_masked() 23 bcma_cc_write32(cc, offset, value); in bcma_cc_write32_masked() 25 return value; in bcma_cc_write32_masked() 266 bcma_cc_write32_masked(cc, BCMA_CC_IRQMASK, mask, value); in bcma_chipco_irq_mask() 285 res = bcma_cc_write32_masked(cc, BCMA_CC_GPIOOUT, mask, value); in bcma_chipco_gpio_out() 298 res = bcma_cc_write32_masked(cc, BCMA_CC_GPIOOUTEN, mask, value); in bcma_chipco_gpio_outen() 315 res = bcma_cc_write32_masked(cc, BCMA_CC_GPIOCTL, mask, value); in bcma_chipco_gpio_control() 328 res = bcma_cc_write32_masked(cc, BCMA_CC_GPIOIRQ, mask, value); in bcma_chipco_gpio_intmask() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | sysfs.c | 267 u32 value; in show_pw20_state() local 284 if (*value) in do_store_pw20_state() 296 u32 value; in store_pw20_state() local 313 u32 value; in show_pw20_wait_time() local 321 value = (value & PWRMGTCR0_PW20_ENT) >> in show_pw20_wait_time() 364 u64 value; in store_pw20_wait_time() local 389 u32 value; in show_altivec_idle() local 418 u32 value; in store_altivec_idle() local 435 u32 value; in show_altivec_idle_wait_time() local 443 value = (value & PWRMGTCR0_AV_IDLE_CNT) >> in show_altivec_idle_wait_time() [all …]
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | emumixer.c | 769 val = ucontrol->value.integer.value[0]; in snd_emu1010_adc_pads_put() 827 val = ucontrol->value.integer.value[0]; in snd_emu1010_dac_pads_put() 1281 ngain0 = ucontrol->value.integer.value[0]; in snd_audigy_i2c_volume_put() 1282 ngain1 = ucontrol->value.integer.value[1]; in snd_audigy_i2c_volume_put() 1575 val = ucontrol->value.integer.value[idx] & 255; in snd_emu10k1_send_volume_put() 1692 ucontrol->value.integer.value[idx] = in snd_emu10k1_efx_send_routing_get() 1868 ucontrol->value.integer.value[0] = in snd_emu10k1_shared_spdif_get() 1869 !ucontrol->value.integer.value[0]; in snd_emu10k1_shared_spdif_get() 1881 sw = ucontrol->value.integer.value[0]; in snd_emu10k1_shared_spdif_put() 1939 ucontrol->value.integer.value[0] = !!val; in snd_audigy_capture_boost_get() [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | kona_gpio.c | 47 unsigned int value, off; in gpio_request() local 51 value = readl(GPIO_BASE + off) & ~GPIO_BITMASK(gpio); in gpio_request() 52 writel(value, GPIO_BASE + off); in gpio_request() 59 unsigned int value, off; in gpio_free() local 63 value = readl(GPIO_BASE + off) | GPIO_BITMASK(gpio); in gpio_free() 64 writel(value, GPIO_BASE + off); in gpio_free() 81 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() argument 91 off = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); in gpio_direction_output() 119 void gpio_set_value(unsigned gpio, int value) in gpio_set_value() argument 135 off = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); in gpio_set_value()
|
/openbmc/linux/rust/macros/ |
H A D | paste.rs | 14 let mut value = ident.to_string(); in concat() localVariable 15 if value.starts_with("r#") { in concat() 16 value.replace_range(0..2, ""); in concat() 18 segments.push((value, ident.span())); in concat() 25 let (mut value, sp) = segments.pop().expect("expected identifier before modifier"); in concat() 35 "lower" => value = value.to_lowercase(), in concat() 36 "upper" => value = value.to_uppercase(), in concat() 39 segments.push((value, sp)); in concat()
|
/openbmc/telemetry/src/types/ |
H A D | error_type.hpp | 30 inline ErrorType toErrorType(std::underlying_type_t<ErrorType> value) in toErrorType() argument 33 maxEnumValue(convDataErrorType)>(value); in toErrorType() 36 inline ErrorType toErrorType(const std::string& value) in toErrorType() argument 38 return toEnum(convDataErrorType, value); in toErrorType() 41 inline std::string enumToString(ErrorType value) in enumToString() argument 43 return std::string(enumToString(convDataErrorType, value)); in enumToString()
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | shpchp_core.c | 48 static int get_power_status(struct hotplug_slot *slot, u8 *value); 50 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 51 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 186 retval = slot->hpc_ops->get_power_status(slot, value); in get_power_status() 188 *value = slot->pwr_save; in get_power_status() 201 retval = slot->hpc_ops->get_attention_status(slot, value); in get_attention_status() 203 *value = slot->attention_save; in get_attention_status() 216 retval = slot->hpc_ops->get_latch_status(slot, value); in get_latch_status() 218 *value = slot->latch_save; in get_latch_status() 231 retval = slot->hpc_ops->get_adapter_status(slot, value); in get_adapter_status() [all …]
|
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | augmented_raw_syscalls.bpf.c | 42 __type(value, __u32); 54 __type(value, __u32); 66 __type(value, __u32); 85 char value[PATH_MAX]; member 91 __type(value, bool); 136 __type(value, struct augmented_args_payload); 156 int string_len = bpf_probe_read_user_str(&augmented_arg->value, arg_len, arg); in augmented_arg__read_str() 164 augmented_len -= sizeof(augmented_arg->value) - string_len; in augmented_arg__read_str() 166 augmented_len &= sizeof(augmented_arg->value) - 1; in augmented_arg__read_str() 174 augmented_len = offsetof(struct augmented_arg, value); in augmented_arg__read_str() [all …]
|
/openbmc/qemu/hw/char/ |
H A D | nrf51_uart.c | 133 s->reg[R_UART_INTEN] = value; in uart_write() 142 s->reg[addr / 4] = value; in uart_write() 145 s->reg[addr / 4] &= ~value; in uart_write() 150 if (value == 0) { in uart_write() 155 if (value == 1) { in uart_write() 160 if (value == 1) { in uart_write() 165 if (value) { in uart_write() 166 if (value == 4) { in uart_write() 172 value = 1; in uart_write() 176 if (value == 1) { in uart_write() [all …]
|
/openbmc/bios-settings-mgr/src/ |
H A D | manager.cpp | 41 std::get<1>(iter->second) = value; in setAttribute() 47 if (std::get_if<int64_t>(&value)) in setAttribute() 56 std::get<1>(attributeValue) = value; in setAttribute() 65 Manager::AttributeDetails value; in getAttribute() local 72 std::get<0>(value) = in getAttribute() 74 std::get<1>(value) = in getAttribute() 85 std::get<2>(value) = std::string(); in getAttribute() 93 return value; in getAttribute() 206 if (value.empty()) in pendingAttributes() 215 for (const auto& pair : value) in pendingAttributes() [all …]
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_array.rst | 61 zero value to that index. 82 value for a specific CPU. Returns value on success , or ``NULL`` if no entry was 113 __type(value, long); 126 long *value; 133 if (value) 174 long value; 178 value = i; 194 long value; 201 /* use value here */ 202 assert(value == 42); [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra124/ |
H A D | clock.c | 964 u32 value; in tegra_plle_enable() local 971 value |= PLLE_AUX_ENABLE_SWCTL; in tegra_plle_enable() 972 value &= ~PLLE_AUX_SEQ_ENABLE; in tegra_plle_enable() 978 value |= PLLE_MISC_IDDQ_SWCTL; in tegra_plle_enable() 980 value |= PLLE_MISC_LOCK_ENABLE; in tegra_plle_enable() 981 value |= PLLE_MISC_PTS; in tegra_plle_enable() 998 value |= PLLE_BASE_NDIV(n); in tegra_plle_enable() 999 value |= PLLE_BASE_MDIV(m); in tegra_plle_enable() 1005 value |= PLLE_BASE_ENABLE; in tegra_plle_enable() 1026 value &= ~PLLE_SS_CNTL_SSCBYP; in tegra_plle_enable() [all …]
|
/openbmc/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-intel.c | 236 u32 value; in intel_pad_locked() local 438 u32 value; in __intel_gpio_set_direction() local 463 u32 value; in intel_gpio_set_gpio_mode() local 697 u32 value; in intel_config_set_pull() local 973 int value) in intel_gpio_set() argument 991 if (value) in intel_gpio_set() 1085 u32 value; in intel_gpio_irq_mask_unmask() local 1172 value = (value & ~PADCFG0_RXEVCFG_MASK) | rxevcfg; in intel_gpio_irq_type() 1173 value = (value & ~PADCFG0_RXINV) | rxinv; in intel_gpio_irq_type() 1570 u32 value; in intel_pinctrl_probe() local [all …]
|
/openbmc/linux/sound/usb/line6/ |
H A D | pcm.c | 25 uinfo->value.integer.min = 0; in snd_line6_impulse_volume_info() 26 uinfo->value.integer.max = 255; in snd_line6_impulse_volume_info() 35 ucontrol->value.integer.value[0] = line6pcm->impulse_volume; in snd_line6_impulse_volume_get() 43 int value = ucontrol->value.integer.value[0]; in snd_line6_impulse_volume_put() local 50 if (value > 0) { in snd_line6_impulse_volume_put() 68 uinfo->value.integer.min = 0; in snd_line6_impulse_period_info() 78 ucontrol->value.integer.value[0] = line6pcm->impulse_period; in snd_line6_impulse_period_get() 86 int value = ucontrol->value.integer.value[0]; in snd_line6_impulse_period_put() local 400 ucontrol->value.integer.value[i] = line6pcm->volume_playback[i]; in snd_line6_control_playback_get() 414 ucontrol->value.integer.value[i]) { in snd_line6_control_playback_put() [all …]
|
/openbmc/linux/include/net/ |
H A D | mld.h | 77 #define MLDV2_MRC_EXP(value) (((value) >> 12) & 0x0007) argument 78 #define MLDV2_MRC_MAN(value) ((value) & 0x0fff) argument 89 #define MLDV2_QQIC_EXP(value) (((value) >> 4) & 0x07) argument 90 #define MLDV2_QQIC_MAN(value) ((value) & 0x0f) argument
|
/openbmc/qemu/hw/smbios/ |
H A D | smbios_build.h | 56 #define SMBIOS_TABLE_SET_STR(tbl_type, field, value) \ argument 58 int len = (value != NULL) ? strlen(value) + 1 : 0; \ 62 memcpy(smbios_tables + smbios_tables_len, value, len); \ 72 #define SMBIOS_TABLE_SET_STR_LIST(tbl_type, value) \ argument 74 int len = (value != NULL) ? strlen(value) + 1 : 0; \ 78 memcpy(smbios_tables + smbios_tables_len, value, len); \
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | metafmt-vivid.rst | 30 - Image brightness, the value is in the range 0 to 255, with the default value as 128. 32 - Image contrast, the value is in the range 0 to 255, with the default value as 128. 34 - Image color saturation, the value is in the range 0 to 255, with the default value as 128. 36 - Image color balance, the value is in the range -128 to 128, with the default value as 0.
|