/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | msg_port.c | 20 u32 value; in msg_port_read() local 25 qrk_pci_read_config_dword(QUARK_HOST_BRIDGE, MSG_DATA_REG, &value); in msg_port_read() 27 return value; in msg_port_read() 30 void msg_port_write(u8 port, u32 reg, u32 value) in msg_port_write() argument 32 qrk_pci_write_config_dword(QUARK_HOST_BRIDGE, MSG_DATA_REG, value); in msg_port_write() 40 u32 value; in msg_port_alt_read() local 47 return value; in msg_port_alt_read() 50 void msg_port_alt_write(u8 port, u32 reg, u32 value) in msg_port_alt_write() argument 60 u32 value; in msg_port_io_read() local 67 return value; in msg_port_io_read() [all …]
|
/openbmc/qemu/hw/watchdog/ |
H A D | wdt_imx2.c | 74 uint16_t value = 0; in imx2_wdt_read() local 78 value = s->wcr; in imx2_wdt_read() 81 value = s->wsr; in imx2_wdt_read() 84 value = s->wrsr; in imx2_wdt_read() 87 value = s->wicr; in imx2_wdt_read() 90 value = s->wmcr; in imx2_wdt_read() 94 trace_imx2_wdt_read(addr, value); in imx2_wdt_read() 96 return value; in imx2_wdt_read() 175 s->wcr = value; in imx2_wdt_write() 180 (!(value & IMX2_WDT_WCR_WT) && (value & IMX2_WDT_WCR_WDE))) { in imx2_wdt_write() [all …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | dsi.c | 113 return value; in tegra_dsi_readl() 361 u32 value; in tegra_dsi_set_phy_timing() local 446 u32 value; in tegra_dsi_ganged_enable() local 457 u32 value; in tegra_dsi_enable() local 484 u32 value; in tegra_dsi_configure() local 626 u32 value; in tegra_dsi_wait_idle() local 643 u32 value; in tegra_dsi_video_disable() local 662 u32 value; in tegra_dsi_pad_enable() local 672 u32 value; in tegra_dsi_pad_calibrate() local 708 u32 value; in tegra_dsi_set_timeout() local [all …]
|
H A D | dpaux.c | 83 return value; in tegra_dpaux_readl() 100 u32 value = 0; in tegra_dpaux_write_fifo() local 116 u32 value; in tegra_dpaux_read_fifo() local 133 u32 value; in tegra_dpaux_transfer() local 185 value |= DPAUX_DP_AUXCTL_CMD_AUX_WR; in tegra_dpaux_transfer() 283 u32 value; in tegra_dpaux_irq() local 292 if (value & DPAUX_INTR_IRQ_EVENT) { in tegra_dpaux_irq() 296 if (value & DPAUX_INTR_AUX_DONE) in tegra_dpaux_irq() 328 u32 value; in tegra_dpaux_pad_config() local 450 u32 value; in tegra_dpaux_probe() local [all …]
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | pci.cpp | 120 std::uint8_t value; in enableBridge() local 149 value |= bridgeEnabled; in enableBridge() 161 std::uint8_t value; in disableBridge() local 171 value &= ~bridgeEnabled; in disableBridge() 186 std::uint32_t value; in enableBridge() local 202 std::memcpy(&value, addr + config, sizeof(value)); in enableBridge() 209 std::memcpy(addr + config, &value, sizeof(value)); in enableBridge() 220 std::uint32_t value; in disableBridge() local 221 std::memcpy(&value, addr + config, sizeof(value)); in disableBridge() 223 value &= ~bridgeEnabled; in disableBridge() [all …]
|
/openbmc/phosphor-host-postd/test/ |
H A D | post_reporter_test.cpp | 59 EXPECT_TRUE(std::get<0>(testReporter.value()).empty()); in TEST_F() 68 EXPECT_EQ(primaryCode, std::get<0>(testReporter.value())); in TEST_F() 69 EXPECT_EQ(secondaryCode, std::get<1>(testReporter.value())); in TEST_F() 78 EXPECT_EQ(primaryCode, std::get<0>(testReporter.value())); in TEST_F() 79 EXPECT_EQ(secondaryCode, std::get<1>(testReporter.value())); in TEST_F() 84 EXPECT_EQ(primaryCode, std::get<0>(testReporter.value())); in TEST_F() 85 EXPECT_EQ(secondaryCode, std::get<1>(testReporter.value())); in TEST_F() 90 EXPECT_EQ(primaryCode, std::get<0>(testReporter.value())); in TEST_F() 91 EXPECT_EQ(secondaryCode, std::get<1>(testReporter.value())); in TEST_F() 96 EXPECT_EQ(primaryCode, std::get<0>(testReporter.value())); in TEST_F() [all …]
|
/openbmc/u-boot/include/ |
H A D | debug_uart.h | 91 void printhex2(uint value); 98 void printhex4(uint value); 105 void printhex8(uint value); 113 #define serial_dout(reg, value) \ argument 117 CONFIG_DEBUG_UART_SHIFT, value) 159 void printhex2(uint value) \ 161 printhex(value, 2); \ 164 void printhex4(uint value) \ 166 printhex(value, 4); \ 169 void printhex8(uint value) \ [all …]
|
/openbmc/linux/arch/mips/loongson64/ |
H A D | cop2-ex.c | 74 LoadDW(addr, value, res); in loongson_cu2_call() 90 LoadDW(addr, value, res); in loongson_cu2_call() 121 StoreDW(addr, value, res); in loongson_cu2_call() 139 StoreDW(addr, value, res); in loongson_cu2_call() 163 LoadHW(addr, value, res); in loongson_cu2_call() 174 LoadW(addr, value, res); in loongson_cu2_call() 185 LoadDW(addr, value, res); in loongson_cu2_call() 199 LoadW(addr, value, res); in loongson_cu2_call() 215 LoadDW(addr, value, res); in loongson_cu2_call() 257 StoreW(addr, value, res); in loongson_cu2_call() [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | acl.c | 24 if (!value) in ext4_acl_from_disk() 31 value = (char *)value + sizeof(ext4_acl_header); in ext4_acl_from_disk() 53 value = (char *)value + in ext4_acl_from_disk() 58 value = (char *)value + sizeof(ext4_acl_entry); in ext4_acl_from_disk() 66 value = (char *)value + sizeof(ext4_acl_entry); in ext4_acl_from_disk() 78 if (value != end) in ext4_acl_from_disk() 148 char *value = NULL; in ext4_get_acl() local 168 if (!value) in ext4_get_acl() 178 kfree(value); in ext4_get_acl() 193 void *value = NULL; in __ext4_set_acl() local [all …]
|
/openbmc/u-boot/drivers/power/pmic/ |
H A D | as3722_gpio.c | 17 u8 value = 0; in as3722_gpio_configure() local 21 value |= AS3722_GPIO_CONTROL_MODE_OUTPUT_VDDH; in as3722_gpio_configure() 24 value |= AS3722_GPIO_CONTROL_INVERT; in as3722_gpio_configure() 40 u8 value; in as3722_gpio_set_value() local 51 value = err; in as3722_gpio_set_value() 54 value &= ~(1 << gpio); in as3722_gpio_set_value() 57 value |= 1 << gpio; in as3722_gpio_set_value() 71 int value) in as3722_gpio_direction_output() argument 79 if (value == 0) in as3722_gpio_direction_output() 80 value = AS3722_GPIO_CONTROL_MODE_OUTPUT_VDDL; in as3722_gpio_direction_output() [all …]
|
/openbmc/linux/sound/core/seq/oss/ |
H A D | seq_oss_timer.c | 139 ev.data.queue.param.value = value; in send_timer_event() 202 if (value < MIN_OSS_TEMPO) in snd_seq_oss_timer_tempo() 203 value = MIN_OSS_TEMPO; in snd_seq_oss_timer_tempo() 205 value = MAX_OSS_TEMPO; in snd_seq_oss_timer_tempo() 206 timer->oss_tempo = value; in snd_seq_oss_timer_tempo() 220 int value; in snd_seq_oss_timer_ioctl() local 224 if (get_user(value, arg)) in snd_seq_oss_timer_ioctl() 226 if (value) in snd_seq_oss_timer_ioctl() 243 if (get_user(value, arg)) in snd_seq_oss_timer_ioctl() 247 if (get_user(value, arg)) in snd_seq_oss_timer_ioctl() [all …]
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen2_hw_data.h | 42 ADF_RING_CSR_RING_CONFIG + ((ring) << 2), value) 46 l_base = (u32)((value) & 0xFFFFFFFF); \ 56 ADF_RING_CSR_RING_HEAD + ((ring) << 2), value) 59 ADF_RING_CSR_RING_TAIL + ((ring) << 2), value) 62 ADF_RING_CSR_INT_FLAG, value) 72 ADF_RING_CSR_INT_COL_EN, value) 76 ADF_RING_CSR_INT_COL_CTL_ENABLE | (value)) 79 ADF_RING_CSR_INT_FLAG_AND_COL, value) 92 AE2FUNCTION_MAP_REG_SIZE * (index), value) 98 AE2FUNCTION_MAP_REG_SIZE * (index), value) [all …]
|
/openbmc/linux/arch/powerpc/xmon/ |
H A D | ppc-dis.c | 29 long value; in operand_value_powerpc() local 49 value = (value ^ top) - top; in operand_value_powerpc() 53 return value; in operand_value_powerpc() 173 long value; in print_insn_powerpc() local 205 printf("r%ld", value); in print_insn_powerpc() 207 printf("f%ld", value); in print_insn_powerpc() 209 printf("v%ld", value); in print_insn_powerpc() 211 printf("vs%ld", value); in print_insn_powerpc() 221 printf("%ld", value); in print_insn_powerpc() 234 cr = value >> 2; in print_insn_powerpc() [all …]
|
/openbmc/linux/sound/soc/img/ |
H A D | img-spdif-in.c | 335 ucontrol->value.integer.value[0] = 0; in img_spdif_in_get_multi_freq() 336 ucontrol->value.integer.value[1] = 0; in img_spdif_in_get_multi_freq() 337 ucontrol->value.integer.value[2] = 0; in img_spdif_in_get_multi_freq() 338 ucontrol->value.integer.value[3] = 0; in img_spdif_in_get_multi_freq() 354 if ((ucontrol->value.integer.value[0] == 0) && in img_spdif_in_set_multi_freq() 355 (ucontrol->value.integer.value[1] == 0) && in img_spdif_in_set_multi_freq() 356 (ucontrol->value.integer.value[2] == 0) && in img_spdif_in_set_multi_freq() 357 (ucontrol->value.integer.value[3] == 0)) { in img_spdif_in_set_multi_freq() 416 uc->value.integer.value[0] = 0; in img_spdif_in_get_lock_freq() 441 ucontrol->value.integer.value[0] = spdif->trk; in img_spdif_in_get_trk() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gicv3_cpuif.c | 132 value = MAX(value, min); in write_vbpr() 430 return value; in eoi_maintenance_interrupt_state() 467 return value; in maintenance_interrupt_state() 567 return value; in icv_ap_read() 642 return value; in icv_pmr_read() 671 return value; in icv_igrpen_read() 709 return value; in icv_ctlr_read() 762 return value; in icv_hppir_read() 1122 value = (value << 1) & 0xff; in icc_pmr_read() 1151 value = (value >> 1) | 0x80; in icc_pmr_write() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | check-qnum.c | 28 const int value = -42; in qnum_from_int_test() local 30 qn = qnum_from_int(value); in qnum_from_int_test() 45 qn = qnum_from_uint(value); in qnum_from_uint_test() 48 g_assert(qn->u.u64 == value); in qnum_from_uint_test() 60 qn = qnum_from_double(value); in qnum_from_double_test() 75 qn = qnum_from_int(value); in qnum_from_int64_test() 84 const int value = 123456; in qnum_get_int_test() local 86 qn = qnum_from_int(value); in qnum_get_int_test() 95 const int value = 123456; in qnum_get_uint_test() local 99 qn = qnum_from_uint(value); in qnum_get_uint_test() [all …]
|
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/ |
H A D | util_test.cpp | 102 int value; in TEST() local 104 EXPECT_EQ(value, 1027040); in TEST() 106 EXPECT_EQ(value, 868144); in TEST() 109 EXPECT_EQ(value, 919308); in TEST() 111 EXPECT_EQ(value, 13008); in TEST() 113 EXPECT_EQ(value, 82840); in TEST() 115 EXPECT_EQ(value, 0); in TEST() 117 EXPECT_EQ(value, 62076); in TEST() 123 int value = -999; in TEST() local 125 EXPECT_EQ(value, -999); in TEST() [all …]
|
/openbmc/linux/drivers/usb/mtu3/ |
H A D | mtu3_host.c | 136 u32 value; in ssusb_host_enable() local 150 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_enable() 152 value |= SSUSB_U3_PORT_HOST_SEL; in ssusb_host_enable() 163 value |= SSUSB_U2_PORT_HOST_SEL; in ssusb_host_enable() 179 u32 value; in ssusb_host_disable() local 215 u32 value; in ssusb_host_resume() local 233 value &= ~SSUSB_U3_PORT_PDN; in ssusb_host_resume() 243 value &= ~SSUSB_U2_PORT_PDN; in ssusb_host_resume() 256 u32 value; in ssusb_host_suspend() local 265 value |= SSUSB_U3_PORT_PDN; in ssusb_host_suspend() [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios_enum_attribute.cpp | 83 value = static_cast<uint8_t>(it.value()); in buildValMap() 87 value = static_cast<uint16_t>(it.value()); in buildValMap() 91 value = static_cast<uint32_t>(it.value()); in buildValMap() 95 value = static_cast<uint64_t>(it.value()); in buildValMap() 99 value = static_cast<int16_t>(it.value()); in buildValMap() 103 value = static_cast<int32_t>(it.value()); in buildValMap() 107 value = static_cast<int64_t>(it.value()); in buildValMap() 111 value = static_cast<bool>(it.value()); in buildValMap() 115 value = static_cast<double>(it.value()); in buildValMap() 119 value = static_cast<std::string>(it.value()); in buildValMap() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | hwtstamp_config.c | 24 int value; in lookup_value() local 26 for (value = 0; value < size; value++) in lookup_value() 27 if (names[value] && strcasecmp(names[value], name) == 0) in lookup_value() 28 return value; in lookup_value() 34 lookup_name(const char **names, int size, int value) in lookup_name() argument 36 return (value >= 0 && value < size) ? names[value] : NULL; in lookup_name() 41 int value; in list_names() local 43 for (value = 0; value < size; value++) in list_names() 44 if (names[value]) in list_names() 45 fprintf(f, " %s\n", names[value]); in list_names()
|
/openbmc/linux/sound/soc/codecs/aw88395/ |
H A D | aw88395.c | 126 time = ucontrol->value.integer.value[0]; in aw88395_set_fade_in_time() 161 time = ucontrol->value.integer.value[0]; in aw88395_set_fade_out_time() 268 int value; in aw88395_volume_set() local 270 value = ucontrol->value.integer.value[0]; in aw88395_volume_set() 271 if (value < mc->min || value > mc->max) in aw88395_volume_set() 302 int value; in aw88395_set_fade_step() local 304 value = ucontrol->value.integer.value[0]; in aw88395_set_fade_step() 305 if (value < mc->min || value > mc->max) in aw88395_set_fade_step() 336 int value; in aw88395_re_set() local 338 value = ucontrol->value.integer.value[0]; in aw88395_re_set() [all …]
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-xattr.c | 54 if (!value) { in pt_listxattr() 64 memcpy(value, name, name_size); in pt_listxattr() 73 void *value, size_t vsize) in v9fs_list_xattr() argument 76 void *ovalue = value; in v9fs_list_xattr() 117 if (!value) { in v9fs_list_xattr() 124 value += size; in v9fs_list_xattr() 133 if (value) { in v9fs_list_xattr() 134 size = value - ovalue; in v9fs_list_xattr() 188 void *value, size_t size) in pt_getxattr() argument 248 void *value, size_t size) in notsup_getxattr() argument [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac1000_dma.c | 28 value |= DMA_AXI_EN_LPI; in dwmac1000_dma_axi() 47 value |= DMA_AXI_BLEN256; in dwmac1000_dma_axi() 50 value |= DMA_AXI_BLEN128; in dwmac1000_dma_axi() 53 value |= DMA_AXI_BLEN64; in dwmac1000_dma_axi() 56 value |= DMA_AXI_BLEN32; in dwmac1000_dma_axi() 59 value |= DMA_AXI_BLEN16; in dwmac1000_dma_axi() 62 value |= DMA_AXI_BLEN8; in dwmac1000_dma_axi() 65 value |= DMA_AXI_BLEN4; in dwmac1000_dma_axi() 88 value |= DMA_BUS_MODE_USP; in dwmac1000_dma_init() 95 value |= DMA_BUS_MODE_FB; in dwmac1000_dma_init() [all …]
|
/openbmc/linux/drivers/gpu/host1x/ |
H A D | mipi.c | 150 u32 value; in tegra_mipi_power_up() local 158 value &= ~MIPI_CAL_BIAS_PAD_PDVCLAMP; in tegra_mipi_power_up() 166 value &= ~MIPI_CAL_BIAS_PAD_PDVREG; in tegra_mipi_power_up() 176 u32 value; in tegra_mipi_power_down() local 189 value |= MIPI_CAL_BIAS_PAD_PDVREG; in tegra_mipi_power_down() 203 value |= MIPI_CAL_BIAS_PAD_PDVCLAMP; in tegra_mipi_power_down() 300 u32 value; in tegra_mipi_finish_calibration() local 318 u32 value; in tegra_mipi_start_calibration() local 364 value &= ~MIPI_CAL_CTRL_CLKEN_OVR; in tegra_mipi_start_calibration() 366 value |= MIPI_CAL_CTRL_CLKEN_OVR; in tegra_mipi_start_calibration() [all …]
|
/openbmc/qemu/backends/ |
H A D | hostmem.c | 64 uint64_t value; in host_memory_backend_set_size() local 75 if (!value) { in host_memory_backend_set_size() 81 backend->size = value; in host_memory_backend_set_size() 91 unsigned long value; in host_memory_backend_get_host_nodes() local 101 value = find_next_bit(backend->host_nodes, MAX_NODES, value + 1); in host_memory_backend_get_host_nodes() 174 if (value) { in host_memory_backend_set_merge() 190 backend->merge = value; in host_memory_backend_set_merge() 205 if (!value) { in host_memory_backend_set_dump() 221 backend->dump = value; in host_memory_backend_set_dump() 270 uint32_t value; in host_memory_backend_set_prealloc_threads() local [all …]
|