/openbmc/linux/crypto/ |
H A D | rsa_helper.c | 17 const void *value, size_t vlen) in rsa_get_n() argument 20 const u8 *ptr = value; in rsa_get_n() 24 if (!value || !vlen) in rsa_get_n() 40 key->n = value; in rsa_get_n() 55 key->e = value; in rsa_get_e() 70 key->d = value; in rsa_get_d() 85 key->p = value; in rsa_get_p() 100 key->q = value; in rsa_get_q() 115 key->dp = value; in rsa_get_dp() 130 key->dq = value; in rsa_get_dq() [all …]
|
/openbmc/phosphor-user-manager/ |
H A D | users.cpp | 91 return value; in userPrivilege() 99 UsersIface::userPrivilege(value); in setUserPrivilege() 123 return value; in userGroups() 125 std::sort(value.begin(), value.end()); in userGroups() 127 return UsersIface::userGroups(value); in userGroups() 146 void Users::setUserEnabled(bool value) in setUserEnabled() argument 148 UsersIface::userEnabled(value); in setUserEnabled() 155 bool Users::userEnabled(bool value) in userEnabled() argument 159 return value; in userEnabled() 161 manager.userEnable(userName, value); in userEnabled() [all …]
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | module.c | 57 uint32_t value; in apply_relocate_add() local 79 *(uint32_t *)location += value; in apply_relocate_add() 85 if ((value & 3) != 0 || in apply_relocate_add() 94 value = (signed int)value >> 2; in apply_relocate_add() 97 ((value >> 16) & 0x3)); in apply_relocate_add() 99 location[2] = value & 0xff; in apply_relocate_add() 103 ((value << 6) & 0xc0)); in apply_relocate_add() 109 if ((value & 3) != 0 || in apply_relocate_add() 118 value = (signed int)value >> 2; in apply_relocate_add() 122 location[2] = value & 0xff; in apply_relocate_add() [all …]
|
/openbmc/openbmc-test-automation/openpower/ras/ |
H A D | test_host_boot_ras.robot | 38 Inject Error At HOST Boot Path ${value[0]} ${value[1]} 51 Inject Error At HOST Boot Path ${value[0]} ${value[1]} 63 Inject Error At HOST Boot Path ${value[0]} ${value[1]} 93 Inject Error At HOST Boot Path ${value[0]} ${value[1]} 118 Inject Error At HOST Boot Path ${value[0]} ${value[1]} 129 Inject Error At HOST Boot Path ${value[0]} ${value[1]} 140 Inject Error At HOST Boot Path ${value[0]} ${value[1]} 150 Inject Error At HOST Boot Path ${value[0]} ${value[1]} 160 Inject Error At HOST Boot Path ${value[0]} ${value[1]} 170 Inject Error At HOST Boot Path ${value[0]} ${value[1]} [all …]
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_hal.c | 22 emu_ae.value = 0; in emu_enable_cores() 26 emu_se.value = 0; in emu_enable_cores() 51 emu_ge_int.value = 0; in nitrox_config_emu_unit() 54 emu_wd_int.value = 0; in nitrox_config_emu_unit() 255 core_int.value = 0; in enable_nps_core_interrupts() 368 drbl.value = 0; in nitrox_config_aqm_rings() 384 qsize.value = 0; in nitrox_config_aqm_rings() 390 cmp_thr.value = 0; in nitrox_config_aqm_rings() 427 pom_int.value = 0; in nitrox_config_pom_unit() 655 u64 value = ~0ULL; in enable_pf2vf_mbox_interrupts() local [all …]
|
/openbmc/qemu/hw/display/ |
H A D | blizzard.c | 503 if ((value & 3) == 0 || (value & 3) == 3) in blizzard_reg_write() 548 s->x = value << 3; in blizzard_reg_write() 602 s->vbi = value; in blizzard_reg_write() 605 s->tv_x = value; in blizzard_reg_write() 611 s->tv_test = value; in blizzard_reg_write() 631 s->u = value & 0xff; in blizzard_reg_write() 634 s->v = value & 0xff; in blizzard_reg_write() 748 s->border_r = value; in blizzard_reg_write() 751 s->border_g = value; in blizzard_reg_write() 802 s->gpio = value; in blizzard_reg_write() [all …]
|
/openbmc/qemu/stats/ |
H A D | stats-hmp-cmds.c | 20 monitor_printf(mon, " %s (%s%s", value->name, StatsType_str(value->type), in print_stats_schema_value() 21 value->has_unit || value->exponent ? ", " : ""); in print_stats_schema_value() 23 if (value->has_unit) { in print_stats_schema_value() 31 if (unit && value->base == 10 && in print_stats_schema_value() 32 value->exponent >= -18 && value->exponent <= 18 && in print_stats_schema_value() 33 value->exponent % 3 == 0) { in print_stats_schema_value() 36 value->exponent >= 0 && value->exponent <= 60 && in print_stats_schema_value() 40 } else if (value->exponent) { in print_stats_schema_value() 43 value->base, value->exponent, in print_stats_schema_value() 48 if (value->has_unit) { in print_stats_schema_value() [all …]
|
/openbmc/linux/drivers/iio/magnetometer/ |
H A D | st_magn_core.c | 178 .value = 0x01, 184 .value = 0x02, 190 .value = 0x03, 196 .value = 0x04, 202 .value = 0x05, 208 .value = 0x06, 214 .value = 0x07, 257 .value = 0x01, 263 .value = 0x02, 269 .value = 0x03, [all …]
|
/openbmc/qemu/hw/dma/ |
H A D | omap_dma.c | 371 uint8_t value[4]; in omap_dma_transfer_generic() local 780 *value = ch->status; 810 *value = ch->frames; 909 if (value & 0x0080) 952 ch->frames = value; 977 ch->color |= value; 1369 s->gcr = value; 1373 if (value & 0x8) 1380 if (value & 0x1) 1962 ch->sync = (value & 0x001f) | ((value >> 14) & 0x0060); [all …]
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-bcm-iproc.c | 49 u32 value; in iproc_pwmc_enable() local 61 u32 value; in iproc_pwmc_disable() local 76 u32 value, prescale; in iproc_pwmc_get_state() local 104 tmp = (value & IPROC_PWM_PERIOD_MAX) * multi; in iproc_pwmc_get_state() 119 u32 value, period, duty; in iproc_pwmc_apply() local 135 u64 value, div; in iproc_pwmc_apply() local 138 value = rate * state->period; in iproc_pwmc_apply() 139 period = div64_u64(value, div); in iproc_pwmc_apply() 140 value = rate * state->duty_cycle; in iproc_pwmc_apply() 141 duty = div64_u64(value, div); in iproc_pwmc_apply() [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | mac.c | 39 mac[0] = value >> 24; in imx_get_mac_from_fuse() 40 mac[1] = value >> 16; in imx_get_mac_from_fuse() 41 mac[2] = value >> 8; in imx_get_mac_from_fuse() 42 mac[3] = value; in imx_get_mac_from_fuse() 45 mac[4] = value >> 24; in imx_get_mac_from_fuse() 46 mac[5] = value >> 16; in imx_get_mac_from_fuse() 51 mac[0] = value >> 8; in imx_get_mac_from_fuse() 52 mac[1] = value; in imx_get_mac_from_fuse() 55 mac[2] = value >> 24; in imx_get_mac_from_fuse() 57 mac[4] = value >> 8; in imx_get_mac_from_fuse() [all …]
|
/openbmc/qemu/system/ |
H A D | rtc.c | 57 value += rtc_ref_start_datetime; in qemu_ref_timedate() 67 return value; in qemu_ref_timedate() 142 const char *value; in configure_rtc() local 149 value = qemu_opt_get(opts, "base"); in configure_rtc() 150 if (value) { in configure_rtc() 151 if (!strcmp(value, "utc")) { in configure_rtc() 161 value = qemu_opt_get(opts, "clock"); in configure_rtc() 162 if (value) { in configure_rtc() 163 if (!strcmp(value, "host")) { in configure_rtc() 175 if (value) { in configure_rtc() [all …]
|
/openbmc/phosphor-networkd/src/ |
H A D | dhcp_configuration.cpp | 39 if (value == sendHostNameEnabled()) in sendHostNameEnabled() 41 return value; in sendHostNameEnabled() 52 if (value == hostNameEnabled()) in hostNameEnabled() 54 return value; in hostNameEnabled() 64 bool Configuration::ntpEnabled(bool value) in ntpEnabled() argument 66 if (value == ntpEnabled()) in ntpEnabled() 68 return value; in ntpEnabled() 80 if (value == dnsEnabled()) in dnsEnabled() 82 return value; in dnsEnabled() 94 if (value == domainEnabled()) in domainEnabled() [all …]
|
/openbmc/phosphor-logging/lib/ |
H A D | lg2_logger.cpp | 27 case bin.value: in value_to_string() 31 case field8.value: in value_to_string() 35 case field16.value: in value_to_string() 39 case field32.value: in value_to_string() 52 case hex.value: in value_to_string() 54 char value[19]; in value_to_string() local 90 snprintf(value, sizeof(value), format, v); in value_to_string() 91 return value; in value_to_string() 95 case dec.value: in value_to_string() 108 if (f & (hex | bin).value) in value_to_string() [all …]
|
/openbmc/linux/arch/microblaze/lib/ |
H A D | memcpy.c | 50 unsigned value, buf_hold; in memcpy() local 89 value = *i_src++; in memcpy() 91 buf_hold = value << 8; in memcpy() 98 value = *i_src++; in memcpy() 115 value = *i_src++; in memcpy() 117 buf_hold = value << 16; in memcpy() 124 value = *i_src++; in memcpy() 141 value = *i_src++; in memcpy() 142 *i_dst++ = buf_hold | value >> 8; in memcpy() 143 buf_hold = value << 24; in memcpy() [all …]
|
/openbmc/u-boot/board/samsung/smdkc100/ |
H A D | onenand.c | 24 int value; in onenand_board_init() local 30 value = readl(&clk->gate_d01); in onenand_board_init() 31 value &= ~(1 << 2); /* CLK_ONENANDC */ in onenand_board_init() 32 value |= (1 << 2); in onenand_board_init() 33 writel(value, &clk->gate_d01); in onenand_board_init() 35 value = readl(&clk->src0); in onenand_board_init() 38 writel(value, &clk->src0); in onenand_board_init() 40 value = readl(&clk->div1); in onenand_board_init() 42 value |= (1 << 16); in onenand_board_init() 43 writel(value, &clk->div1); in onenand_board_init() [all …]
|
/openbmc/linux/sound/firewire/oxfw/ |
H A D | oxfw-spkr.c | 117 buf[10] = *value >> 8; in avc_audio_feature_volume() 118 buf[11] = *value; in avc_audio_feature_volume() 151 value->value.integer.value[0] = !spkr->mute; in spkr_mute_get() 164 mute = !value->value.integer.value[0]; in spkr_mute_put() 202 value->value.integer.value[channel_map[i]] = spkr->volume[i]; in spkr_volume_get() 218 if (value->value.integer.value[i] < spkr->volume_min || in spkr_volume_put() 219 value->value.integer.value[i] > spkr->volume_max) in spkr_volume_put() 221 if (value->value.integer.value[i] != in spkr_volume_put() 222 value->value.integer.value[0]) in spkr_volume_put() 228 if (value->value.integer.value[channel_map[i]] != in spkr_volume_put() [all …]
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | qtest_wrappers.c | 82 cpu_outb(addr, value); in __wrap_qtest_outb() 91 cpu_outw(addr, value); in __wrap_qtest_outw() 100 cpu_outl(addr, value); in __wrap_qtest_outl() 108 uint8_t value; in __wrap_qtest_readb() local 112 return value; in __wrap_qtest_readb() 120 uint16_t value; in __wrap_qtest_readw() local 124 return value; in __wrap_qtest_readw() 132 uint32_t value; in __wrap_qtest_readl() local 136 return value; in __wrap_qtest_readl() 144 uint64_t value; in __wrap_qtest_readq() local [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_tegra.c | 321 value = 0xffffffff; in pci_tegra_read_config() 357 value = pci_conv_size_to_32(old, value, offset, size); in pci_tegra_write_config() 609 unsigned long value; in tegra_pcie_power_on() local 639 value |= (1 << 0); in tegra_pcie_power_on() 640 value &= ~(1 << 1); in tegra_pcie_power_on() 657 u32 value; in tegra_pcie_pll_wait() local 671 u32 value; in tegra_pcie_phy_enable() local 728 u32 value; local 895 unsigned long value; local 924 unsigned long value; local [all …]
|
/openbmc/linux/sound/aoa/codecs/ |
H A D | tas.c | 250 if (ucontrol->value.integer.value[0] < 0 || in tas_snd_vol_put() 251 ucontrol->value.integer.value[0] > 177) in tas_snd_vol_put() 253 if (ucontrol->value.integer.value[1] < 0 || in tas_snd_vol_put() 254 ucontrol->value.integer.value[1] > 177) in tas_snd_vol_put() 289 ucontrol->value.integer.value[0] = !tas->mute_l; in tas_snd_mute_get() 290 ucontrol->value.integer.value[1] = !tas->mute_r; in tas_snd_mute_get() 307 tas->mute_l = !ucontrol->value.integer.value[0]; in tas_snd_mute_put() 308 tas->mute_r = !ucontrol->value.integer.value[1]; in tas_snd_mute_put() 410 if (ucontrol->value.integer.value[0] < 0 || in tas_snd_drc_range_put() 612 ucontrol->value.integer.value[0] = tas->bass; in tas_snd_bass_get() [all …]
|
/openbmc/openbmc-tools/dbus-pcap/ |
H A D | dbus-pcap | 94 DBusType.BYTE.value, 96 DBusType.INT16.value, 98 DBusType.INT32.value, 100 DBusType.INT64.value, 157 elif sig == DBusType.STRUCT.value or sig == DBusType.DICT_ENTRY.value: 184 if prop.field.value in DBusTypeCategory.STRING.value: 200 assert tc.type.value in DBusTypeCategory.FIXED.value 295 if tc.type.value in DBusTypeCategory.FIXED.value: 297 elif tc.type.value in DBusTypeCategory.STRING.value: 299 elif tc.type.value in DBusTypeCategory.CONTAINER.value: [all …]
|
/openbmc/linux/sound/pci/oxygen/ |
H A D | xonar_wm87x6.c | 508 value->value.integer.value[0] = in wm8776_bit_switch_get() 704 value->value.integer.value[0] = in wm8776_hp_vol_get() 706 value->value.integer.value[1] = in wm8776_hp_vol_get() 726 if (value->value.integer.value[0] == value->value.integer.value[1]) { in wm8776_hp_vol_put() 729 value->value.integer.value[0] | in wm8776_hp_vol_put() 739 value->value.integer.value[0] | in wm8776_hp_vol_put() 758 value->value.integer.value[0] = in wm8776_input_mux_get() 775 if (value->value.integer.value[0]) { in wm8776_input_mux_put() 818 value->value.integer.value[0] = in wm8776_input_vol_get() 820 value->value.integer.value[1] = in wm8776_input_vol_get() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | units.c | 18 unsigned long int value; in parse_tag_value() local 25 if (value > ULONG_MAX / i->mult) in parse_tag_value() 27 value *= i->mult; in parse_tag_value() 28 return value; in parse_tag_value() 40 if (value > 1000.0) { in convert_unit_double() 41 value /= 1000.0; in convert_unit_double() 45 if (value > 1000.0) { in convert_unit_double() 46 value /= 1000.0; in convert_unit_double() 50 if (value > 1000.0) { in convert_unit_double() 51 value /= 1000.0; in convert_unit_double() [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/exynos/ |
H A D | tmu.txt | 14 - samsung,efuse-min-value : SOC efuse min value (Constant 40) 15 - efuse-value should be more than this value. 16 - samsung,efuse-value : SOC actual efuse value (Literal value) 18 - This value is used to calculate measuring error. 19 - samsung,efuse-max-value : SoC max efuse value (Constant 100) 20 - efuse-value should be less than this value. 25 - samsung,dc-value : Measured data calibration value (Constant 25) 39 samsung,efuse-min-value = <40>; 40 samsung,efuse-value = <55>; 41 samsung,efuse-max-value = <100>; [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lookup_and_delete.c | 33 value[i] = START_VALUE; in fill_values_percpu() 79 __u64 value) in trigger_tp() argument 101 __u64 key, value; in test_lookup_and_delete_hash() local 116 &key, sizeof(key), &value, sizeof(value), 0); in test_lookup_and_delete_hash() 152 &key, sizeof(key), value, sizeof(value), 0); in test_lookup_and_delete_percpu_hash() 157 val = value[i]; in test_lookup_and_delete_percpu_hash() 177 __u64 key, value; in test_lookup_and_delete_lru_hash() local 197 &key, sizeof(key), &value, sizeof(value), 0); in test_lookup_and_delete_lru_hash() 243 value[i] = 0; in test_lookup_and_delete_lru_percpu_hash() 247 &key, sizeof(key), value, sizeof(value), 0); in test_lookup_and_delete_lru_percpu_hash() [all …]
|