Home
last modified time | relevance | path

Searched refs:value (Results 1051 – 1075 of 13561) sorted by relevance

1...<<41424344454647484950>>...543

/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nffw.h79 u8 action, u8 token, u64 off, u32 *value);
81 u32 *value);
83 u8 action, u8 token, u64 off, u64 *value);
85 u64 *value);
91 u8 action, u8 token, u64 off, u32 value);
93 u32 value);
95 u8 action, u8 token, u64 off, u64 value);
97 u64 value);
102 u64 value);
/openbmc/linux/sound/firewire/motu/
H A Dmotu-command-dsp-message-parser.c32 u64 value; member
112 parser->value = fragment; in snd_motu_command_dsp_message_parser_parse()
123 parser->value >>= 8; in snd_motu_command_dsp_message_parser_parse()
124 parser->value |= (u64)fragment << 56; in snd_motu_command_dsp_message_parser_parse()
126 if (parser->value == VALUES_AT_IMAGE_END) { in snd_motu_command_dsp_message_parser_parse()
142 parser->value >>= 8; in snd_motu_command_dsp_message_parser_parse()
143 parser->value |= (u64)fragment << 56; in snd_motu_command_dsp_message_parser_parse()
152 u32 val = (u32)(parser->value >> 32); in snd_motu_command_dsp_message_parser_parse()
159 if (parser->value == VALUES_AT_IMAGE_END) { in snd_motu_command_dsp_message_parser_parse()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dunaligned-memory-access.rst160 void myfunc(u8 *data, u32 value)
163 *((u32 *) data) = cpu_to_le32(value);
183 void myfunc(u8 *data, u32 value)
186 *((u32 *) data) = cpu_to_le32(value);
192 void myfunc(u8 *data, u32 value)
195 value = cpu_to_le32(value);
196 put_unaligned(value, (u32 *) data);
203 u32 value = get_unaligned((u32 *) data);
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sysfs.c33 unsigned int value; in ixgbe_hwmon_show_temp() local
38 value = ixgbe_attr->sensor->temp; in ixgbe_hwmon_show_temp()
41 value *= 1000; in ixgbe_hwmon_show_temp()
43 return sprintf(buf, "%u\n", value); in ixgbe_hwmon_show_temp()
52 unsigned int value = ixgbe_attr->sensor->caution_thresh; in ixgbe_hwmon_show_cautionthresh() local
55 value *= 1000; in ixgbe_hwmon_show_cautionthresh()
57 return sprintf(buf, "%u\n", value); in ixgbe_hwmon_show_cautionthresh()
66 unsigned int value = ixgbe_attr->sensor->max_op_thresh; in ixgbe_hwmon_show_maxopthresh() local
69 value *= 1000; in ixgbe_hwmon_show_maxopthresh()
71 return sprintf(buf, "%u\n", value); in ixgbe_hwmon_show_maxopthresh()
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_param.c106 static int atl1e_validate_option(int *value, struct atl1e_option *opt, in atl1e_validate_option() argument
109 if (*value == OPTION_UNSET) { in atl1e_validate_option()
110 *value = opt->def; in atl1e_validate_option()
116 switch (*value) { in atl1e_validate_option()
128 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { in atl1e_validate_option()
130 opt->name, *value); in atl1e_validate_option()
140 if (*value == ent->i) { in atl1e_validate_option()
154 opt->name, *value, opt->err); in atl1e_validate_option()
155 *value = opt->def; in atl1e_validate_option()
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-zone-config/witherspoon/
H A Dzones.yaml25 - value: DEFAULT
28 - value: CUSTOM
34 - value: HEAVY_IO
39 - value: MAX_BASE_FAN_FLOOR
48 - value: DEFAULT
73 - value: DEFAULT
76 - value: CUSTOM
82 - value: HEAVY_IO
87 - value: MAX_BASE_FAN_FLOOR
96 - value: DEFAULT
/openbmc/linux/drivers/sh/intc/
H A Dchip.c92 unsigned int value; in intc_mask_ack() local
95 value = intc_set_field_from_handle(0, 1, handle); in intc_mask_ack()
100 __raw_writeb(0xff ^ value, addr); in intc_mask_ack()
104 __raw_writew(0xffff ^ value, addr); in intc_mask_ack()
108 __raw_writel(0xffffffff ^ value, addr); in intc_mask_ack()
178 unsigned char value = intc_irq_sense_table[type & IRQ_TYPE_SENSE_MASK]; in intc_set_type() local
182 if (!value) in intc_set_type()
185 value &= ~SENSE_VALID_FLAG; in intc_set_type()
190 if (value >= (1 << _INTC_WIDTH(ihp->handle))) in intc_set_type()
194 intc_reg_fns[_INTC_FN(ihp->handle)](addr, ihp->handle, value); in intc_set_type()
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dldap_config.hpp114 std::string ldapServerURI(std::string value) override;
120 std::string ldapBindDN(std::string value) override;
126 std::string ldapBaseDN(std::string value) override;
133 ldapSearchScope(ConfigIface::SearchScope value) override;
139 ConfigIface::Type ldapType(ConfigIface::Type value) override;
145 bool enabled(bool value) override;
151 std::string userNameAttribute(std::string value) override;
157 std::string groupNameAttribute(std::string value) override;
163 std::string ldapBindDNPassword(std::string value) override;
199 bool enableService(bool value);
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/Threshold/
H A DCritical.interface.yaml27 The upper bound of the critical threshold. A value of 'NaN' is used
33 The lower bound of the critical threshold. A value of 'NaN' is used
38 True if the sensor value has exceeded the defined bound. False if the
39 sensor value has not exceeded the defined bound.
46 True if the sensor value has exceeded the defined bound. False if the
47 sensor value has not exceeded the defined bound.
59 The sensor value that triggered the alarm change.
67 The sensor value that triggered the alarm change.
75 The sensor value that triggered the alarm change.
83 The sensor value that triggered the alarm change.
H A DHardShutdown.interface.yaml28 The upper bound of the shutdown threshold. A value of 'NaN' is used
34 The lower bound of the shutdown threshold. A value of 'NaN' is used
39 True if the sensor value has exceeded the defined bound. False if the
40 sensor value has not exceeded the defined bound.
47 True if the sensor value has exceeded the defined bound. False if the
48 sensor value has not exceeded the defined bound.
61 The sensor value that triggered the alarm change.
69 The sensor value that triggered the alarm change.
77 The sensor value that triggered the alarm change.
85 The sensor value that triggered the alarm change.
H A DWarning.interface.yaml27 The upper bound of the warning threshold. A value of 'NaN' is used to
33 The lower bound of the warning threshold. A value of 'NaN' is used to
38 True if the sensor value has exceeded the defined bound. False if the
39 sensor value has not exceeded the defined bound.
46 True if the sensor value has exceeded the defined bound. False if the
47 sensor value has not exceeded the defined bound.
59 The sensor value that triggered the alarm change.
67 The sensor value that triggered the alarm change.
75 The sensor value that triggered the alarm change.
83 The sensor value that triggered the alarm change.
H A DPerformanceLoss.interface.yaml27 The upper bound of the warning threshold. A value of 'NaN' is used to
33 The lower bound of the warning threshold. A value of 'NaN' is used to
38 True if the sensor value has exceeded the defined bound. False if the
39 sensor value has not exceeded the defined bound.
47 True if the sensor value has exceeded the defined bound. False if the
48 sensor value has not exceeded the defined bound.
61 The sensor value that triggered the alarm change.
69 The sensor value that triggered the alarm change.
77 The sensor value that triggered the alarm change.
85 The sensor value that triggered the alarm change.
H A DSoftShutdown.interface.yaml27 The upper bound of the soft shutdown threshold. A value of 'NaN' is
33 The lower bound of the soft shutdown threshold. A value of 'NaN' is
38 True if the sensor value has exceeded the defined bound. False if the
39 sensor value has not exceeded the defined bound.
46 True if the sensor value has exceeded the defined bound. False if the
47 sensor value has not exceeded the defined bound.
60 The sensor value that triggered the alarm change.
68 The sensor value that triggered the alarm change.
76 The sensor value that triggered the alarm change.
84 The sensor value that triggered the alarm change.
/openbmc/linux/drivers/firmware/xilinx/
H A Dzynqmp.c780 if (value) { in zynqmp_pm_set_sd_tapdelay()
901 value); in zynqmp_pm_read_pggs()
1008 if (!value) in zynqmp_pm_fpga_get_status()
1033 if (!value) in zynqmp_pm_fpga_get_config_status()
1136 if (!value) in zynqmp_pm_pinctrl_get_config()
1158 u32 value) in zynqmp_pm_pinctrl_set_config() argument
1668 value); in health_status_store()
1697 long value; in ggs_store() local
1765 long value; in pggs_store() local
1877 u32 value; in feature_config_value_store() local
[all …]
/openbmc/linux/drivers/of/
H A Dresolver.c61 phandle = be32_to_cpup(prop->value); in adjust_overlay_phandles()
65 *(__be32 *)prop->value = cpu_to_be32(overlay->phandle); in adjust_overlay_phandles()
77 char *value, *cur, *end, *node_path, *prop_name, *s; in update_usages_of_a_phandle_reference() local
81 value = kmemdup(prop_fixup->value, prop_fixup->length, GFP_KERNEL); in update_usages_of_a_phandle_reference()
82 if (!value) in update_usages_of_a_phandle_reference()
86 end = value + prop_fixup->length; in update_usages_of_a_phandle_reference()
87 for (cur = value; cur < end; cur += len + 1) { in update_usages_of_a_phandle_reference()
130 *(__be32 *)(prop->value + offset) = cpu_to_be32(phandle); in update_usages_of_a_phandle_reference()
134 kfree(value); in update_usages_of_a_phandle_reference()
191 off = be32_to_cpu(((__be32 *)prop_fix->value)[i]); in adjust_local_phandle_references()
[all …]
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_load_store.S5 .macro load_ok_test op, type, data, value
18 movi a6, \value
23 .macro load_unaligned_test will_trap, op, type, data, value
43 movi a6, \value
61 .macro load_unaligned_test will_trap, op, type, data, value
74 movi a6, \value
79 .macro store_ok_test op, type, value
92 movi a5, \value
105 .macro store_unaligned_test will_trap, op, nop, type, value
122 movi a5, \value
[all …]
/openbmc/linux/drivers/hwmon/
H A Datxp1.c170 unsigned long value; in gpio1_store() local
173 err = kstrtoul(buf, 16, &value); in gpio1_store()
177 value &= ATXP1_GPIO1MASK; in gpio1_store()
179 if (value != (data->reg.gpio1 & ATXP1_GPIO1MASK)) { in gpio1_store()
180 dev_info(dev, "Writing 0x%x to GPIO1.\n", (unsigned int)value); in gpio1_store()
182 i2c_smbus_write_byte_data(client, ATXP1_GPIO1, value); in gpio1_store()
215 unsigned long value; in gpio2_store() local
218 err = kstrtoul(buf, 16, &value); in gpio2_store()
221 value &= 0xff; in gpio2_store()
223 if (value != data->reg.gpio2) { in gpio2_store()
[all …]
/openbmc/qemu/hw/char/
H A Dgoldfish_tty.c49 uint64_t value = 0; in goldfish_tty_read() local
53 value = fifo8_num_used(&s->rx_fifo); in goldfish_tty_read()
56 value = GOLDFISH_TTY_VERSION; in goldfish_tty_read()
65 trace_goldfish_tty_read(s, addr, size, value); in goldfish_tty_read()
67 return value; in goldfish_tty_read()
132 trace_goldfish_tty_write(s, addr, size, value); in goldfish_tty_write()
136 c = value; in goldfish_tty_write()
140 goldfish_tty_cmd(s, value); in goldfish_tty_write()
143 s->data_ptr = value; in goldfish_tty_write()
146 s->data_ptr = deposit64(s->data_ptr, 32, 32, value); in goldfish_tty_write()
[all …]
/openbmc/qemu/hw/nvram/
H A Dfw_cfg.c300 uint64_t value = 0; in fw_cfg_data_read() local
311 value = (value << 8) | e->data[s->cur_offset++]; in fw_cfg_data_read()
317 value <<= 8 * size; in fw_cfg_data_read()
320 trace_fw_cfg_read(s, value); in fw_cfg_data_read()
321 return value; in fw_cfg_data_read()
464 s->dma_addr = value; in fw_cfg_dma_mem_write()
767 *copy = cpu_to_le16(value); in fw_cfg_add_i16()
777 *copy = cpu_to_le16(value); in fw_cfg_modify_i16()
787 *copy = cpu_to_le32(value); in fw_cfg_add_i32()
797 *copy = cpu_to_le32(value); in fw_cfg_modify_i32()
[all …]
/openbmc/linux/sound/pci/oxygen/
H A Dxonar_cs43xx.c70 oxygen_write_i2c(chip, I2C_DEVICE_CS4398, reg, value); in cs4398_write()
72 data->cs4398_regs[reg] = value; in cs4398_write()
79 if (value != data->cs4398_regs[reg]) in cs4398_write_cached()
80 cs4398_write(chip, reg, value); in cs4398_write_cached()
89 data->cs4362a_regs[reg] = value; in cs4362a_write()
96 if (value != data->cs4362a_regs[reg]) in cs4362a_write_cached()
97 cs4362a_write(chip, reg, value); in cs4362a_write_cached()
294 struct snd_ctl_elem_value *value) in rolloff_get() argument
299 value->value.enumerated.item[0] = in rolloff_get()
305 struct snd_ctl_elem_value *value) in rolloff_put() argument
[all …]
/openbmc/linux/kernel/
H A Dkexec_elf.c29 static uint64_t elf64_to_cpu(const struct elfhdr *ehdr, uint64_t value) in elf64_to_cpu() argument
32 value = le64_to_cpu(value); in elf64_to_cpu()
34 value = be64_to_cpu(value); in elf64_to_cpu()
36 return value; in elf64_to_cpu()
39 static uint32_t elf32_to_cpu(const struct elfhdr *ehdr, uint32_t value) in elf32_to_cpu() argument
42 value = le32_to_cpu(value); in elf32_to_cpu()
44 value = be32_to_cpu(value); in elf32_to_cpu()
46 return value; in elf32_to_cpu()
52 value = le16_to_cpu(value); in elf16_to_cpu()
54 value = be16_to_cpu(value); in elf16_to_cpu()
[all …]
/openbmc/u-boot/drivers/pci/
H A Dpcie_intel_fpga.c105 writel(value, pcie->cra_base + reg); in cra_writel()
167 if (value && in tlp_read_packet()
170 *value = dw[3]; in tlp_read_packet()
207 return tlp_read_packet(pcie, value); in tlp_cfg_dword_read()
220 tlp_write_packet(pcie, headers, value); in tlp_cfg_dword_write()
244 uint offset, ulong value, in intel_fpga_pcie_rp_wr_conf() argument
251 bdf, offset, value, size); in intel_fpga_pcie_rp_wr_conf()
257 pcie->first_busno = (u8)(value); in intel_fpga_pcie_rp_wr_conf()
311 offset, size, value); in _pcie_intel_fpga_write_config()
316 value, size); in _pcie_intel_fpga_write_config()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dtas5805m.c221 uinfo->value.integer.min = TAS5805M_VOLUME_MIN; in tas5805m_vol_info()
222 uinfo->value.integer.max = TAS5805M_VOLUME_MAX; in tas5805m_vol_info()
235 ucontrol->value.integer.value[0] = tas5805m->vol[0]; in tas5805m_vol_get()
236 ucontrol->value.integer.value[1] = tas5805m->vol[1]; in tas5805m_vol_get()
256 if (!(volume_is_valid(ucontrol->value.integer.value[0]) && in tas5805m_vol_put()
257 volume_is_valid(ucontrol->value.integer.value[1]))) in tas5805m_vol_put()
261 if (tas5805m->vol[0] != ucontrol->value.integer.value[0] || in tas5805m_vol_put()
262 tas5805m->vol[1] != ucontrol->value.integer.value[1]) { in tas5805m_vol_put()
263 tas5805m->vol[0] = ucontrol->value.integer.value[0]; in tas5805m_vol_put()
264 tas5805m->vol[1] = ucontrol->value.integer.value[1]; in tas5805m_vol_put()
/openbmc/linux/Documentation/bpf/
H A Dmap_bloom_filter.rst61 A ``value`` can be added to a bloom filter using the
71 long bpf_map_peek_elem(struct bpf_map *map, void *value)
75 if ``value`` is probably present in the map, or ``-ENOENT`` if ``value``
98 int bpf_map_lookup_elem (int fd, const void *key, void *value)
100 A userspace program can determine the presence of ``value`` in a bloom
102 parameter must be set to ``NULL``. Returns ``0`` if ``value`` is
103 probably present in the map, or ``-ENOENT`` if ``value`` is definitely
118 __type(value, __u32);
123 This snippet shows how to determine presence of a value in a bloom
155 sizeof(ipv6_addr), /* value size */
[all …]
/openbmc/qemu/hw/pci-host/
H A Di440fx.c144 uint32_t value; in i440fx_pcihost_get_pci_hole_start() local
147 value = val64; in i440fx_pcihost_get_pci_hole_start()
148 assert(value == val64); in i440fx_pcihost_get_pci_hole_start()
158 uint32_t value; in i440fx_pcihost_get_pci_hole_end() local
161 value = val64; in i440fx_pcihost_get_pci_hole_end()
162 assert(value == val64); in i440fx_pcihost_get_pci_hole_end()
178 uint64_t value; in i440fx_pcihost_get_pci_hole64_start_value() local
182 if (!value && s->pci_hole64_fix) { in i440fx_pcihost_get_pci_hole64_start_value()
185 return value; in i440fx_pcihost_get_pci_hole64_start_value()
211 uint64_t value, hole64_end; in i440fx_pcihost_get_pci_hole64_end() local
[all …]

1...<<41424344454647484950>>...543