/openbmc/qemu/hw/timer/ |
H A D | sifive_pwm.c | 276 uint32_t value = val64; in sifive_pwm_write() local 281 trace_sifive_pwm_write(value, addr); in sifive_pwm_write() 303 if (!(value & R_CONFIG_CMP0IP_MASK)) { in sifive_pwm_write() 307 if (!(value & R_CONFIG_CMP1IP_MASK)) { in sifive_pwm_write() 311 if (!(value & R_CONFIG_CMP2IP_MASK)) { in sifive_pwm_write() 331 s->pwmcfg = value; in sifive_pwm_write() 335 new_offset = value; in sifive_pwm_write() 354 s->pwmcmp[0] = value & PWMCMP_MASK; in sifive_pwm_write() 357 s->pwmcmp[1] = value & PWMCMP_MASK; in sifive_pwm_write() 360 s->pwmcmp[2] = value & PWMCMP_MASK; in sifive_pwm_write() [all …]
|
H A D | exynos4210_pwm.c | 223 uint32_t value = 0; in exynos4210_pwm_read() local 229 value = s->reg_tcfg[index]; in exynos4210_pwm_read() 233 value = s->reg_tcon; in exynos4210_pwm_read() 239 value = s->timer[index].reg_tcntb; in exynos4210_pwm_read() 245 value = s->timer[index].reg_tcmpb; in exynos4210_pwm_read() 255 value = s->reg_tint_cstat; in exynos4210_pwm_read() 264 return value; in exynos4210_pwm_read() 271 uint64_t value, unsigned size) in exynos4210_pwm_write() argument 281 s->reg_tcfg[index] = value; in exynos4210_pwm_write() 324 s->reg_tcon = value; in exynos4210_pwm_write() [all …]
|
/openbmc/qemu/system/ |
H A D | qemu-seccomp.c | 367 const char *value = NULL; in parse_sandbox() local 369 value = qemu_opt_get(opts, "obsolete"); in parse_sandbox() 370 if (value) { in parse_sandbox() 371 if (g_str_equal(value, "allow")) { in parse_sandbox() 384 if (value) { in parse_sandbox() 385 if (g_str_equal(value, "deny")) { in parse_sandbox() 404 value = qemu_opt_get(opts, "spawn"); in parse_sandbox() 405 if (value) { in parse_sandbox() 406 if (g_str_equal(value, "deny")) { in parse_sandbox() 417 if (value) { in parse_sandbox() [all …]
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | io.h | 26 u32 value; in dwc3_readl() local 33 value = readl(base + offs); in dwc3_readl() 35 return value; in dwc3_readl() 38 static inline void dwc3_writel(void __iomem *base, u32 offset, u32 value) in dwc3_writel() argument 47 writel(value, base + offs); in dwc3_writel()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.c | 209 struct nfp_bpf_cap_tlv_adjust_head __iomem *cap = value; in nfp_bpf_parse_cap_adjust_head() 240 struct nfp_bpf_cap_tlv_func __iomem *cap = value; in nfp_bpf_parse_cap_func() 268 struct nfp_bpf_cap_tlv_maps __iomem *cap = value; in nfp_bpf_parse_cap_maps() 326 bpf->abi_version = readl(value); in nfp_bpf_parse_cap_abi_version() 349 u8 __iomem *value; in nfp_bpf_parse_capabilities() local 354 value = mem + 8; in nfp_bpf_parse_capabilities() 362 if (nfp_bpf_parse_cap_func(app->priv, value, length)) in nfp_bpf_parse_capabilities() 366 if (nfp_bpf_parse_cap_adjust_head(app->priv, value, in nfp_bpf_parse_capabilities() 371 if (nfp_bpf_parse_cap_maps(app->priv, value, length)) in nfp_bpf_parse_capabilities() 383 if (nfp_bpf_parse_cap_adjust_tail(app->priv, value, in nfp_bpf_parse_capabilities() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | asus_wmi_sensors.c | 211 *version = obj->integer.value; in asus_wmi_get_version() 242 *count = obj->integer.value; in asus_wmi_get_item_count() 336 s->type = type_obj.integer.value; in asus_wmi_sensor_info() 372 *value = obj->integer.value; in asus_wmi_get_sensor_value() 382 long value = 0; in asus_wmi_update_values_for_source() local 393 sensor->cached_value = value; in asus_wmi_update_values_for_source() 412 return value * MILLI; in asus_wmi_scale_sensor_value() 414 return value; in asus_wmi_scale_sensor_value() 419 u32 *value) in asus_wmi_get_cached_value_or_update() argument 437 *value = sensor->cached_value; in asus_wmi_get_cached_value_or_update() [all …]
|
H A D | sl28cpld-hwmon.c | 38 unsigned int value; in sl28cpld_hwmon_read() local 44 &value); in sl28cpld_hwmon_read() 52 if (value & FAN_SCALE_X8) in sl28cpld_hwmon_read() 53 value = FIELD_GET(FAN_VALUE_MASK, value) << 3; in sl28cpld_hwmon_read() 59 value *= 60 / 2; in sl28cpld_hwmon_read() 66 *input = value; in sl28cpld_hwmon_read()
|
/openbmc/linux/sound/core/ |
H A D | vmaster.c | 70 follower->vals[ch] = uctl->value.integer.value[ch]; in follower_update() 107 follower->info.min_val = uinfo->value.integer.min; in follower_init() 108 follower->info.max_val = uinfo->value.integer.max; in follower_init() 146 ucontrol->value.integer.value[ch] = follower->vals[ch]; in follower_get_val() 162 ucontrol->value.integer.value[ch] &= in follower_put_val() 168 vol = ucontrol->value.integer.value[ch]; in follower_put_val() 174 ucontrol->value.integer.value[ch] = vol; in follower_put_val() 208 if (follower->vals[ch] != ucontrol->value.integer.value[ch]) { in follower_put() 210 follower->vals[ch] = ucontrol->value.integer.value[ch]; in follower_put() 337 ucontrol->value.integer.value[0] = master->val; in master_get() [all …]
|
/openbmc/qemu/hw/char/ |
H A D | pl011.c | 344 pl011_put_fifo(s, value); in pl011_loopback_tx() 365 ch = value; in pl011_write() 380 s->ilpr = value; in pl011_write() 401 s->lcr = value; in pl011_write() 406 s->cr = value; in pl011_write() 410 s->ifl = value; in pl011_write() 414 s->int_enabled = value; in pl011_write() 418 s->int_level &= ~value; in pl011_write() 422 s->dmacr = value; in pl011_write() 423 if (value & 3) { in pl011_write() [all …]
|
/openbmc/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-tvaudio.c | 319 __s32 left,right,value; in tvaudio_checkcarrier() local 339 pr_cont(" %6d", value >> 16); in tvaudio_checkcarrier() 361 scan->name, value, left, right); in tvaudio_checkcarrier() 362 return value; in tvaudio_checkcarrier() 691 saa_writel(reg,value); in saa_dsp_writel() 701 u32 value; in getstereo_7133() local 703 value = saa_readl(0x528 >> 2); in getstereo_7133() 704 if (value & 0x20) in getstereo_7133() 706 if (value & 0x40) in getstereo_7133() 763 u32 value, norms; in tvaudio_thread_ddep() local [all …]
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | inno_hdmi.c | 321 int value; in inno_hdmi_config_video_csc() local 394 int value; in inno_hdmi_config_video_timing() local 397 value = v_EXTERANL_VIDEO(1); in inno_hdmi_config_video_timing() 407 value = mode->htotal; in inno_hdmi_config_video_timing() 411 value = mode->htotal - mode->hdisplay; in inno_hdmi_config_video_timing() 415 value = mode->htotal - mode->hsync_start; in inno_hdmi_config_video_timing() 419 value = mode->hsync_end - mode->hsync_start; in inno_hdmi_config_video_timing() 423 value = mode->vtotal; in inno_hdmi_config_video_timing() 427 value = mode->vtotal - mode->vdisplay; in inno_hdmi_config_video_timing() 430 value = mode->vtotal - mode->vsync_start; in inno_hdmi_config_video_timing() [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | classmate-laptop.c | 82 param[1].integer.value = 0; in cmpc_start_accel_v4() 84 param[2].integer.value = 0; in cmpc_start_accel_v4() 86 param[3].integer.value = 0; in cmpc_start_accel_v4() 102 param[1].integer.value = 0; in cmpc_stop_accel_v4() 104 param[2].integer.value = 0; in cmpc_stop_accel_v4() 106 param[3].integer.value = 0; in cmpc_stop_accel_v4() 692 *value = output; in cmpc_get_tablet() 788 *value = output; in cmpc_get_brightness() 803 param[1].integer.value = value; in cmpc_set_brightness() 860 *value = output; in cmpc_get_rfkill_wlan() [all …]
|
/openbmc/qemu/hw/core/ |
H A D | qdev-properties-system.c | 69 const char *value; in get_drive() local 74 if (!*value) { in get_drive() 81 value = ""; in get_drive() 374 value[0], value[1], value[2], value[3], value[4], value[5]); in qdev_prop_set_macaddr() 501 if (value) { in qdev_prop_set_drive_err() 523 assert(!value || value->label); in qdev_prop_set_chr() 531 assert(!value || value->name); in qdev_prop_set_netdev() 557 int value; in qdev_propinfo_set_losttickpolicy() local 573 *ptr = value; in qdev_propinfo_set_losttickpolicy() 605 *ptr = value; in set_blocksize() [all …]
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_ioctl.c | 457 if (sens->value < 1 || sens->value > 3) in prism2_ioctl_siwsens() 548 else if (rts->value < 0 || rts->value > 2347) in prism2_ioctl_siwrts() 600 else if (rts->value < 256 || rts->value > 2346) in prism2_ioctl_siwfrag() 2367 if (value != 0 && value != 1) { in prism2_ioctl_priv_prism2_param() 2403 if (value < 0 || value > 3) { in prism2_ioctl_priv_prism2_param() 2412 if (value < 0 || value > 7 * 24 * 60 * 60) { in prism2_ioctl_priv_prism2_param() 2426 if (value < 0 || value > 65535) { in prism2_ioctl_priv_prism2_param() 2482 if (value < 0 || value > 2) { in prism2_ioctl_priv_prism2_param() 2589 if (value > 0 && value < INT_MAX / HZ) { in prism2_ioctl_priv_prism2_param() 2597 if (value < 0 || value > 3) { in prism2_ioctl_priv_prism2_param() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | atmel_lcdfb.c | 236 unsigned long value; in compute_hozval() local 242 value = xres; in compute_hozval() 246 value *= 3; in compute_hozval() 251 value = DIV_ROUND_UP(value, 4); in compute_hozval() 253 value = DIV_ROUND_UP(value, 8); in compute_hozval() 256 return value; in compute_hozval() 544 unsigned long value; in atmel_lcdfb_set_par() local 587 if (value < pix_factor) { in atmel_lcdfb_set_par() 591 value = (value / pix_factor) - 1; in atmel_lcdfb_set_par() 593 value); in atmel_lcdfb_set_par() [all …]
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl871x_mp.c | 129 iocmd.value = bb_addr; in r8712_bb_reg_read() 136 iocmd.value += 4; in r8712_bb_reg_read() 152 iocmd.value = bb_addr; in r8712_bb_reg_write() 156 u32 newValue = value; in r8712_bb_reg_write() 163 iocmd.value += 4; in r8712_bb_reg_write() 178 iocmd.value = rf_addr; in r8712_rf_reg_read() 216 u32 value) in set_bb_reg() argument 225 new_value = value; in set_bb_reg() 241 u32 value) in set_rf_reg() argument 250 new_value = value; in set_rf_reg() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/initramfs-framework/ |
H A D | init | 92 value="$value $p" 94 eval "bootparam_${quoted}=${value}" 105 value="`echo $p | cut -d'=' -f2-`" 106 if [ "`echo $value | sed -e 's/^\"//'`" != "$value" ]; then 110 eval "bootparam_${opt}=\"${value}\""
|
/openbmc/u-boot/drivers/net/ |
H A D | fsl_mdio.c | 16 int dev_addr, int regnum, int value) in tsec_local_mdio_write() argument 21 out_be32(&phyregs->miimcon, value); in tsec_local_mdio_write() 32 int value; in tsec_local_mdio_read() local 54 value = in_be32(&phyregs->miimstat); in tsec_local_mdio_read() 56 return value; in tsec_local_mdio_read() 84 u16 value) in tsec_phy_write() argument 89 tsec_local_mdio_write(phyregs, addr, dev_addr, regnum, value); in tsec_phy_write()
|
/openbmc/qemu/util/ |
H A D | event_notifier-posix.c | 106 static const uint64_t value = 1; in event_notifier_set() local 114 ret = write(e->wfd, &value, sizeof(value)); in event_notifier_set() 126 int value; in event_notifier_test_and_clear() local 135 value = 0; in event_notifier_test_and_clear() 138 value |= (len > 0); in event_notifier_test_and_clear() 141 return value; in event_notifier_test_and_clear()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_vcap.c | 226 if (value & (1 << i)) in vcap_data_set() 236 u32 i, v, m, value = 0; in vcap_data_get() local 242 value |= (1 << i); in vcap_data_get() 244 return value; in vcap_data_get() 288 value = 0; in vcap_key_bytes_set() 327 value); in vcap_action_set() 420 payload.value[i] = llc->llc.value[i]; in is2_entry_set() 564 val = proto.value[0]; in is2_entry_set() 607 payload.value[i] = ip_data->value[i]; in is2_entry_set() 732 val = proto.value[0]; in is1_entry_set() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | event_fifo_private.h | 60 hrt_data value; in is_event_pending() local 64 value = ia_css_device_load_uint32(event_source_query_addr[ID]); in is_event_pending() 65 return !_hrt_get_bit(value, EVENT_QUERY_BIT); in is_event_pending() 70 hrt_data value; in can_event_send_token() local 74 value = ia_css_device_load_uint32(event_sink_query_addr[ID]); in can_event_send_token() 75 return !_hrt_get_bit(value, EVENT_QUERY_BIT); in can_event_send_token()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | ns87303.h | 97 unsigned char value; in ns87303_modify() local 105 value = inb(port + 1); in ns87303_modify() 106 value &= ~(reserved[index] | clr); in ns87303_modify() 107 value |= set; in ns87303_modify() 108 outb(value, port + 1); in ns87303_modify() 109 outb(value, port + 1); in ns87303_modify()
|
/openbmc/linux/sound/drivers/pcsp/ |
H A D | pcsp_input.c | 44 unsigned int code, int value) in pcspkr_input_event() argument 55 if (value) in pcspkr_input_event() 56 value = 1000; in pcspkr_input_event() 69 if (value > 20 && value < 32767) in pcspkr_input_event() 70 count = PIT_TICK_RATE / value; in pcspkr_input_event()
|
/openbmc/phosphor-logging/ |
H A D | meson.options | 7 value: 'disabled' 14 value: 'callouts/callouts-example.yaml', 21 value: 200, 27 value: 10, 34 value: 'disabled', 41 value: '/etc/rsyslog.d/server.conf',
|
/openbmc/linux/tools/perf/util/ |
H A D | bpf_map.c | 31 void *prev_key = NULL, *key, *value; in bpf_map__fprintf() local 46 value = bpf_map__alloc_value(map); in bpf_map__fprintf() 47 if (value == NULL) in bpf_map__fprintf() 53 if (!bpf_map_lookup_elem(fd, key, value)) { in bpf_map__fprintf() 54 bool boolval = *(bool *)value; in bpf_map__fprintf() 67 free(value); in bpf_map__fprintf()
|