Home
last modified time | relevance | path

Searched refs:value (Results 1351 – 1375 of 13561) sorted by relevance

1...<<51525354555657585960>>...543

/openbmc/phosphor-power/phosphor-regulators/test/
H A Dconfig_file_parser_tests.cpp329 "value": 0 in TEST()
372 "value": 0 in TEST()
1128 "value": 1 in TEST()
1357 "value": 1 in TEST()
2234 "value": 0 in TEST()
2282 "value": 0 in TEST()
2335 "value": 0 in TEST()
2352 "value": 0 in TEST()
2719 "value": 0 in TEST()
3402 value, in TEST()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/
H A Dqla3xxx.c108 u32 value; in ql_sem_spinlock() local
134 u32 value; in ql_sem_lock() local
177 u32 value; in ql_read_common_reg_l() local
194 u32 value; in ql_read_page0_reg_l() local
1121 value = in ql_mac_cfg_pause()
3228 value = in ql_adapter_initialize()
3233 ((value << 16) | value)); in ql_adapter_initialize()
3235 value = in ql_adapter_initialize()
3239 ((value << 16) | value)); in ql_adapter_initialize()
3289 value = in ql_adapter_reset()
[all …]
/openbmc/u-boot/examples/standalone/
H A Dsmc91111_eeprom.c28 int write_eeprom_reg (struct eth_device *dev, int value, int reg);
36 int c, i, j, done, line, reg, value, start, what; in smc91111_eeprom() local
138 value = 0; in smc91111_eeprom()
191 value = (value * 0x10) + j; in smc91111_eeprom()
197 printf ("Writing EEPROM register %02x with %04x\n", reg, value); in smc91111_eeprom()
198 write_eeprom_reg (&dev, value, reg); in smc91111_eeprom()
201 printf ("Writing MAC register bank %i, reg %02x with %04x\n", reg >> 4, reg & 0xE, value); in smc91111_eeprom()
203 SMC_outw (&dev, value, reg & 0xE); in smc91111_eeprom()
331 int write_eeprom_reg (struct eth_device *dev, int value, int reg) in write_eeprom_reg() argument
339 SMC_outw (dev, value, GP_REG); in write_eeprom_reg()
/openbmc/u-boot/cmd/
H A Dnvedit_efi.c233 char *tmp_buf = NULL, *new_buf = NULL, *value; in append_value() local
281 value = tmp_buf; in append_value()
297 value = tmp_buf; in append_value()
304 value = data; in append_value()
309 value = data; in append_value()
318 memcpy(new_buf + *sizep, value, len); in append_value()
344 char *var_name, *value = NULL; in do_env_set_efi() local
365 value = NULL; in do_env_set_efi()
372 if (append_value(&value, &size, argv[0]) < 0) { in do_env_set_efi()
391 size, value)); in do_env_set_efi()
[all …]
/openbmc/linux/drivers/clk/zynqmp/
H A Ddivider.c86 u32 div, value; in zynqmp_clk_divider_recalc_rate() local
96 value = div & 0xFFFF; in zynqmp_clk_divider_recalc_rate()
98 value = div >> 16; in zynqmp_clk_divider_recalc_rate()
101 value = 1 << value; in zynqmp_clk_divider_recalc_rate()
103 if (!value) { in zynqmp_clk_divider_recalc_rate()
110 return DIV_ROUND_UP_ULL(parent_rate, value); in zynqmp_clk_divider_recalc_rate()
176 u32 value, div; in zynqmp_clk_divider_set_rate() local
179 value = zynqmp_divider_get_val(parent_rate, rate, divider->flags); in zynqmp_clk_divider_set_rate()
181 div = value & 0xFFFF; in zynqmp_clk_divider_set_rate()
185 div |= value << 16; in zynqmp_clk_divider_set_rate()
/openbmc/linux/scripts/coccinelle/misc/
H A Ddo_div.cocci23 value = 0
28 value = int(str, 0)
31 value = int(str[:-3], 0)
34 value = int(str[:-2], 0)
37 value = int(str[:-2], 0)
40 value = int(str[:-1], 0)
43 value = int(str[:-1], 0)
47 value = 0
49 return is_digit, value
52 is_digit, value = get_digit_type_and_value(str)
[all …]
/openbmc/phosphor-health-monitor/
H A Dhealth_metric_config.cpp68 self.value = j.value("Value", 100.0); in from_json()
69 self.log = j.value("Log", false); in from_json()
70 self.target = j.value("Target", Threshold::defaults::target); in from_json()
77 j.value("Window_size", HealthMetric::defaults::windowSize); in from_json()
78 self.hysteresis = j.value("Hysteresis", HealthMetric::defaults::hysteresis); in from_json()
80 self.path = j.value("Path", ""); in from_json()
88 for (auto& [key, value] : thresholds->items()) in from_json()
96 auto config = value.template get<Threshold>(); in from_json()
97 if (!std::isfinite(config.value)) in from_json()
153 get<ThresholdIntf::Bound>(key), "VALUE", threshold.value, in printConfig()
/openbmc/linux/samples/bpf/
H A Dtest_lru_dist.c270 unsigned long long key, value = 1234; in do_test_lru_dist() local
334 unsigned long long key, value[nr_cpus]; in test_lru_loss0() local
352 value[0] = 1234; in test_lru_loss0()
369 if (bpf_map_lookup_elem(map_fd, &key, value)) { in test_lru_loss0()
388 unsigned long long key, value[nr_cpus]; in test_lru_loss1() local
404 value[0] = 1234; in test_lru_loss1()
410 if (bpf_map_lookup_elem(map_fd, &key, value)) in test_lru_loss1()
426 unsigned long long key, value[nr_cpus]; in do_test_parallel_lru_loss() local
433 value[0] = 1234; in do_test_parallel_lru_loss()
447 bpf_map_lookup_elem(map_fd, &key, value); in do_test_parallel_lru_loss()
[all …]
H A Dlwt_len_hist.bpf.c19 __type(value, u64);
49 __u64 *value, key, init_val = 1; in do_len_hist() local
53 value = bpf_map_lookup_elem(&lwt_len_hist_map, &key); in do_len_hist()
54 if (value) in do_len_hist()
55 __sync_fetch_and_add(value, 1); in do_len_hist()
/openbmc/linux/sound/soc/uniphier/
H A Devea.c234 ucontrol->value.integer.value[0] = evea->switch_lin; in evea_get_switch_lin()
245 if (evea->switch_lin == ucontrol->value.integer.value[0]) in evea_set_switch_lin()
248 evea->switch_lin = ucontrol->value.integer.value[0]; in evea_set_switch_lin()
259 ucontrol->value.integer.value[0] = evea->switch_lo; in evea_get_switch_lo()
270 if (evea->switch_lo == ucontrol->value.integer.value[0]) in evea_set_switch_lo()
273 evea->switch_lo = ucontrol->value.integer.value[0]; in evea_set_switch_lo()
284 ucontrol->value.integer.value[0] = evea->switch_hp; in evea_get_switch_hp()
295 if (evea->switch_hp == ucontrol->value.integer.value[0]) in evea_set_switch_hp()
298 evea->switch_hp = ucontrol->value.integer.value[0]; in evea_set_switch_hp()
/openbmc/linux/drivers/ssb/
H A Dpcmcia.c228 u8 value = 0xFF; in ssb_pcmcia_read8() local
233 value = readb(bus->mmio + offset); in ssb_pcmcia_read8()
236 return value; in ssb_pcmcia_read8()
244 u16 value = 0xFFFF; in ssb_pcmcia_read16() local
249 value = readw(bus->mmio + offset); in ssb_pcmcia_read16()
252 return value; in ssb_pcmcia_read16()
340 writeb(value, bus->mmio + offset); in ssb_pcmcia_write8()
446 u8 value; in ssb_pcmcia_sprom_command() local
488 *value = (lo | (((u16)hi) << 8)); in ssb_pcmcia_sprom_read()
509 (value & 0x00FF)); in ssb_pcmcia_sprom_write()
[all …]
/openbmc/linux/sound/i2c/other/
H A Dak4114.c174 uinfo->value.integer.min = 0; in snd_ak4114_in_error_info()
185 ucontrol->value.integer.value[0] = in snd_ak4114_in_error_get()
202 ucontrol->value.integer.value[0] = ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; in snd_ak4114_in_bit_get()
211 uinfo->value.integer.min = 0; in snd_ak4114_rate_info()
212 uinfo->value.integer.max = 192000; in snd_ak4114_rate_info()
221 ucontrol->value.integer.value[0] = external_rate(reg_read(chip, AK4114_REG_RCS1)); in snd_ak4114_rate_get()
282 uinfo->value.integer.min = 0; in snd_ak4114_spdif_pinfo()
294 ucontrol->value.integer.value[0] = 0xf8f2; in snd_ak4114_spdif_pget()
295 ucontrol->value.integer.value[1] = 0x4e1f; in snd_ak4114_spdif_pget()
297 ucontrol->value.integer.value[2] = tmp; in snd_ak4114_spdif_pget()
[all …]
/openbmc/linux/drivers/phy/broadcom/
H A Dphy-brcm-sata.c314 u32 tmp, value; in brcm_stb_sata_16nm_ssc_init() local
331 value = 0x52; in brcm_stb_sata_16nm_ssc_init()
333 value = 0; in brcm_stb_sata_16nm_ssc_init()
350 value); in brcm_stb_sata_16nm_ssc_init()
361 value = 0; in brcm_stb_sata_16nm_ssc_init()
374 value = 0; in brcm_stb_sata_16nm_ssc_init()
381 value = 0x51; in brcm_stb_sata_16nm_ssc_init()
383 value = 0; in brcm_stb_sata_16nm_ssc_init()
399 value = 0; in brcm_stb_sata_16nm_ssc_init()
402 value = tmp; in brcm_stb_sata_16nm_ssc_init()
[all …]
/openbmc/telemetry/tests/src/
H A Dtest_trigger_manager.cpp78 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
93 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
105 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
148 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
184 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
199 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
208 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
218 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
230 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
242 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
[all …]
/openbmc/linux/sound/pci/ice1712/
H A Dice1712.c255 if (ucontrol->value.integer.value[0]) in snd_ice1712_digmix_route_ac97_put()
1262 ucontrol->value.integer.value[0] = in snd_ice1712_pro_mixer_switch_get()
1264 ucontrol->value.integer.value[1] = in snd_ice1712_pro_mixer_switch_get()
1304 ucontrol->value.integer.value[0] = in snd_ice1712_pro_mixer_volume_get()
1306 ucontrol->value.integer.value[1] = in snd_ice1712_pro_mixer_volume_get()
1319 nval = (ucontrol->value.integer.value[0] & 127) | in snd_ice1712_pro_mixer_volume_put()
1724 ucontrol->value.integer.value[0] = in snd_ice1712_gpio_get()
1908 ucontrol->value.integer.value[0] = PRO_RATE_LOCKED; in snd_ice1712_pro_rate_locking_get()
1918 nval = ucontrol->value.integer.value[0] ? 1 : 0; in snd_ice1712_pro_rate_locking_put()
1939 ucontrol->value.integer.value[0] = PRO_RATE_RESET; in snd_ice1712_pro_rate_reset_get()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dvga.h8 void nvkm_wrport(struct nvkm_device *, int head, u16 port, u8 value);
12 void nvkm_wrvgas(struct nvkm_device *, int head, u8 index, u8 value);
16 void nvkm_wrvgag(struct nvkm_device *, int head, u8 index, u8 value);
20 void nvkm_wrvgac(struct nvkm_device *, int head, u8 index, u8 value);
24 void nvkm_wrvgai(struct nvkm_device *, int head, u16 port, u8 index, u8 value);
/openbmc/phosphor-time-manager/
H A Dmeson.options6 value: 'enabled',
12 # otherwise default value will be considered
13 # Command: meson configure -Doption=value
19 value : 'Mode::Manual',
25 value: '/xyz/openbmc_project/time/sync_method',
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsk_storage_omem_uncharge.c12 int sk_fd = -1, map_fd, err, value; in test_sk_storage_omem_uncharge() local
32 value = 0; in test_sk_storage_omem_uncharge()
33 err = bpf_map_update_elem(map_fd, &sk_fd, &value, 0); in test_sk_storage_omem_uncharge()
37 value = 0xdeadbeef; in test_sk_storage_omem_uncharge()
38 err = bpf_map_update_elem(map_fd, &sk_fd, &value, 0); in test_sk_storage_omem_uncharge()
/openbmc/linux/sound/soc/codecs/
H A Drl6347a.c16 int rl6347a_hw_write(void *context, unsigned int reg, unsigned int value) in rl6347a_hw_write() argument
28 rl6347a->index_cache[i].def = value; in rl6347a_hw_write()
43 data[2] = ((reg >> 8) & 0xff) | ((value >> 8) & 0xff); in rl6347a_hw_write()
44 data[3] = value & 0xff; in rl6347a_hw_write()
59 int rl6347a_hw_read(void *context, unsigned int reg, unsigned int *value) in rl6347a_hw_read() argument
100 *value = be32_to_cpu(buf); in rl6347a_hw_read()
/openbmc/u-boot/post/lib_powerpc/
H A Dstore.c42 ulong value; member
166 cpu_post_exec_12w (code, &base, test->offset, test->value); in cpu_post_test_store()
176 cpu_post_exec_11w (code, &base, test->value); in cpu_post_test_store()
192 ret = *(uchar *)(base0 + test->offset) == test->value ? in cpu_post_test_store()
196 ret = *(ushort *)(base0 + test->offset) == test->value ? in cpu_post_test_store()
200 ret = *(ulong *)(base0 + test->offset) == test->value ? in cpu_post_test_store()
/openbmc/linux/drivers/input/misc/
H A Dpcspkr.c24 unsigned int code, int value) in pcspkr_event() argument
34 if (value) in pcspkr_event()
35 value = 1000; in pcspkr_event()
43 if (value > 20 && value < 32767) in pcspkr_event()
44 count = PIT_TICK_RATE / value; in pcspkr_event()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_verify_pkcs7_sig.c39 __type(value, struct data);
51 __u64 value; in BPF_PROG() local
62 ret = bpf_probe_read_kernel(&value, sizeof(value), &attr->value); in BPF_PROG()
67 (void *)(unsigned long)value); in BPF_PROG()
/openbmc/linux/scripts/
H A Dcheck-sysctl-docs37 function trimpunct(value) {
38 while (value ~ /^["&]/) {
42 value = substr(value, 1, length(value) - 1)
44 return value
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/
H A Dcompare_presence.md5 Compares a hardware component's presence to an expected value. The hardware
17 | value | yes | boolean (true or false) | Expected presence value. …
21 Returns true if the actual presence value equals the expected value, otherwise
31 "value": true
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Dpmbus_read_sensor_action.cpp40 uint16_t value{0x00}; in execute() local
41 interface.read(command, value); in execute()
48 sensorValue = pmbus_utils::convertFromLinear(value); in execute()
53 pmbus_utils::convertFromVoutLinear(value, exponentValue); in execute()
89 ss << ", exponent: " << static_cast<int16_t>(exponent.value()); in toString()
103 return exponent.value(); in getExponentValue()

1...<<51525354555657585960>>...543