/openbmc/qemu/hw/input/ |
H A D | tsc2005.c | 31 #define TSC_CUT_RESOLUTION(value, p) ((value) >> (16 - (p ? 12 : 10))) argument 342 if (value & 0x80) { in tsc2005_txrx_word() 344 if (value & (1 << 1)) in tsc2005_txrx_word() 349 if (s->enabled != !(value & 1)) { in tsc2005_txrx_word() 350 s->enabled = !(value & 1); in tsc2005_txrx_word() 361 } else if (value) { in tsc2005_txrx_word() 363 s->reg = (value >> 3) & 0xf; in tsc2005_txrx_word() 364 s->pnd0 = (value >> 1) & 1; in tsc2005_txrx_word() 365 s->command = value & 1; in tsc2005_txrx_word() 381 s->data |= value << 8; in tsc2005_txrx_word() [all …]
|
/openbmc/linux/drivers/video/fbdev/nvidia/ |
H A D | nv_setup.c | 63 VGA_WR08(par->PCIO, par->IOBase + 0x05, value); in NVWriteCrtc() 73 VGA_WR08(par->PVIO, VGA_GFX_D, value); in NVWriteGr() 83 VGA_WR08(par->PVIO, VGA_SEQ_D, value); in NVWriteSeq() 99 VGA_WR08(par->PCIO, VGA_ATT_W, value); in NVWriteAttr() 111 void NVWriteMiscOut(struct nvidia_par *par, u8 value) in NVWriteMiscOut() argument 113 VGA_WR08(par->PVIO, VGA_MIS_W, value); in NVWriteMiscOut() 119 void NVWriteDacMask(struct nvidia_par *par, u8 value) in NVWriteDacMask() argument 121 VGA_WR08(par->PDIO, VGA_PEL_MSK, value); in NVWriteDacMask() 125 VGA_WR08(par->PDIO, VGA_PEL_IR, value); in NVWriteDacReadAddr() 129 VGA_WR08(par->PDIO, VGA_PEL_IW, value); in NVWriteDacWriteAddr() [all …]
|
/openbmc/openbmc-test-automation/lib/ras/ |
H A D | host_utils.robot | 39 [Arguments] ${proc_chip_id} ${fir_address} ${value} 43 # value (e.g 4000000000000000). 87 ... core value & target type. 109 [Arguments] ${fir_address} ${value} ${threshold_limit} 113 # value (e.g 2000000000000000). 128 ... ${value} 188 # value (e.g. '2000000000000000'). 199 Pdbg -p0 putscom 0x${fir_address} 0x${value} 216 [Arguments] ${fir_address} ${value} 219 # value (e.g. '2000000000000000'). [all …]
|
/openbmc/dbus-sensors/src/ |
H A D | IpmbSensor.cpp | 352 value |= 0xFF00; in processReading() 354 resp = value; in processReading() 359 resp = value; in processReading() 365 resp = value / 1000.0; in processReading() 382 resp = value; in processReading() 412 value <<= shift; in processReading() 413 value >>= shift; in processReading() 414 resp = value; in processReading() 449 double value = 0; in ipmbRequestCompletionCb() local 470 value = (value * scaleVal) + offsetVal; in ipmbRequestCompletionCb() [all …]
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_midi_emul.c | 39 int control, int value); 158 ev->data.control.value & 0x7f; in snd_midi_process_event() 165 ev->data.control.value); in snd_midi_process_event() 171 = (ev->data.control.value >> 7) & 0x7f; in snd_midi_process_event() 173 = ev->data.control.value & 0x7f; in snd_midi_process_event() 186 = ev->data.control.value & 0x7f; in snd_midi_process_event() 270 value = (value >= 64)? 127: 0; in do_control() 272 chan->control[control] = value; in do_control() 276 if (value == 0) { in do_control() 290 if (value) { in do_control() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_property.c | 390 uint64_t value, const char *name) in drm_property_add_enum() argument 407 value > 63)) in drm_property_add_enum() 411 if (WARN_ON(prop_enum->value == value)) in drm_property_add_enum() 424 prop_enum->value = value; in drm_property_add_enum() 426 property->values[index] = value; in drm_property_add_enum() 885 if (value < property->values[0] || value > property->values[1]) in drm_property_change_valid_get() 889 int64_t svalue = U642I64(value); in drm_property_change_valid_get() 900 return !(value & ~valid_mask); in drm_property_change_valid_get() 904 if (value == 0) in drm_property_change_valid_get() 916 if (value == 0) in drm_property_change_valid_get() [all …]
|
/openbmc/qemu/hw/dma/ |
H A D | pxa2xx_dma.c | 345 if (value & DRCMR_MAPVLD) in pxa2xx_dma_write() 350 s->req[channel] = value; in pxa2xx_dma_write() 369 if (value & DCSR_NODESCFETCH) { in pxa2xx_dma_write() 371 if (value & DCSR_RUN) { in pxa2xx_dma_write() 377 if (value & DCSR_RUN) { in pxa2xx_dma_write() 388 if (value & DCSR_CLRCMPST) in pxa2xx_dma_write() 390 if (value & DCSR_SETCMPST) in pxa2xx_dma_write() 397 s->align = value; in pxa2xx_dma_write() 401 s->pio = value & 0x80000001; in pxa2xx_dma_write() 412 s->chan[channel].src = value; in pxa2xx_dma_write() [all …]
|
H A D | xlnx_dpdma.c | 514 value &= 0x0000FFFF; in xlnx_dpdma_write() 515 s->registers[offset] = value; in xlnx_dpdma_write() 519 value &= 0x3FFFFFFF; in xlnx_dpdma_write() 520 s->registers[offset] = value; in xlnx_dpdma_write() 524 value &= 0x3FFFFFFF; in xlnx_dpdma_write() 525 s->registers[offset] = value; in xlnx_dpdma_write() 529 value &= 0x3FFFFFFF; in xlnx_dpdma_write() 530 s->registers[offset] = value; in xlnx_dpdma_write() 534 value &= 0x3FFFFFFF; in xlnx_dpdma_write() 539 value &= 0x3FFFFFFF; in xlnx_dpdma_write() [all …]
|
/openbmc/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_ioctl.c | 86 int value; in virtio_gpu_getparam_ioctl() local 90 value = vgdev->has_virgl_3d ? 1 : 0; in virtio_gpu_getparam_ioctl() 93 value = 1; in virtio_gpu_getparam_ioctl() 108 value = vgdev->capset_id_mask; in virtio_gpu_getparam_ioctl() 113 if (copy_to_user(u64_to_user_ptr(param->value), &value, sizeof(int))) in virtio_gpu_getparam_ioctl() 600 value = ctx_set_params[i].value; in virtio_gpu_context_init_ioctl() 604 if (value > MAX_CAPSET_ID) { in virtio_gpu_context_init_ioctl() 621 vfpriv->context_init |= value; in virtio_gpu_context_init_ioctl() 629 if (value > MAX_RINGS) { in virtio_gpu_context_init_ioctl() 635 vfpriv->num_rings = value; in virtio_gpu_context_init_ioctl() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | imx6ul_ccm.c | 626 uint32_t value = 0; in imx6ul_ccm_read() local 632 value = s->ccm[index]; in imx6ul_ccm_read() 636 return (uint64_t)value; in imx6ul_ccm_read() 650 ((uint32_t)value & ~ccm_mask[index]); in imx6ul_ccm_write() 655 uint32_t value; in imx6ul_analog_read() local 687 value = s->analog[index - 1]; in imx6ul_analog_read() 714 value = s->analog[index - 2]; in imx6ul_analog_read() 741 value = s->analog[index - 3]; in imx6ul_analog_read() 744 value = s->analog[index]; in imx6ul_analog_read() 750 return (uint64_t)value; in imx6ul_analog_read() [all …]
|
/openbmc/qemu/hw/char/ |
H A D | stm32l4x5_usart.c | 340 if (value < 16) { in stm32l4x5_update_params() 351 usart_div = value; in stm32l4x5_update_params() 360 usart_div = ((value & 0xFFF0) | ((value & 0x0007) << 1)) / 2; in stm32l4x5_update_params() 472 s->cr1 = value; in stm32l4x5_usart_base_write() 478 s->cr2 = value; in stm32l4x5_usart_base_write() 482 s->cr3 = value; in stm32l4x5_usart_base_write() 485 s->brr = value; in stm32l4x5_usart_base_write() 489 s->gtpr = value; in stm32l4x5_usart_base_write() 492 s->rtor = value; in stm32l4x5_usart_base_write() 503 s->isr &= ~value; in stm32l4x5_usart_base_write() [all …]
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | names_values.hpp | 50 void add(const std::string& name, uint64_t value) in add() argument 54 addValue(value); in add() 84 void addValue(uint64_t value) in addValue() argument 87 stream << "0x" << std::hex << value; in addValue()
|
/openbmc/phosphor-power/ |
H A D | names_values.hpp | 50 void add(const std::string& name, uint64_t value) in add() argument 54 addValue(value); in add() 84 void addValue(uint64_t value) in addValue() argument 87 stream << "0x" << std::hex << value; in addValue()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | task_storage_nodeadlock.c | 21 __type(value, int); 30 int *value; in BPF_PROG() local 36 value = bpf_task_storage_get(&task_storage, task, &zero, in BPF_PROG() 38 if (!value) in BPF_PROG()
|
/openbmc/linux/arch/arm/boot/compressed/ |
H A D | misc-ep93xx.h | 13 static inline void __raw_writeb(unsigned char value, unsigned int ptr) in __raw_writeb() argument 15 *((volatile unsigned char *)ptr) = value; in __raw_writeb() 18 static inline void __raw_writel(unsigned int value, unsigned int ptr) in __raw_writel() argument 20 *((volatile unsigned int *)ptr) = value; in __raw_writel()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_debugfs.c | 149 uint32_t value; in amdgpu_debugfs_process_reg_op() local 236 uint32_t value; in amdgpu_debugfs_regs2_op() local 458 uint32_t value; in amdgpu_debugfs_gprwave_read() local 541 uint32_t value; in amdgpu_debugfs_regs_pcie_read() local 597 uint32_t value; in amdgpu_debugfs_regs_pcie_write() local 657 uint32_t value; in amdgpu_debugfs_regs_didt_read() local 716 uint32_t value; in amdgpu_debugfs_regs_didt_write() local 776 uint32_t value; in amdgpu_debugfs_regs_smc_read() local 1295 u32 value; in amdgpu_debugfs_gfxoff_residency_write() local 1343 u64 value = 0; in amdgpu_debugfs_gfxoff_count_read() local [all …]
|
/openbmc/phosphor-inventory-manager/ |
H A D | pimgen.py | 172 self.value = kw.pop("value") 182 a = str(self.value) 295 for prop, value in properties.items(): 299 **value 338 value = kw.pop("value") 349 member_type = cppTypeName(value["type"]) 363 args.append(TrivialArgument(value=str(iface), type="string")) 366 value=member, decorators=[Cast("static", member_cast)] 369 args.append(TrivialArgument(**value)) 402 path = TrivialArgument(value="nullptr") [all …]
|
/openbmc/linux/sound/soc/sh/ |
H A D | siu_dai.c | 346 uinfo->value.integer.min = 0; in siu_dai_info_volume() 365 ucontrol->value.integer.value[0] = vol & 0xffff; in siu_dai_get_volume() 366 ucontrol->value.integer.value[1] = vol >> 16 & 0xffff; in siu_dai_get_volume() 371 ucontrol->value.integer.value[0] = vol & 0xffff; in siu_dai_get_volume() 372 ucontrol->value.integer.value[1] = vol >> 16 & 0xffff; in siu_dai_get_volume() 395 if (ucontrol->value.integer.value[0] < 0 || in siu_dai_put_volume() 396 ucontrol->value.integer.value[0] > SIU_MAX_VOLUME || in siu_dai_put_volume() 397 ucontrol->value.integer.value[1] < 0 || in siu_dai_put_volume() 398 ucontrol->value.integer.value[1] > SIU_MAX_VOLUME) in siu_dai_put_volume() 401 new_vol = ucontrol->value.integer.value[0] | in siu_dai_put_volume() [all …]
|
/openbmc/linux/fs/ufs/ |
H A D | util.h | 52 struct ufs_super_block_third *usb3, s32 value) in ufs_set_fs_state() argument 57 usb1->fs_u0.fs_sun.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state() 62 usb3->fs_un2.fs_sun.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state() 68 usb3->fs_un2.fs_44.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state() 144 de->d_u.d_namlen = cpu_to_fs16(sb, value); in ufs_set_de_namlen() 205 inode->ui_u3.ui_44.ui_uid = cpu_to_fs32(sb, value); in ufs_set_inode_uid() 210 if (value > 0xFFFF) in ufs_set_inode_uid() 211 value = 0xFFFF; in ufs_set_inode_uid() 239 inode->ui_u3.ui_44.ui_gid = cpu_to_fs32(sb, value); in ufs_set_inode_gid() 244 if (value > 0xFFFF) in ufs_set_inode_gid() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_helper.c | 87 uint32_t value; member 98 uint32_t value, in set_reg_field_value_masks() argument 104 field_value_mask->value = (field_value_mask->value & ~mask) | (mask & (value << shift)); in set_reg_field_value_masks() 184 return field_value_mask->value; in dmub_reg_value_pack() 206 return field_value_mask->value; in dmub_reg_value_pack() 494 uint32_t value = 0; in generic_read_indirect_reg() local 505 return value; in generic_read_indirect_reg() 515 uint32_t value = 0; in generic_indirect_reg_get() local 536 return value; in generic_indirect_reg_get() 605 uint32_t value = 0; in generic_indirect_reg_get_sync() local [all …]
|
/openbmc/telemetry/tests/src/ |
H A D | test_report_manager.cpp | 127 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F() 140 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F() 159 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F() 172 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F() 185 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F() 198 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F() 210 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F() 222 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F() 233 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F() 430 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | dib7000p.c | 979 value = 0; in dib7000p_set_channel() 1021 value |= 2; in dib7000p_set_channel() 1024 value |= 4; in dib7000p_set_channel() 1028 value |= 1; in dib7000p_set_channel() 1035 value = 0; in dib7000p_set_channel() 1041 value |= 1; in dib7000p_set_channel() 1078 value = 64; in dib7000p_set_channel() 1083 value *= 2; in dib7000p_set_channel() 1126 for (value = 0; value < 4; value++) in dib7000p_set_channel() 1127 dib7000p_write_word(state, 187 + value, est[value]); in dib7000p_set_channel() [all …]
|
/openbmc/linux/sound/pci/ |
H A D | bt87x.c | 208 writel(value, chip->mmio + reg); in snd_bt87x_writel() 542 info->value.integer.min = 0; in snd_bt87x_capture_volume_info() 543 info->value.integer.max = 15; in snd_bt87x_capture_volume_info() 548 struct snd_ctl_elem_value *value) in snd_bt87x_capture_volume_get() argument 552 value->value.integer.value[0] = (chip->reg_control & CTL_A_GAIN_MASK) >> CTL_A_GAIN_SHIFT; in snd_bt87x_capture_volume_get() 557 struct snd_ctl_elem_value *value) in snd_bt87x_capture_volume_put() argument 566 | (value->value.integer.value[0] << CTL_A_GAIN_SHIFT); in snd_bt87x_capture_volume_put() 588 value->value.integer.value[0] = !! (chip->reg_control & CTL_A_G2X); in snd_bt87x_capture_boost_get() 602 | (value->value.integer.value[0] ? CTL_A_G2X : 0); in snd_bt87x_capture_boost_put() 630 value->value.enumerated.item[0] = (chip->reg_control & CTL_A_SEL_MASK) >> CTL_A_SEL_SHIFT; in snd_bt87x_capture_source_get() [all …]
|
/openbmc/linux/drivers/thermal/mediatek/ |
H A D | lvts_thermal.c | 273 u32 value; in lvts_get_temp() local 287 rc = readl_poll_timeout(msr, value, value & BIT(16), in lvts_get_temp() 317 u32 value = 0; in lvts_update_irq_mask() local 325 value |= masks[i]; in lvts_update_irq_mask() 327 value &= ~masks[i]; in lvts_update_irq_mask() 402 u32 value; in lvts_ctrl_irq_handler() local 484 if (!(value & masks[i])) in lvts_ctrl_irq_handler() 701 gt = (*value) >> 24; in lvts_golden_temp_init() 935 u32 value; in lvts_ctrl_configure() local 947 value = LVTS_TSSEL_CONF; in lvts_ctrl_configure() [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | pel_entry.cpp | 12 bool PELEntry::managementSystemAck(bool value) in managementSystemAck() argument 16 if (value != current) in managementSystemAck() 19 managementSystemAck(value); in managementSystemAck() 27 (value ? TransmissionState::acked : TransmissionState::newPEL)); in managementSystemAck()
|