Home
last modified time | relevance | path

Searched refs:value (Results 1251 – 1275 of 13561) sorted by relevance

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

/openbmc/linux/sound/soc/tegra/
H A Dtegra186_asrc.c288 ucontrol->value.integer.value[0] = asrc->lane[id].int_part; in tegra186_asrc_get_ratio_int()
310 asrc->lane[id].int_part = ucontrol->value.integer.value[0]; in tegra186_asrc_put_ratio_int()
336 ucontrol->value.integer.value[0] = asrc->lane[id].frac_part; in tegra186_asrc_get_ratio_frac()
358 asrc->lane[id].frac_part = ucontrol->value.integer.value[0]; in tegra186_asrc_put_ratio_frac()
380 ucontrol->value.integer.value[0] = asrc->lane[id].hwcomp_disable; in tegra186_asrc_get_hwcomp_disable()
393 int value = ucontrol->value.integer.value[0]; in tegra186_asrc_put_hwcomp_disable() local
412 ucontrol->value.integer.value[0] = (asrc->lane[id].input_thresh & 0x3); in tegra186_asrc_get_input_threshold()
426 ucontrol->value.integer.value[0]; in tegra186_asrc_put_input_threshold()
431 asrc->lane[id].input_thresh = value; in tegra186_asrc_put_input_threshold()
445 ucontrol->value.integer.value[0] = (asrc->lane[id].output_thresh & 0x3); in tegra186_asrc_get_output_threshold()
[all …]
/openbmc/qemu/hw/misc/
H A Dimx6_ccm.c469 uint32_t value = 0; in imx6_ccm_read() local
473 value = s->ccm[index]; in imx6_ccm_read()
477 return (uint64_t)value; in imx6_ccm_read()
492 s->ccm[index] = (uint32_t)value; in imx6_ccm_write()
497 uint32_t value; in imx6_analog_read() local
525 value = s->analog[index - 1]; in imx6_analog_read()
550 value = s->analog[index - 2]; in imx6_analog_read()
575 value = s->analog[index - 3]; in imx6_analog_read()
578 value = s->analog[index]; in imx6_analog_read()
584 return (uint64_t)value; in imx6_analog_read()
[all …]
/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_plane.c43 #define VSC_BANK_LEN(value) FIELD_PREP(GENMASK(2, 0), value) argument
44 #define VSC_TOP_INI_RCV_NUM(value) FIELD_PREP(GENMASK(6, 3), value) argument
45 #define VSC_TOP_RPT_L0_NUM(value) FIELD_PREP(GENMASK(9, 8), value) argument
46 #define VSC_BOT_INI_RCV_NUM(value) FIELD_PREP(GENMASK(14, 11), value) argument
47 #define VSC_BOT_RPT_L0_NUM(value) FIELD_PREP(GENMASK(17, 16), value) argument
56 #define HSC_BANK_LENGTH(value) FIELD_PREP(GENMASK(2, 0), value) argument
57 #define HSC_INI_RCV_NUM0(value) FIELD_PREP(GENMASK(6, 3), value) argument
58 #define HSC_RPT_P0_NUM0(value) FIELD_PREP(GENMASK(9, 8), value) argument
63 #define SC_PHASE_STEP(value) FIELD_PREP(GENMASK(27, 0), value) argument
108 static inline int64_t fixed16_to_int(int64_t value) in fixed16_to_int() argument
[all …]
/openbmc/linux/drivers/usb/gadget/legacy/
H A Draw_gadget.c536 if (value) in raw_ioctl_run()
754 if (value) in raw_ioctl_ep0_stall()
875 int ret = 0, i = value; in raw_ioctl_ep_disable()
930 int ret = 0, i = value; in raw_ioctl_ep_set_clear_halt_wedge()
1141 if (value) in raw_ioctl_configure()
1258 ret = raw_ioctl_init(dev, value); in raw_ioctl()
1261 ret = raw_ioctl_run(dev, value); in raw_ioctl()
1282 ret = raw_ioctl_ep_read(dev, value); in raw_ioctl()
1298 dev, value, true, true); in raw_ioctl()
1302 dev, value, false, true); in raw_ioctl()
[all …]
/openbmc/qemu/hw/core/
H A Dmachine.c367 ms->dtb = g_strdup(value); in machine_set_dtb()
382 ms->dumpdtb = g_strdup(value); in machine_set_dumpdtb()
400 int64_t value; in machine_set_phandle_start() local
406 ms->phandle_start = value; in machine_set_phandle_start()
439 ms->dump_guest_core = value; in machine_set_dump_guest_core()
457 ms->mem_merge = value; in machine_set_mem_merge()
471 ms->usb = value; in machine_set_usb()
472 ms->usb_disabled = !value; in machine_set_usb()
486 ms->enable_graphics = value; in machine_set_graphics()
508 ms->suppress_vmdesc = value; in machine_set_suppress_vmdesc()
[all …]
/openbmc/qemu/qom/
H A Dobject.c500 g->value = g_strdup(value); in object_register_sugar_prop()
1505 if (value) { in object_property_set_link()
2254 char *value; in property_get_str() local
2264 g_free(value); in property_get_str()
2271 char *value; in property_set_str() local
2278 g_free(value); in property_set_str()
2332 bool value; in property_get_bool() local
2348 bool value; in property_set_bool() local
2395 int value; in property_get_enum() local
2411 int value; in property_set_enum() local
[all …]
/openbmc/linux/sound/soc/codecs/
H A Daw88261.c740 ucontrol->value.integer.value[0] = aw_dev->fade_in_time; in aw88261_get_fade_in_time()
755 time = ucontrol->value.integer.value[0]; in aw88261_set_fade_in_time()
775 ucontrol->value.integer.value[0] = aw_dev->fade_out_time; in aw88261_get_fade_out_time()
790 time = ucontrol->value.integer.value[0]; in aw88261_set_fade_out_time()
898 ucontrol->value.integer.value[0] = vol_desc->ctl_volume; in aw88261_volume_get()
911 int value; in aw88261_volume_set() local
913 value = ucontrol->value.integer.value[0]; in aw88261_volume_set()
915 if (value < mc->min || value > mc->max) in aw88261_volume_set()
946 int value; in aw88261_set_fade_step() local
948 value = ucontrol->value.integer.value[0]; in aw88261_set_fade_step()
[all …]
/openbmc/qemu/hw/net/
H A Dftgmac100.c792 s->isr &= ~value; in ftgmac100_write()
795 s->ier = value; in ftgmac100_write()
814 s->itc = value; in ftgmac100_write()
827 s->rbsr = value; in ftgmac100_write()
858 s->aptcr = value; in ftgmac100_write()
870 s->maccr = value; in ftgmac100_write()
881 s->phycr = value; in ftgmac100_write()
906 s->dblac = value; in ftgmac100_write()
909 s->revr = value; in ftgmac100_write()
912 s->fear1 = value; in ftgmac100_write()
[all …]
/openbmc/linux/drivers/base/power/
H A Dqos.c159 value = 0; in apply_constraint()
162 &req->data.pnode, action, value); in apply_constraint()
166 &req->data.pnode, action, value); in apply_constraint()
178 action, value); in apply_constraint()
355 FREQ_QOS_MIN, value); in __dev_pm_qos_add_request()
359 FREQ_QOS_MAX, value); in __dev_pm_qos_add_request()
703 if (!device_is_registered(dev) || value < 0) in dev_pm_qos_expose_latency_limit()
857 s32 value; in dev_pm_qos_update_flags() local
868 value = dev_pm_qos_requested_flags(dev); in dev_pm_qos_update_flags()
870 value |= mask; in dev_pm_qos_update_flags()
[all …]
/openbmc/linux/tools/perf/pmu-events/
H A Dmetric.py281 if rhs.value == '0':
338 def __init__(self, value: Union[float, str]):
341 dec = ctx.create_decimal(repr(value) if isinstance(value, float) else value)
343 self.value = self.value.replace('+', '')
344 self.value = self.value.replace('E', 'e')
347 return self.value
356 return isinstance(other, Constant) and self.value == other.value
365 def __init__(self, value: str):
366 self.value = value
369 return self.value
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddevlink.c502 value.vu32 = link_speed64; in mlx5_devlink_hairpin_params_init_values()
506 value.vu32 = in mlx5_devlink_hairpin_params_init_values()
537 value); in mlx5_devlink_set_params_init_values()
543 value); in mlx5_devlink_set_params_init_values()
546 value.vu32 = MLX5_COMP_EQ_SIZE; in mlx5_devlink_set_params_init_values()
549 value); in mlx5_devlink_set_params_init_values()
554 value); in mlx5_devlink_set_params_init_values()
587 value); in mlx5_devlink_eth_params_register()
639 value); in mlx5_devlink_rdma_params_register()
674 value); in mlx5_devlink_vnet_params_register()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-rdc321x.c33 u32 value = 0; in rdc_gpio_get_value() local
42 pci_read_config_dword(gpch->sb_pdev, reg, &value); in rdc_gpio_get_value()
45 return (1 << (gpio & 0x1f)) & value ? 1 : 0; in rdc_gpio_get_value()
49 unsigned gpio, int value) in rdc_gpio_set_value_impl() argument
56 if (value) in rdc_gpio_set_value_impl()
68 unsigned gpio, int value) in rdc_gpio_set_value() argument
74 rdc_gpio_set_value_impl(chip, gpio, value); in rdc_gpio_set_value()
79 unsigned gpio, int value) in rdc_gpio_config() argument
100 rdc_gpio_set_value_impl(chip, gpio, value); in rdc_gpio_config()
/openbmc/u-boot/doc/device-tree-bindings/memory/
H A Dmemory.txt7 and match-value ints to define a mask to apply to the board id, and the value
9 defaults to -1, meaning that the value must fully match the board id.
24 match-value.
25 match-value - The required resulting value of the board id mask for the given
27 auto-size - Indicates that the value given for a bank is the maximum size,
46 match-value = <17>;
52 match-value = <2>;
/openbmc/phosphor-host-ipmid/scripts/
H A Dwritesensor.mako.cpp122 % for name,value in preValues.items():
126 <% value = str(value).lower() %>\
127 ${value},
154 % for name,value in values.items():
161 <% value = str(value).lower() %>\
162 ${value},
164 ${value},
/openbmc/ibm-logging/
H A Dpolicy_find.cpp69 std::string value; in getAdditionalDataItem() local
75 value = item.substr(item.find('=') + 1); in getAdditionalDataItem()
78 return value; in getAdditionalDataItem()
279 auto value = stream.str(); in getSearchModifier() local
281 if (!value.empty()) in getSearchModifier()
283 std::transform(value.begin(), value.end(), value.begin(), in getSearchModifier()
285 return value; in getSearchModifier()
/openbmc/linux/drivers/pwm/
H A Dpwm-bcm2835.c41 u32 value; in bcm2835_pwm_request() local
43 value = readl(pc->base + PWM_CONTROL); in bcm2835_pwm_request()
44 value &= ~(PWM_CONTROL_MASK << PWM_CONTROL_SHIFT(pwm->hwpwm)); in bcm2835_pwm_request()
45 value |= (PWM_MODE << PWM_CONTROL_SHIFT(pwm->hwpwm)); in bcm2835_pwm_request()
46 writel(value, pc->base + PWM_CONTROL); in bcm2835_pwm_request()
54 u32 value; in bcm2835_pwm_free() local
56 value = readl(pc->base + PWM_CONTROL); in bcm2835_pwm_free()
57 value &= ~(PWM_CONTROL_MASK << PWM_CONTROL_SHIFT(pwm->hwpwm)); in bcm2835_pwm_free()
58 writel(value, pc->base + PWM_CONTROL); in bcm2835_pwm_free()
/openbmc/linux/arch/m68k/coldfire/
H A Dpci.c59 int where, int size, u32 *value) in mcf_pci_readconfig() argument
63 *value = 0xffffffff; in mcf_pci_readconfig()
77 *value = __raw_readb(addr); in mcf_pci_readconfig()
80 *value = le16_to_cpu(__raw_readw(addr)); in mcf_pci_readconfig()
83 *value = le32_to_cpu(__raw_readl(addr)); in mcf_pci_readconfig()
93 int where, int size, u32 value) in mcf_pci_writeconfig() argument
109 __raw_writeb(value, addr); in mcf_pci_writeconfig()
112 __raw_writew(cpu_to_le16(value), addr); in mcf_pci_writeconfig()
115 __raw_writel(cpu_to_le32(value), addr); in mcf_pci_writeconfig()
/openbmc/pldm/libpldmresponder/
H A Dbios_string_attribute.cpp73 PropertyValue value = in setAttrValueOnDbus() local
75 dbusHandler->setDbusProperty(*dBusMap, value); in setAttrValueOnDbus()
119 auto attributeValue = optAttributeValue.value(); in constructEntry()
160 std::string value = std::get<std::string>(attributevalue); in generateAttributeEntry() local
161 uint16_t len = value.size(); in generateAttributeEntry()
170 memcpy(entry->value, &len, sizeof(uint16_t)); in generateAttributeEntry()
171 memcpy(entry->value + sizeof(uint16_t), value.c_str(), value.size()); in generateAttributeEntry()
/openbmc/qemu/hw/intc/
H A Dgoldfish_pic.c77 uint64_t value = 0; in goldfish_pic_read() local
82 value = ctpop32(s->pending & s->enabled); in goldfish_pic_read()
86 value = s->pending & s->enabled; in goldfish_pic_read()
95 trace_goldfish_pic_read(s, s->idx, addr, size, value); in goldfish_pic_read()
97 return value; in goldfish_pic_read()
101 uint64_t value, unsigned size) in goldfish_pic_write() argument
105 trace_goldfish_pic_write(s, s->idx, addr, size, value); in goldfish_pic_write()
113 s->enabled &= ~value; in goldfish_pic_write()
116 s->enabled |= value; in goldfish_pic_write()
/openbmc/linux/tools/power/cpupower/utils/helpers/
H A Dsysfs.c52 unsigned long long value; in sysfs_is_cpu_online() local
82 value = strtoull(linebuf, &endp, 0); in sysfs_is_cpu_online()
83 if (value > 1) in sysfs_is_cpu_online()
86 return value; in sysfs_is_cpu_online()
160 const char *value, size_t len) in sysfs_idlestate_write_file() argument
173 numwrite = write(fd, value, len); in sysfs_idlestate_write_file()
207 unsigned long long value; in sysfs_idlestate_get_one_value() local
221 value = strtoull(linebuf, &endp, 0); in sysfs_idlestate_get_one_value()
226 return value; in sysfs_idlestate_get_one_value()
302 char value[SYSFS_PATH_MAX]; in sysfs_idlestate_disable() local
[all …]
/openbmc/linux/drivers/ssb/
H A Ddriver_gige.c48 u16 offset, u8 value) in gige_write8() argument
50 ssb_write8(dev->dev, offset, value); in gige_write8()
54 u16 offset, u16 value) in gige_write16() argument
56 ssb_write16(dev->dev, offset, value); in gige_write16()
60 u16 offset, u32 value) in gige_write32() argument
62 ssb_write32(dev->dev, offset, value); in gige_write32()
88 unsigned int offset, u8 value) in gige_pcicfg_write8() argument
91 gige_write8(dev, SSB_GIGE_PCICFG + offset, value); in gige_pcicfg_write8()
96 unsigned int offset, u16 value) in gige_pcicfg_write16() argument
99 gige_write16(dev, SSB_GIGE_PCICFG + offset, value); in gige_pcicfg_write16()
[all …]
/openbmc/u-boot/board/freescale/p1022ds/
H A Ddiu.c305 void pixis_write(unsigned int reg, u8 value) in pixis_write() argument
313 out_8(lbc_lcs1_ba, value); in pixis_write()
319 out_8(p + reg, value); in pixis_write()
339 void flash_write8(u8 value, void *addr) in flash_write8() argument
343 __raw_writeb(value, addr); in flash_write8()
357 void flash_write16(u16 value, void *addr) in flash_write16() argument
361 __raw_writew(value, addr); in flash_write16()
375 void flash_write32(u32 value, void *addr) in flash_write32() argument
379 __raw_writel(value, addr); in flash_write32()
393 void flash_write64(u64 value, void *addr) in flash_write64() argument
[all …]
/openbmc/u-boot/arch/arm/mach-omap2/omap4/
H A Dhw_data.c265 .mpu.value[OPP_NOM] = 1325,
269 .core.value[OPP_NOM] = 1200,
273 .mm.value[OPP_NOM] = 1200,
279 .mpu.value[OPP_NOM] = 1325,
283 .core.value[OPP_NOM] = 1200,
287 .mm.value[OPP_NOM] = 1200,
293 .mpu.value[OPP_NOM] = 1203,
297 .core.value[OPP_NOM] = 1200,
301 .mm.value[OPP_NOM] = 1200,
311 .mpu.value[OPP_NOM] = 1202,
[all …]
/openbmc/linux/drivers/tee/optee/
H A Doptee_private.h286 p->u.value.a = mp->u.value.a; in optee_from_msg_param_value()
287 p->u.value.b = mp->u.value.b; in optee_from_msg_param_value()
288 p->u.value.c = mp->u.value.c; in optee_from_msg_param_value()
296 mp->u.value.a = p->u.value.a; in optee_to_msg_param_value()
297 mp->u.value.b = p->u.value.b; in optee_to_msg_param_value()
298 mp->u.value.c = p->u.value.c; in optee_to_msg_param_value()
/openbmc/linux/drivers/macintosh/
H A Dwindfarm_ad7417_sensor.c36 static int wf_ad7417_temp_get(struct wf_sensor *sr, s32 *value) in wf_ad7417_temp_get() argument
43 *value = 0; in wf_ad7417_temp_get()
59 *value = ((s32)raw) << 8; in wf_ad7417_temp_get()
80 int chan, s32 raw, s32 *value) in wf_ad7417_adc_convert() argument
84 *value = (raw * (s32)pv->mpu->mdiode + in wf_ad7417_adc_convert()
88 *value = raw * ADC_12V_CURRENT_SCALE; in wf_ad7417_adc_convert()
91 *value = raw * ADC_CPU_VOLTAGE_SCALE; in wf_ad7417_adc_convert()
94 *value = raw * ADC_CPU_CURRENT_SCALE; in wf_ad7417_adc_convert()
107 *value = 0; in wf_ad7417_adc_get()
133 wf_ad7417_adc_convert(pv, chan, raw, value); in wf_ad7417_adc_get()
[all …]

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