Home
last modified time | relevance | path

Searched refs:value (Results 726 – 750 of 13074) sorted by relevance

1...<<21222324252627282930>>...523

/openbmc/linux/sound/usb/line6/
H A Dpcm.c25 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
46 if (line6pcm->impulse_volume == value) in snd_line6_impulse_volume_put()
49 line6pcm->impulse_volume = value; in snd_line6_impulse_volume_put()
50 if (value > 0) { in snd_line6_impulse_volume_put()
68 uinfo->value.integer.min = 0; in snd_line6_impulse_period_info()
69 uinfo->value.integer.max = 2000; in snd_line6_impulse_period_info()
78 ucontrol->value.integer.value[0] = line6pcm->impulse_period; in snd_line6_impulse_period_get()
[all …]
/openbmc/linux/Documentation/bpf/
H A Dmap_array.rst17 CPU whereas ``BPF_MAP_TYPE_ARRAY`` uses the same memory region. The value
44 with userspace reading the value, the user must use primitives like
45 ``__sync_fetch_and_add()`` when updating the value in-place.
52 long bpf_map_update_elem(struct bpf_map *map, const void *key, const void *value, u64 flags)
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;
132 value = bpf_map_lookup_elem(&my_map, &index);
133 if (value)
[all …]
/openbmc/linux/drivers/bcma/
H A Ddriver_chipcommon.c19 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()
264 void bcma_chipco_irq_mask(struct bcma_drv_cc *cc, u32 mask, u32 value) in bcma_chipco_irq_mask() argument
266 bcma_cc_write32_masked(cc, BCMA_CC_IRQMASK, mask, value); in bcma_chipco_irq_mask()
279 u32 bcma_chipco_gpio_out(struct bcma_drv_cc *cc, u32 mask, u32 value) in bcma_chipco_gpio_out() argument
285 res = bcma_cc_write32_masked(cc, BCMA_CC_GPIOOUT, mask, value); in bcma_chipco_gpio_out()
292 u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value) in bcma_chipco_gpio_outen() argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/nginx/files/
H A Dnginx-cross.patch35 value)
83 + --with-int=*) NGX_WITH_INT="$value" ;;
84 + --with-long=*) NGX_WITH_LONG="$value" ;;
85 + --with-long-long=*) NGX_WITH_LONG_LONG="$value" ;;
86 + --with-ptr-size=*) NGX_WITH_PTR_SIZE="$value" ;;
87 + --with-sig-atomic-t=*) NGX_WITH_SIG_ATOMIC_T="$value" ;;
88 + --with-size-t=*) NGX_WITH_SIZE_T="$value" ;;
89 + --with-off-t=*) NGX_WITH_OFF_T="$value" ;;
90 + --with-time-t=*) NGX_WITH_TIME_T="$value" ;;
91 + --with-sys-nerr=*) NGX_WITH_NGX_SYS_NERR="$value" ;;
[all …]
/openbmc/qemu/hw/intc/
H A Dgrlib_irqmp.c230 uint64_t value, unsigned size) in grlib_irqmp_write() argument
245 value &= 0xFFFF << 1; /* clean up the value */ in grlib_irqmp_write()
246 state->level = value; in grlib_irqmp_write()
256 value &= 0xFFFE; /* clean up the value */ in grlib_irqmp_write()
257 state->force[0] = value; in grlib_irqmp_write()
262 value &= ~1; /* clean up the value */ in grlib_irqmp_write()
264 grlib_irqmp_ack_mask(state, i, value); in grlib_irqmp_write()
274 value &= MP_STATUS_CPU_STATUS_MASK; in grlib_irqmp_write()
276 if ((value >> i) & 1) { in grlib_irqmp_write()
284 value &= 0xFFFE; /* clean up the value */ in grlib_irqmp_write()
[all …]
/openbmc/linux/sound/isa/msnd/
H A Dmsnd_pinnacle_mixer.c69 ucontrol->value.enumerated.item[0] = 0; in snd_msndmix_get_mux()
72 ucontrol->value.enumerated.item[0] = 1; in snd_msndmix_get_mux()
75 ucontrol->value.enumerated.item[0] = 2; in snd_msndmix_get_mux()
120 return snd_msndmix_set_mux(msnd, ucontrol->value.enumerated.item[0]); in snd_msndmix_put_mux()
129 uinfo->value.integer.min = 0; in snd_msndmix_volume_info()
130 uinfo->value.integer.max = 100; in snd_msndmix_volume_info()
142 ucontrol->value.integer.value[0] = msnd->left_levels[addr] * 100; in snd_msndmix_volume_get()
143 ucontrol->value.integer.value[0] /= 0xFFFF; in snd_msndmix_volume_get()
144 ucontrol->value.integer.value[1] = msnd->right_levels[addr] * 100; in snd_msndmix_volume_get()
145 ucontrol->value.integer.value[1] /= 0xFFFF; in snd_msndmix_volume_get()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-coresight-devices-tmc15 The value is read directly from HW register RSZ, 0x004.
21 Description: (Read) Shows the value held by the TMC status register. The value
28 Description: (Read) Shows the value held by the TMC RAM Read Pointer register
30 interface. The value is read directly from HW register RRP,
37 Description: (Read) Shows the value held by the TMC RAM Write Pointer register
39 the CoreSight bus into the Trace RAM. The value is read directly
46 Description: (Read) Similar to "trigger_cntr" above except that this value is
53 Description: (Read) Shows the value held by the TMC Control register. The value
60 Description: (Read) Shows the value held by the TMC Formatter and Flush Status
61 register. The value is read directly from HW register FFSR,
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dmodule_32.c190 static int patch_location_16(uint32_t *loc, u16 value) in patch_location_16() argument
193 return patch_instruction(loc, ppc_inst((*loc & 0xffff0000) | value)); in patch_location_16()
206 uint32_t value; in apply_relocate_add() local
219 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
224 *(uint32_t *)location = value; in apply_relocate_add()
229 if (patch_location_16(location, PPC_LO(value))) in apply_relocate_add()
235 if (patch_location_16(location, PPC_HI(value))) in apply_relocate_add()
240 if (patch_location_16(location, PPC_HA(value))) in apply_relocate_add()
245 if ((int)(value - (uint32_t)location) < -0x02000000 in apply_relocate_add()
246 || (int)(value - (uint32_t)location) >= 0x02000000) { in apply_relocate_add()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-bigbenff.c221 report_field->value[0] = 0x01; /* 1 = led message */ in bigben_worker()
222 report_field->value[1] = 0x08; /* reserved value, always 8 */ in bigben_worker()
223 report_field->value[2] = bigben->led_state; in bigben_worker()
224 report_field->value[3] = 0x00; /* padding */ in bigben_worker()
225 report_field->value[4] = 0x00; /* padding */ in bigben_worker()
226 report_field->value[5] = 0x00; /* padding */ in bigben_worker()
227 report_field->value[6] = 0x00; /* padding */ in bigben_worker()
228 report_field->value[7] = 0x00; /* padding */ in bigben_worker()
245 report_field->value[0] = 0x02; /* 2 = rumble effect message */ in bigben_worker()
246 report_field->value[1] = 0x08; /* reserved value, always 8 */ in bigben_worker()
[all …]
/openbmc/phosphor-virtual-sensor/
H A DvirtualSensor.hpp60 explicit SensorParam(double value) : value(value), paramType(constParam) {} in SensorParam() argument
81 double value = std::numeric_limits<double>::quiet_NaN(); member in phosphor::virtual_sensor::SensorParam
126 void setSensorValue(double value);
132 bool sensorInRange(double value);
206 void checkThresholds(V value, T& threshold) in checkThresholds() argument
215 if ((!alarmHigh && value >= threshold->high()) || in checkThresholds()
216 (alarmHigh && value < (threshold->high() - highHysteresis))) in checkThresholds()
223 threshold->alarmHighSignalAsserted(value); in checkThresholds()
230 threshold->alarmHighSignalDeasserted(value); in checkThresholds()
237 if ((!alarmLow && value <= threshold->low()) || in checkThresholds()
[all …]
/openbmc/qemu/util/
H A Dblock-helpers.c28 bool check_block_size(const char *name, int64_t value, Error **errp) in check_block_size() argument
30 if (!value) { in check_block_size()
35 if (value < MIN_BLOCK_SIZE || value > MAX_BLOCK_SIZE in check_block_size()
36 || (value & (value - 1))) { in check_block_size()
/openbmc/linux/sound/soc/codecs/
H A Dmax9759.c48 ucontrol->value.integer.value[0] = priv->gain; in speaker_gain_control_get()
67 if (ucontrol->value.integer.value[0] < 0 || in speaker_gain_control_put()
68 ucontrol->value.integer.value[0] > 3) in speaker_gain_control_put()
71 priv->gain = ucontrol->value.integer.value[0]; in speaker_gain_control_put()
89 ucontrol->value.integer.value[0] = !priv->is_mute; in speaker_mute_get()
100 priv->is_mute = !ucontrol->value.integer.value[0]; in speaker_mute_put()
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_tlv.h139 rocker_tlv_put_u8(struct rocker_desc_info *desc_info, int attrtype, u8 value) in rocker_tlv_put_u8() argument
141 u8 tmp = value; /* work around GCC PR81715 */ in rocker_tlv_put_u8()
147 rocker_tlv_put_u16(struct rocker_desc_info *desc_info, int attrtype, u16 value) in rocker_tlv_put_u16() argument
149 u16 tmp = value; in rocker_tlv_put_u16()
155 rocker_tlv_put_be16(struct rocker_desc_info *desc_info, int attrtype, __be16 value) in rocker_tlv_put_be16() argument
157 __be16 tmp = value; in rocker_tlv_put_be16()
163 rocker_tlv_put_u32(struct rocker_desc_info *desc_info, int attrtype, u32 value) in rocker_tlv_put_u32() argument
165 u32 tmp = value; in rocker_tlv_put_u32()
171 rocker_tlv_put_be32(struct rocker_desc_info *desc_info, int attrtype, __be32 value) in rocker_tlv_put_be32() argument
173 __be32 tmp = value; in rocker_tlv_put_be32()
[all …]
/openbmc/linux/include/linux/
H A Dbootconfig.h190 #define xbc_array_for_each_value(anode, value) \ argument
191 for (value = xbc_node_get_data(anode); anode != NULL ; \
193 value = anode ? xbc_node_get_data(anode) : NULL)
234 #define xbc_node_for_each_array_value(node, key, anode, value) \ argument
235 for (value = xbc_node_find_value(node, key, &anode); value != NULL; \
237 value = anode ? xbc_node_get_data(anode) : NULL)
248 #define xbc_node_for_each_key_value(node, knode, value) \ argument
249 for (knode = NULL, value = xbc_node_find_next_key_value(node, &knode);\
250 knode != NULL; value = xbc_node_find_next_key_value(node, &knode))
260 #define xbc_for_each_key_value(knode, value) \ argument
[all …]
H A Dgpio.h88 static inline int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() argument
90 return gpiod_direction_output_raw(gpio_to_desc(gpio), value); in gpio_direction_output()
97 static inline void gpio_set_value_cansleep(unsigned gpio, int value) in gpio_set_value_cansleep() argument
99 return gpiod_set_raw_value_cansleep(gpio_to_desc(gpio), value); in gpio_set_value_cansleep()
106 static inline void gpio_set_value(unsigned gpio, int value) in gpio_set_value() argument
108 return gpiod_set_raw_value(gpio_to_desc(gpio), value); in gpio_set_value()
175 static inline int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() argument
187 static inline void gpio_set_value(unsigned gpio, int value) in gpio_set_value() argument
200 static inline void gpio_set_value_cansleep(unsigned gpio, int value) in gpio_set_value_cansleep() argument
/openbmc/qemu/hw/xen/
H A Dxen-bus-helper.c75 char *path, *value; in xs_node_vprintf() local
80 len = g_vasprintf(&value, fmt, ap); in xs_node_vprintf()
82 trace_xs_node_vprintf(path, value); in xs_node_vprintf()
84 if (!qemu_xen_xs_write(h, tid, path, value, len)) { in xs_node_vprintf()
86 value, path); in xs_node_vprintf()
89 g_free(value); in xs_node_vprintf()
108 char *path, *value; in xs_node_vscanf() local
113 value = qemu_xen_xs_read(h, tid, path, NULL); in xs_node_vscanf()
115 trace_xs_node_vscanf(path, value); in xs_node_vscanf()
117 if (value) { in xs_node_vscanf()
[all …]
/openbmc/linux/drivers/char/hw_random/
H A Dcn10k-rng.c102 static bool cn10k_read_trng(struct cn10k_rng *rng, u64 *value) in cn10k_read_trng() argument
110 *value = readq(rng->reg_base + RNM_PF_TRNG_DAT); in cn10k_read_trng()
111 if (*value) in cn10k_read_trng()
119 *value = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng()
124 if (!*value) { in cn10k_read_trng()
132 *value = (upper & 0xFFFFFFFF00000000) | (lower & 0xFFFFFFFF); in cn10k_read_trng()
144 u64 value; in cn10k_rng_read() local
153 if (!cn10k_read_trng(rng, &value)) in cn10k_rng_read()
156 *((u64 *)pos) = value; in cn10k_rng_read()
162 if (!cn10k_read_trng(rng, &value)) in cn10k_rng_read()
[all …]
/openbmc/linux/drivers/dma/
H A Didma64.h157 u32 value) in idma64c_writel() argument
159 writel(value, idma64c->regs + offset); in idma64c_writel()
164 #define channel_writel(idma64c, reg, value) \ argument
165 idma64c_writel(idma64c, IDMA64_CH_##reg, (value))
173 u64 value) in idma64c_writeq() argument
175 lo_hi_writeq(value, idma64c->regs + offset); in idma64c_writeq()
180 #define channel_writeq(idma64c, reg, value) \ argument
181 idma64c_writeq(idma64c, IDMA64_CH_##reg, (value))
203 static inline void idma64_writel(struct idma64 *idma64, int offset, u32 value) in idma64_writel() argument
205 writel(value, idma64->regs + offset); in idma64_writel()
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Di2c_compare_bit_action.hpp58 explicit I2CCompareBitAction(uint8_t reg, uint8_t position, uint8_t value) : in I2CCompareBitAction() argument
59 reg{reg}, position{position}, value{value} in I2CCompareBitAction()
68 if (value > 1)
72 std::to_string(static_cast<unsigned>(value))};
125 return value; in getValue()
151 const uint8_t value{0}; member in phosphor::power::regulators::I2CCompareBitAction
H A Di2c_write_bit_action.hpp58 explicit I2CWriteBitAction(uint8_t reg, uint8_t position, uint8_t value) : in I2CWriteBitAction() argument
59 reg{reg}, position{position}, value{value} in I2CWriteBitAction()
68 if (value > 1)
72 std::to_string(static_cast<unsigned>(value))};
124 return value; in getValue()
150 const uint8_t value{0}; member in phosphor::power::regulators::I2CWriteBitAction
/openbmc/phosphor-pid-control/
H A Dinterfaces.hpp10 double value = std::numeric_limits<double>::quiet_NaN(); member
12 double unscaled = value;
16 return ((this->value == rhs.value) && (this->updated == rhs.updated) && in operator ==()
60 virtual void write(double value) = 0;
67 virtual void write(double value, bool force, int64_t* written) in write() argument
71 return write(value); in write()
/openbmc/skeleton/libopenbmc_intf/
H A Dopenbmc_intf.c875 hwmon_set_poll_interval (Hwmon *object, gint value) in hwmon_set_poll_interval() argument
877 g_object_set (G_OBJECT (object), "poll-interval", value, NULL); in hwmon_set_poll_interval()
913 gchar *value; in hwmon_dup_sysfs_path() local
914 g_object_get (G_OBJECT (object), "sysfs-path", &value, NULL); in hwmon_dup_sysfs_path()
915 return value; in hwmon_dup_sysfs_path()
928 hwmon_set_sysfs_path (Hwmon *object, const gchar *value) in hwmon_set_sysfs_path() argument
930 g_object_set (G_OBJECT (object), "sysfs-path", value, NULL); in hwmon_set_sysfs_path()
961 hwmon_set_scale (Hwmon *object, gint value) in hwmon_set_scale() argument
963 g_object_set (G_OBJECT (object), "scale", value, NULL); in hwmon_set_scale()
1009 GValue *value, in hwmon_proxy_get_property() argument
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dhtab_reuse.c26 struct htab_val value; in htab_lookup_fn() local
31 bpf_map_lookup_elem_flags(ctx->fd, &key, &value, BPF_F_LOCK); in htab_lookup_fn()
43 struct htab_val value; in htab_update_fn() local
47 value.lock = 0; in htab_update_fn()
48 value.data = key; in htab_update_fn()
49 bpf_map_update_elem(ctx->fd, &key, &value, BPF_F_LOCK); in htab_update_fn()
53 value.lock = 0; in htab_update_fn()
54 value.data = key; in htab_update_fn()
55 bpf_map_update_elem(ctx->fd, &key, &value, BPF_F_LOCK); in htab_update_fn()
/openbmc/u-boot/board/amazon/kc1/
H A Dkc1.c90 u32 value; in misc_init_r() local
100 value = gpio_get_value(KC1_GPIO_USB_ID); in misc_init_r()
102 if (value) in misc_init_r()
139 u32 value = 0; in get_board_rev() local
151 value |= (gpio_get_value(KC1_GPIO_MBID0) << 0); in get_board_rev()
152 value |= (gpio_get_value(KC1_GPIO_MBID1) << 1); in get_board_rev()
153 value |= (gpio_get_value(KC1_GPIO_MBID2) << 2); in get_board_rev()
154 value |= (gpio_get_value(KC1_GPIO_MBID3) << 3); in get_board_rev()
156 return value; in get_board_rev()
/openbmc/openbmc-test-automation/ffdc/plugins/
H A Dredfish.py126 for key, value in data.items():
128 if isinstance(value, dict):
129 walk_nested_dict(value)
133 if isinstance(value, list):
134 for memberDict in value:
141 value = value.rstrip("/")
143 if value == url:
147 pending_enumeration.add(value)

1...<<21222324252627282930>>...523