Home
last modified time | relevance | path

Searched refs:value (Results 701 – 725 of 13561) sorted by relevance

1...<<21222324252627282930>>...543

/openbmc/linux/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_bridge.c238 u32 value = SUN6I_CSI_IF_CFG_IF_CSI; in sun6i_csi_bridge_configure_parallel() local
256 value |= SUN6I_CSI_IF_CFG_IF_CSI_YUV_RAW; in sun6i_csi_bridge_configure_parallel()
259 value |= SUN6I_CSI_IF_CFG_FIELD_NEGATIVE; in sun6i_csi_bridge_configure_parallel()
261 value |= SUN6I_CSI_IF_CFG_FIELD_POSITIVE; in sun6i_csi_bridge_configure_parallel()
280 value |= SUN6I_CSI_IF_CFG_IF_CSI_BT1120; in sun6i_csi_bridge_configure_parallel()
282 value |= SUN6I_CSI_IF_CFG_IF_CSI_BT656; in sun6i_csi_bridge_configure_parallel()
303 value |= SUN6I_CSI_IF_CFG_DATA_WIDTH_8; in sun6i_csi_bridge_configure_parallel()
306 value |= SUN6I_CSI_IF_CFG_DATA_WIDTH_10; in sun6i_csi_bridge_configure_parallel()
309 value |= SUN6I_CSI_IF_CFG_DATA_WIDTH_12; in sun6i_csi_bridge_configure_parallel()
323 u32 value = SUN6I_CSI_IF_CFG_IF_MIPI; in sun6i_csi_bridge_configure_mipi_csi2() local
[all …]
/openbmc/qemu/hw/misc/
H A Diotkit-secctl.c315 uint32_t value = ppc->parent->secppcinten; in iotkit_secctl_ppc_update_irq_enable() local
356 s->nsccfg = value & 3; in iotkit_secctl_s_write()
360 value &= 1; in iotkit_secctl_s_write()
361 s->secrespcfg = value; in iotkit_secctl_s_write()
369 s->secppcinten = value & 0x00f000f3; in iotkit_secctl_s_write()
375 s->brginten = value & 0xffff0000; in iotkit_secctl_s_write()
382 iotkit_secctl_ppc_ns_write(ppc, value); in iotkit_secctl_s_write()
387 iotkit_secctl_ppc_ns_write(ppc, value); in iotkit_secctl_s_write()
394 iotkit_secctl_ppc_ns_write(ppc, value); in iotkit_secctl_s_write()
419 s->secmscinten = value; in iotkit_secctl_s_write()
[all …]
/openbmc/qemu/hw/gpio/
H A Dnrf51_gpio.c141 uint32_t value = s->dir; in reflect_dir_bit_in_cnf() local
189 trace_nrf51_gpio_write(offset, value); in nrf51_gpio_write()
193 s->out = value; in nrf51_gpio_write()
197 s->out |= value; in nrf51_gpio_write()
201 s->out &= ~value; in nrf51_gpio_write()
205 s->dir = value; in nrf51_gpio_write()
210 s->dir |= value; in nrf51_gpio_write()
215 s->dir &= ~value; in nrf51_gpio_write()
221 s->cnf[idx] = value; in nrf51_gpio_write()
250 trace_nrf51_gpio_set(line, value); in nrf51_gpio_set()
[all …]
/openbmc/linux/drivers/dma/dw-edma/
H A Ddw-edma-v0-core.c42 SET_32(dw, wr_##name, value); \
44 SET_32(dw, rd_##name, value); \
54 SET_32(dw, wr_##name, value); \
55 SET_32(dw, rd_##name, value); \
67 SET_64(dw, wr_##name, value); \
121 writel(value, addr); in writel_ch()
125 writel(value, addr); in writel_ch()
132 u32 value; in readl_ch() local
146 value = readl(addr); in readl_ch()
150 value = readl(addr); in readl_ch()
[all …]
/openbmc/qemu/hw/arm/
H A Dintegratorcp.c167 if (value & 8) { in integratorcm_set_ctrl()
197 s->cm_osc = value; in integratorcm_write()
210 s->cm_sdram = value; in integratorcm_write()
214 s->cm_init = value; in integratorcm_write()
217 s->cm_flags |= value; in integratorcm_write()
220 s->cm_flags &= ~value; in integratorcm_write()
223 s->cm_nvflags |= value; in integratorcm_write()
226 s->cm_nvflags &= ~value; in integratorcm_write()
229 s->irq_enabled |= value; in integratorcm_write()
417 if (value & 1) in icp_pic_write()
[all …]
/openbmc/linux/drivers/platform/x86/intel/
H A Dturbo_max_3.c37 u64 value, cmd = OC_MAILBOX_FC_CONTROL_CMD; in get_oc_core_priority() local
41 value = cmd << MSR_OC_MAILBOX_CMD_OFFSET; in get_oc_core_priority()
43 value |= BIT_ULL(MSR_OC_MAILBOX_BUSY_BIT); in get_oc_core_priority()
44 ret = wrmsrl_safe(MSR_OC_MAILBOX, value); in get_oc_core_priority()
51 ret = rdmsrl_safe(MSR_OC_MAILBOX, &value); in get_oc_core_priority()
57 if (value & BIT_ULL(MSR_OC_MAILBOX_BUSY_BIT)) { in get_oc_core_priority()
63 if ((value >> MSR_OC_MAILBOX_RSP_OFFSET) & 0xff) { in get_oc_core_priority()
69 ret = value & 0xff; in get_oc_core_priority()
/openbmc/linux/drivers/hwmon/
H A Dltq-cputemp.c35 int value; in ltq_read() local
40 value = (ltq_cgu_r32(CGU_GPHY1_CR) >> 9) & 0x01FF; in ltq_read()
41 value = value * 5; in ltq_read()
43 value -= 380; in ltq_read()
45 value = value * 100; in ltq_read()
51 *temp = value; in ltq_read()
/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_csr.h211 u64 value; member
230 u64 value; member
247 u64 value; member
264 u64 value; member
282 u64 value; member
300 u64 value; member
320 u64 value; member
341 u64 value; member
358 u64 value; member
378 u64 value; member
[all …]
/openbmc/linux/arch/m68k/coldfire/
H A Dgpio.c25 void __mcfgpio_set_value(unsigned gpio, int value) in __mcfgpio_set_value() argument
33 if (value) in __mcfgpio_set_value()
40 if (value) in __mcfgpio_set_value()
65 int __mcfgpio_direction_output(unsigned gpio, int value) in __mcfgpio_direction_output() argument
78 if (value) in __mcfgpio_direction_output()
84 if (value) in __mcfgpio_direction_output()
121 int value) in mcfgpio_direction_output() argument
123 return __mcfgpio_direction_output(offset, value); in mcfgpio_direction_output()
127 int value) in mcfgpio_set_value() argument
129 __mcfgpio_set_value(offset, value); in mcfgpio_set_value()
/openbmc/linux/net/ipv4/netfilter/
H A Dnf_nat_snmp_basic.asn128 integer-value
31 string-value
34 objectID-value
40 ipAddress-value
43 counter-value
46 timeticks-value
49 arbitrary-value
52 big-counter-value
55 unsigned-integer-value
160 value
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Ds3.py26 def convertToBytes(value, unit): argument
27 value = float(value)
29 value = value*1024.0;
31 value = value*1024.0*1024.0;
33 value = value*1024.0*1024.0*1024.0;
34 return value
/openbmc/phosphor-pid-control/pid/
H A Dfancontroller.cpp49 double value = 0.0; in inputProc() local
58 value = _owner->getCachedValues(name).unscaled; in inputProc()
68 if (!(std::isfinite(value))) in inputProc()
72 if (value <= 0.0) in inputProc()
77 values.push_back(value); in inputProc()
87 value = 0.0; in inputProc()
95 value = *result; in inputProc()
98 return value; in inputProc()
126 void FanController::outputProc(double value) in outputProc() argument
128 double percent = value; in outputProc()
/openbmc/phosphor-pid-control/dbus/
H A Ddbuswrite.cpp55 void DbusWritePercent::write(double value) in write() argument
57 return write(value, false, nullptr); in write()
60 void DbusWritePercent::write(double value, bool force, int64_t* written) in write() argument
66 double offset = range * value; in write()
124 void DbusWrite::write(double value) in write() argument
126 return write(value, false, nullptr); in write()
129 void DbusWrite::write(double value, bool force, int64_t* written) in write() argument
131 if (oldValue == static_cast<int64_t>(value)) in write()
147 std::variant<uint64_t>(static_cast<uint64_t>(value))); in write()
160 oldValue = static_cast<int64_t>(value); in write()
/openbmc/linux/drivers/usb/cdns3/
H A Dhost.c35 u32 value; in xhci_cdns3_plat_start() local
38 value = readl(&xhci->op_regs->command); in xhci_cdns3_plat_start()
39 value |= CMD_PM_INDEX; in xhci_cdns3_plat_start()
40 writel(value, &xhci->op_regs->command); in xhci_cdns3_plat_start()
43 value = readl(hcd->regs + XECP_AUX_CTRL_REG1); in xhci_cdns3_plat_start()
44 value |= CFG_RXDET_P3_EN; in xhci_cdns3_plat_start()
45 writel(value, hcd->regs + XECP_AUX_CTRL_REG1); in xhci_cdns3_plat_start()
47 value = readl(hcd->regs + XECP_PORT_CAP_REG); in xhci_cdns3_plat_start()
48 value |= LPM_2_STB_SWITCH_EN; in xhci_cdns3_plat_start()
49 writel(value, hcd->regs + XECP_PORT_CAP_REG); in xhci_cdns3_plat_start()
/openbmc/qemu/ui/
H A Dinput-linux.c143 if (event->value > 2 || (event->value > 1 && !il->repeat)) { in input_linux_handle_keyboard()
159 if (!il->keydown[event->code] && event->value) { in input_linux_handle_keyboard()
163 if (il->keydown[event->code] && !event->value) { in input_linux_handle_keyboard()
222 event->value); in input_linux_handle_mouse()
241 il->wheel = event->value; in input_linux_handle_mouse()
446 il->evdev = g_strdup(value); in input_linux_set_evdev()
456 static void input_linux_set_grab_all(Object *obj, bool value, in input_linux_set_grab_all() argument
461 il->grab_all = value; in input_linux_set_grab_all()
471 static void input_linux_set_repeat(Object *obj, bool value, in input_linux_set_repeat() argument
476 il->repeat = value; in input_linux_set_repeat()
[all …]
/openbmc/dbus-sensors/src/
H A DThresholds.cpp192 std::variant<double> value(threshold.value); in persistThreshold() local
202 "Set", thresholdInterface, "Value", value); in persistThreshold()
227 interface->set_property(property, threshold.value); in updateThresholds()
243 ChangeParam(Threshold whichThreshold, bool status, double value) : in ChangeParam()
269 if (value >= threshold.value) in checkThresholds()
271 thresholdChanges.emplace_back(threshold, true, value); in checkThresholds()
275 << threshold.value << " assert: value " << value in checkThresholds()
279 else if (value < (threshold.value - threshold.hysteresis)) in checkThresholds()
291 if (value <= threshold.value) in checkThresholds()
298 << threshold.value << " assert: value " << sensor->value in checkThresholds()
[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))
205 writel(value, idma64->regs + offset); in idma64_writel()
210 #define dma_writel(idma64, reg, value) \ argument
[all …]
/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()
173 __be32 tmp = value; in rocker_tlv_put_be32()
179 rocker_tlv_put_u64(struct rocker_desc_info *desc_info, int attrtype, u64 value) in rocker_tlv_put_u64() argument
[all …]
/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()
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()
118 rc = vsscanf(value, fmt, ap); in xs_node_vscanf()
[all …]
/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/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()
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()
166 *pos = (u8)value; in cn10k_rng_read()
[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 …]
/openbmc/phosphor-psu-code-mgmt/
H A Dmeson.options2 option('oe-sdk', type: 'feature', value: 'disabled', description: 'Enable OE SDK')
7 value: 'MANIFEST',
12 value: '/xyz/openbmc_project/software',
17 value: '/xyz/openbmc_project/inventory/system',
22 value: '/tmp/images',
32 value: '/usr/bin/psutils --raw --get-version',
42 value: '/usr/bin/psutils --raw --compare',
49 value: 'psu-update@.service',
54 value: '/var/lib/obmc/psu',
59 value: '/usr/share/obmc/psu',
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_dpipe.c139 if (!match_value->value) in mlxsw_sp_erif_entry_prepare()
145 if (!action_value->value) in mlxsw_sp_erif_entry_prepare()
423 if (!match_value->value) in mlxsw_sp_dpipe_table_host_entry_prepare()
467 rif_value = value->value; in __mlxsw_sp_dpipe_table_host_entry_fill()
474 memcpy(value->value, dip, value->value_size); in __mlxsw_sp_dpipe_table_host_entry_fill()
478 ha_value = value->value; in __mlxsw_sp_dpipe_table_host_entry_fill()
1043 p_index = value->value; in __mlxsw_sp_dpipe_table_adj_entry_fill()
1047 p_index = value->value; in __mlxsw_sp_dpipe_table_adj_entry_fill()
1051 p_index = value->value; in __mlxsw_sp_dpipe_table_adj_entry_fill()
1055 ether_addr_copy(value->value, ha); in __mlxsw_sp_dpipe_table_adj_entry_fill()
[all …]
/openbmc/linux/sound/soc/intel/common/
H A Dsst-dsp.c23 void sst_shim32_write(void __iomem *addr, u32 offset, u32 value) in sst_shim32_write() argument
25 writel(value, addr + offset); in sst_shim32_write()
37 writeq(value, addr + offset); in sst_shim32_write64()
53 sst->ops->write(sst->addr.shim, offset, value); in sst_dsp_shim_write()
73 sst->ops->write(sst->addr.shim, offset, value); in sst_dsp_shim_write_unlocked()
84 u32 mask, u32 value) in sst_dsp_shim_update_bits_unlocked() argument
93 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_unlocked()
105 u32 mask, u32 value) in sst_dsp_shim_update_bits_forced_unlocked() argument
113 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_forced_unlocked()
120 u32 mask, u32 value) in sst_dsp_shim_update_bits() argument
[all …]

1...<<21222324252627282930>>...543