Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 1209) sorted by relevance

12345678910>>...49

/qemu/tests/unit/
A Dtest-visitor-serialization.c57 } value; member
76 } value; member
334 g_assert_cmpint(pt->value.s8, ==, pt_copy->value.s8); in test_primitives()
490 g_assert_cmpint(pt->value.s8, ==, ptr->value); in test_primitive_lists()
496 g_assert_cmpint(pt->value.s16, ==, ptr->value); in test_primitive_lists()
502 g_assert_cmpint(pt->value.s32, ==, ptr->value); in test_primitive_lists()
508 g_assert_cmpint(pt->value.s64, ==, ptr->value); in test_primitive_lists()
514 g_assert_cmpint(pt->value.u8, ==, ptr->value); in test_primitive_lists()
520 g_assert_cmpint(pt->value.u16, ==, ptr->value); in test_primitive_lists()
526 g_assert_cmpint(pt->value.u32, ==, ptr->value); in test_primitive_lists()
[all …]
/qemu/include/qemu/
A Dstats64.h24 aligned_uint64_t value; member
45 qatomic_set__nocheck(&s->value, value); in stat64_set()
50 qatomic_add(&s->value, value); in stat64_add()
56 while (orig > value) { in stat64_min()
57 orig = qatomic_cmpxchg__nocheck(&s->value, orig, value); in stat64_min()
64 while (orig < value) { in stat64_max()
65 orig = qatomic_cmpxchg__nocheck(&s->value, orig, value); in stat64_max()
78 *s = (Stat64) { .low = value, .high = value >> 32, .lock = 0 }; in stat64_init()
84 high = value >> 32; in stat64_add()
122 high = value >> 32; in stat64_min()
[all …]
/qemu/
A Dmeson_options.txt5 option('qemu_suffix', type : 'string', value: 'qemu',
11 option('pkgversion', type : 'string', value : '',
13 option('smbd', type : 'string', value : '',
15 option('iasl', type : 'string', value : '',
72 option('kvm', type: 'feature', value: 'auto',
76 option('hvf', type: 'feature', value: 'auto',
80 option('xen', type: 'feature', value: 'auto',
96 option('asan', type: 'boolean', value: false,
100 option('tsan', type: 'boolean', value: false,
104 option('cfi', type: 'boolean', value: false,
[all …]
/qemu/hw/net/fsl_etsec/
A Dmiim.c36 uint16_t value; in miim_read_cycle() local
47 value = etsec->phy_status; in miim_read_cycle()
53 value = 0x0; in miim_read_cycle()
61 etsec->regs[MIIMSTAT].value = value; in miim_read_cycle()
68 uint16_t value; in miim_write_cycle() local
73 value = etsec->regs[MIIMCON].value & 0xffff; in miim_write_cycle()
99 if ((!(reg->value & MIIMCOM_READ)) && (value & MIIMCOM_READ)) { in etsec_write_miim()
103 reg->value = value; in etsec_write_miim()
107 reg->value = value & 0xffff; in etsec_write_miim()
117 reg->value = value; in etsec_write_miim()
[all …]
A Detsec.c124 reg->value &= ~value; in write_tstat()
142 reg->value &= ~value; in write_rstat()
150 reg->value = value & ~0x7; in write_tbasex()
153 etsec->regs[TBPTR0 + (reg_index - TBASE0)].value = value & ~0x7; in write_tbasex()
161 reg->value = value & ~0x7; in write_rbasex()
172 reg->value = value; in write_dmactrl()
224 reg->value &= ~value; in etsec_write()
230 reg->value = value; in etsec_write()
265 reg->value = value; in etsec_write()
269 reg->value &= ~value; in etsec_write()
[all …]
/qemu/tests/qtest/
A Dlsm303dlhc-mag-test.c53 int64_t value; in send_and_receive() local
63 g_assert_cmpint(value, ==, 100000); in send_and_receive()
69 g_assert_cmpint(value, ==, 150000); in send_and_receive()
75 g_assert_cmpint(value, ==, 50000); in send_and_receive()
83 g_assert_cmpint(value, ==, 23500); in send_and_receive()
87 g_assert_cmphex(value, ==, 1100); in send_and_receive()
91 g_assert_cmphex(value, ==, 1650); in send_and_receive()
95 g_assert_cmphex(value, ==, 490); in send_and_receive()
99 g_assert_cmphex(value, ==, 0); in send_and_receive()
106 g_assert_cmphex(value, ==, 188); in send_and_receive()
[all …]
A Dtmp105-test.c47 uint16_t value; in send_and_receive() local
51 g_assert_cmpuint(value, ==, 0); in send_and_receive()
54 g_assert_cmphex(value, ==, 0); in send_and_receive()
58 g_assert_cmpuint(value, ==, 20000); in send_and_receive()
61 g_assert_cmphex(value, ==, 0x1400); in send_and_receive()
71 g_assert_cmphex(value, ==, 0x60); in send_and_receive()
74 g_assert_cmphex(value, ==, 0x14f0); in send_and_receive()
80 g_assert_cmphex(value, ==, 0x1480); in send_and_receive()
85 g_assert_cmphex(value, ==, 0x14c0); in send_and_receive()
90 g_assert_cmphex(value, ==, 0x14e0); in send_and_receive()
[all …]
A Demc141x-test.c43 uint16_t value; in send_and_receive() local
47 g_assert_cmpuint(value, ==, 0); in send_and_receive()
49 value = i2c_get8(i2cdev, EMC141X_TEMP_HIGH0); in send_and_receive()
50 g_assert_cmphex(value, ==, 0); in send_and_receive()
53 value = i2c_get8(i2cdev, EMC141X_TEMP_MAX_HIGH0); in send_and_receive()
54 g_assert_cmphex(value, ==, 0x55); in send_and_receive()
56 value = i2c_get8(i2cdev, EMC141X_TEMP_MIN_HIGH0); in send_and_receive()
57 g_assert_cmphex(value, ==, 0); in send_and_receive()
62 g_assert_cmpuint(value, ==, 30000); in send_and_receive()
64 value = i2c_get8(i2cdev, EMC141X_TEMP_HIGH0); in send_and_receive()
[all …]
/qemu/hw/misc/
A Dbcm2835_property.c38 value &= ~0xf; in bcm2835_property_mbox_push()
40 s->addr = value; in bcm2835_property_mbox_push()
42 tot_len = ldl_le_phys(&s->dma_as, value); in bcm2835_property_mbox_push()
45 value = s->addr + 8; in bcm2835_property_mbox_push()
46 while (value + 8 <= s->addr + tot_len) { in bcm2835_property_mbox_push()
47 uint32_t tag = ldl_le_phys(&s->dma_as, value); in bcm2835_property_mbox_push()
81 stl_le_phys(&s->dma_as, value + 12, 0); in bcm2835_property_mbox_push()
172 stl_le_phys(&s->dma_as, value + 16, in bcm2835_property_mbox_push()
245 stl_le_phys(&s->dma_as, value + 12, in bcm2835_property_mbox_push()
430 value += bufsize + 12; in bcm2835_property_mbox_push()
[all …]
/qemu/hw/i2c/
A Dnpcm7xx_smbus.c490 return value; in npcm7xx_smbus_read_sda()
495 s->sda = value; in npcm7xx_smbus_write_sda()
571 s->ctl2 = value; in npcm7xx_smbus_write_ctl2()
615 s->txf_ctl = value; in npcm7xx_smbus_write_txf_ctl()
659 uint64_t value = 0; in npcm7xx_smbus_read() local
669 value = s->st; in npcm7xx_smbus_read()
673 value = s->cst; in npcm7xx_smbus_read()
677 value = s->ctl1; in npcm7xx_smbus_read()
685 value = s->ctl2; in npcm7xx_smbus_read()
693 value = s->ctl3; in npcm7xx_smbus_read()
[all …]
/qemu/hw/rtc/
A Dtrace-events4 allwinner_rtc_read(uint64_t addr, uint64_t value) "addr 0x%" PRIx64 " value 0x%" PRIx64
5 allwinner_rtc_write(uint64_t addr, uint64_t value) "addr 0x%" PRIx64 " value 0x%" PRIx64
8 sun4v_rtc_read(uint64_t addr, uint64_t value) "read: addr 0x%" PRIx64 " value 0x%" PRIx64
9 sun4v_rtc_write(uint64_t addr, uint64_t value) "write: addr 0x%" PRIx64 " value 0x%" PRIx64
16 pl031_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
17 pl031_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
22 aspeed_rtc_read(uint64_t addr, uint64_t value) "addr 0x%02" PRIx64 " value 0x%08" PRIx64
23 aspeed_rtc_write(uint64_t addr, uint64_t value) "addr 0x%02" PRIx64 " value 0x%08" PRIx64
32 m48txx_nvram_mem_read(uint32_t addr, uint32_t value) "mem read addr:0x%04x value:0x%02x"
33 m48txx_nvram_mem_write(uint32_t addr, uint32_t value) "mem write addr:0x%04x value:0x%02x"
[all …]
A Dexynos4210_rtc.c118 #define TICCKSEL(value) ((value & (0x0F << 4)) >> 4) argument
313 uint32_t value = 0; in exynos4210_rtc_read() local
318 value = s->reg_intp; in exynos4210_rtc_read()
321 value = s->reg_rtccon; in exynos4210_rtc_read()
324 value = s->reg_ticcnt; in exynos4210_rtc_read()
327 value = s->reg_rtcalm; in exynos4210_rtc_read()
330 value = s->reg_almsec; in exynos4210_rtc_read()
333 value = s->reg_almmin; in exynos4210_rtc_read()
339 value = s->reg_almday; in exynos4210_rtc_read()
342 value = s->reg_almmon; in exynos4210_rtc_read()
[all …]
/qemu/stats/
A Dstats-hmp-cmds.c20 monitor_printf(mon, " %s (%s%s", value->name, StatsType_str(value->type), in print_stats_schema_value()
21 value->has_unit || value->exponent ? ", " : ""); in print_stats_schema_value()
23 if (value->has_unit) { in print_stats_schema_value()
31 if (unit && value->base == 10 && in print_stats_schema_value()
32 value->exponent >= -18 && value->exponent <= 18 && in print_stats_schema_value()
33 value->exponent % 3 == 0) { in print_stats_schema_value()
36 value->exponent >= 0 && value->exponent <= 60 && in print_stats_schema_value()
40 } else if (value->exponent) { in print_stats_schema_value()
43 value->base, value->exponent, in print_stats_schema_value()
48 if (value->has_unit) { in print_stats_schema_value()
[all …]
/qemu/tests/qtest/fuzz/
A Dqtest_wrappers.c82 cpu_outb(addr, value); in __wrap_qtest_outb()
91 cpu_outw(addr, value); in __wrap_qtest_outw()
100 cpu_outl(addr, value); in __wrap_qtest_outl()
108 uint8_t value; in __wrap_qtest_readb() local
112 return value; in __wrap_qtest_readb()
120 uint16_t value; in __wrap_qtest_readw() local
124 return value; in __wrap_qtest_readw()
132 uint32_t value; in __wrap_qtest_readl() local
136 return value; in __wrap_qtest_readl()
144 uint64_t value; in __wrap_qtest_readq() local
[all …]
/qemu/hw/arm/
A Domap1.c64 uint8_t val8 = value; in omap_badwidth_write8()
82 uint16_t val16 = value; in omap_badwidth_write16()
243 s->st = value & 1; in omap_mpu_timer_write()
482 if (s->timer.st != (value & 1) || (value & 2)) { in omap_os_timer_write()
630 if (value & 1) in omap_ulpd_pm_write()
1711 if (value & 9) { in omap_clkm_write()
2034 s->dir = value; in omap_mpuio_write()
2045 s->cols = value; in omap_mpuio_write()
2054 s->edge = value; in omap_mpuio_write()
2063 s->mask = value; in omap_mpuio_write()
[all …]
/qemu/hw/dma/
A Domap_dma.c371 uint8_t value[4]; in omap_dma_transfer_generic() local
773 *value = ch->status;
803 *value = ch->frames;
902 if (value & 0x0080)
945 ch->frames = value;
970 ch->color |= value;
1035 s->dual = value & 1;
1257 s->dual = value & 1;
1362 s->gcr = value;
1366 if (value & 0x8)
[all …]
/qemu/system/
A Drtc.c57 value += rtc_ref_start_datetime; in qemu_ref_timedate()
67 return value; in qemu_ref_timedate()
142 const char *value; in configure_rtc() local
149 value = qemu_opt_get(opts, "base"); in configure_rtc()
150 if (value) { in configure_rtc()
151 if (!strcmp(value, "utc")) { in configure_rtc()
161 value = qemu_opt_get(opts, "clock"); in configure_rtc()
162 if (value) { in configure_rtc()
163 if (!strcmp(value, "host")) { in configure_rtc()
175 if (value) { in configure_rtc()
[all …]
/qemu/hw/pci-host/
A Dppc4xx_pci.c110 pci->pmm[0].la = value; in ppc4xx_pci_reg_write4()
113 pci->pmm[0].ma = value; in ppc4xx_pci_reg_write4()
123 pci->pmm[1].la = value; in ppc4xx_pci_reg_write4()
126 pci->pmm[1].ma = value; in ppc4xx_pci_reg_write4()
136 pci->pmm[2].la = value; in ppc4xx_pci_reg_write4()
139 pci->pmm[2].ma = value; in ppc4xx_pci_reg_write4()
149 pci->ptm[0].ms = value; in ppc4xx_pci_reg_write4()
152 pci->ptm[0].la = value; in ppc4xx_pci_reg_write4()
173 uint32_t value; in ppc4xx_pci_reg_read4() local
232 value = 0; in ppc4xx_pci_reg_read4()
[all …]
/qemu/hw/intc/
A Darm_gicv3_cpuif.c132 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 …]
/qemu/pc-bios/optionrom/
A Doptrom.h38 static inline void outb(uint8_t value, uint16_t port) in outb() argument
40 asm volatile("outb %0, %w1" : : "a"(value), "Nd"(port)); in outb()
43 static inline void outw(uint16_t value, uint16_t port) in outw() argument
48 static inline void outl(uint32_t value, uint16_t port) in outl() argument
55 uint8_t value; in inb() local
57 asm volatile("inb %w1, %0" : "=a"(value) : "Nd"(port)); in inb()
58 return value; in inb()
63 uint16_t value; in inw() local
66 return value; in inw()
71 uint32_t value; in inl() local
[all …]
/qemu/ui/
A Dinput-keymap.c33 int qemu_input_key_value_to_number(const KeyValue *value) in qemu_input_key_value_to_number() argument
35 if (value->type == KEY_VALUE_KIND_QCODE) { in qemu_input_key_value_to_number()
41 assert(value->type == KEY_VALUE_KIND_NUMBER); in qemu_input_key_value_to_number()
42 return value->u.number.data; in qemu_input_key_value_to_number()
54 int qemu_input_key_value_to_qcode(const KeyValue *value) in qemu_input_key_value_to_qcode() argument
56 if (value->type == KEY_VALUE_KIND_QCODE) { in qemu_input_key_value_to_qcode()
57 return value->u.qcode.data; in qemu_input_key_value_to_qcode()
59 assert(value->type == KEY_VALUE_KIND_NUMBER); in qemu_input_key_value_to_qcode()
67 int keycode = qemu_input_key_value_to_number(value); in qemu_input_key_value_to_scancode()
70 if (value->type == KEY_VALUE_KIND_QCODE && in qemu_input_key_value_to_scancode()
[all …]
/qemu/hw/watchdog/
A Dwdt_imx2.c74 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 …]
/qemu/backends/
A Dhostmem.c64 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 …]
/qemu/hw/sd/
A Domap_mmc.c235 uint8_t value; in omap_mmc_transfer() local
250 value << 8; in omap_mmc_transfer()
442 s->last_cmd = value; in omap_mmc_write()
445 omap_mmc_command(s, value & 63, (value >> 15) & 1, in omap_mmc_write()
460 s->arg |= value << 16; in omap_mmc_write()
464 s->dw = (value >> 15) & 1; in omap_mmc_write()
484 s->status &= ~value; in omap_mmc_write()
489 s->mask = value & 0x7fff; in omap_mmc_write()
494 s->cto = value & 0xff; in omap_mmc_write()
500 s->dto = value & 0xffff; in omap_mmc_write()
[all …]
/qemu/hw/9pfs/
A D9p-xattr.c54 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 …]

Completed in 67 milliseconds

12345678910>>...49