Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 15 of 15) sorted by relevance

/qemu/migration/
H A Dxbzrle.c50 uint64_t comp = _mm512_cmpeq_epi8_mask(old_data, new_data); in xbzrle_encode_buffer_avx512() local
53 bool is_same = (comp & 0x1); in xbzrle_encode_buffer_avx512()
70 if (count512s && (comp == 0xffffffffffffffff)) { in xbzrle_encode_buffer_avx512()
76 num = ctz64(~comp); in xbzrle_encode_buffer_avx512()
80 comp >>= num; in xbzrle_encode_buffer_avx512()
100 if ((bytes_to_check == 64) && (comp == 0x0)) { in xbzrle_encode_buffer_avx512()
105 num = ctz64(comp); in xbzrle_encode_buffer_avx512()
109 comp >>= num; in xbzrle_encode_buffer_avx512()
H A Drdma.c478 comp->value = htonl(comp->value); in compress_to_network()
483 comp->offset -= rdma->local_ram_blocks.block[comp->block_idx].offset; in compress_to_network()
484 comp->offset += rdma->dest_blocks[comp->block_idx].offset; in compress_to_network()
485 comp->block_idx = htonl(comp->block_idx); in compress_to_network()
486 comp->offset = htonll(comp->offset); in compress_to_network()
487 comp->length = htonll(comp->length); in compress_to_network()
492 comp->value = ntohl(comp->value); in network_to_compress()
493 comp->block_idx = ntohl(comp->block_idx); in network_to_compress()
494 comp->offset = ntohll(comp->offset); in network_to_compress()
495 comp->length = ntohll(comp->length); in network_to_compress()
[all …]
H A Dtrace-events228 qemu_rdma_poll_recv(uint64_t comp, int64_t id, int sent) "completion %" PRIu64 " received (%" PRId6…
229 qemu_rdma_poll_write(uint64_t comp, int left, uint64_t block, uint64_t chunk, void *local, void *re…
230 qemu_rdma_poll_other(uint64_t comp, int left) "other completion %" PRIu64 " received left %d"
/qemu/hw/core/
H A Dloader-fit.c39 const char *comp; in fit_load_image_alloc() local
62 comp = fdt_getprop(itb, off, "compression", NULL); in fit_load_image_alloc()
63 if (!comp || !strcmp(comp, "none")) { in fit_load_image_alloc()
72 if (!strcmp(comp, "gzip")) { in fit_load_image_alloc()
90 error_setg(errp, "unknown compression '%s'", comp); in fit_load_image_alloc()
/qemu/hw/rtc/
H A Dtwl92230.c62 uint16_t comp; member
131 s->rtc.next -= muldiv64((int16_t) s->rtc.comp, 1000, 0x8000); in menelaus_rtc_hz()
180 s->rtc.comp = 0x0000; in menelaus_reset()
371 return (s->rtc.comp >> 8) & 0xff; in menelaus_read()
373 return (s->rtc.comp >> 0) & 0xff; in menelaus_read()
661 s->rtc.comp &= 0xff; in menelaus_write()
662 s->rtc.comp |= value << 8; in menelaus_write()
665 s->rtc.comp &= 0xff << 8; in menelaus_write()
666 s->rtc.comp |= value; in menelaus_write()
832 VMSTATE_UINT16(rtc.comp, MenelausState),
/qemu/hw/timer/
H A Dexynos4210_mct.c197 uint64_t comp[MCT_GT_CMP_NUM]; member
324 VMSTATE_UINT64_ARRAY(comp, struct gregs, MCT_GT_CMP_NUM),
453 if (s->g_timer.reg.comp[i] > gfrc) { in exynos4210_gcomp_find()
455 distance = s->g_timer.reg.comp[i] - gfrc; in exynos4210_gcomp_find()
464 if (s->g_timer.reg.comp[i] <= min) { in exynos4210_gcomp_find()
465 min = s->g_timer.reg.comp[i]; in exynos4210_gcomp_find()
487 s->g_timer.reg.comp[res], in exynos4210_gcomp_find()
505 return s->g_timer.reg.comp[id] - s->g_timer.reg.cnt; in exynos4210_gcomp_get_distance()
575 if (s->g_timer.reg.cnt == s->g_timer.reg.comp[i]) { in exynos4210_gfrc_event()
1228 s->g_timer.reg.comp[index] = in exynos4210_mct_write()
[all …]
/qemu/hw/i386/
H A Dpc_q35.c93 const struct ehci_companions *comp; in ehci_create_ich9_with_companions() local
102 comp = ich9_1d; in ehci_create_ich9_with_companions()
106 comp = ich9_1a; in ehci_create_ich9_with_companions()
117 uhci = pci_new_multifunction(PCI_DEVFN(slot, comp[i].func), in ehci_create_ich9_with_companions()
118 comp[i].name); in ehci_create_ich9_with_companions()
120 qdev_prop_set_uint32(&uhci->qdev, "firstport", comp[i].port); in ehci_create_ich9_with_companions()
/qemu/hw/pci-host/
H A Dpnv_phb3.c353 uint32_t local, global, count, mask, comp; in pnv_phb3_remap_irqs() local
384 comp = GETFIELD(PBCQ_NEST_IRSN_COMP, in pnv_phb3_remap_irqs()
401 if ((comp & mask) != comp) { in pnv_phb3_remap_irqs()
403 comp, mask); in pnv_phb3_remap_irqs()
404 comp &= mask; in pnv_phb3_remap_irqs()
407 ics->offset = comp + global; in pnv_phb3_remap_irqs()
410 pnv_phb3_msi_update_config(&phb->msis, comp, count - PNV_PHB3_NUM_LSI); in pnv_phb3_remap_irqs()
/qemu/hw/net/
H A Dsungem.c377 uint32_t comp, kick; in sungem_tx_kick() local
404 comp = s->txdmaregs[TXDMA_TXDONE >> 2] & s->tx_mask; in sungem_tx_kick()
407 trace_sungem_tx_process(comp, kick, s->tx_mask + 1); in sungem_tx_kick()
413 while (comp != kick) { in sungem_tx_kick()
417 pci_dma_read(d, dbase + comp * sizeof(desc), &desc, sizeof(desc)); in sungem_tx_kick()
422 trace_sungem_tx_desc(comp, desc.control_word, desc.buffer); in sungem_tx_kick()
435 comp = (comp + 1) & s->tx_mask; in sungem_tx_kick()
436 s->txdmaregs[TXDMA_TXDONE >> 2] = comp; in sungem_tx_kick()
H A Dtrace-events328 sungem_tx_process(uint32_t comp, uint32_t kick, uint32_t size) "TX processing comp=%"PRIu32", kick=…
329 sungem_tx_desc(uint32_t comp, uint64_t control, uint64_t buffer) "TX desc %"PRIu32 ": 0x%"PRIx64" 0…
/qemu/hw/arm/
H A Dboot.c475 const char comp[] = "arm,psci-0.2\0arm,psci"; in fdt_add_psci_node() local
476 qemu_fdt_setprop(fdt, "/psci", "compatible", comp, sizeof(comp)); in fdt_add_psci_node()
478 const char comp[] = "arm,psci-1.0\0arm,psci-0.2\0arm,psci"; in fdt_add_psci_node() local
479 qemu_fdt_setprop(fdt, "/psci", "compatible", comp, sizeof(comp)); in fdt_add_psci_node()
/qemu/hw/ppc/
H A Dppc405.h125 uint32_t comp[5]; member
H A Dppc405_uc.c593 ret = gpt->comp[idx]; in ppc4xx_gpt_read()
655 gpt->comp[idx] = value & 0xF8000000; in ppc4xx_gpt_write()
696 gpt->comp[i] = 0x00000000; in ppc405_gpt_reset()
/qemu/libdecnumber/
H A DdecNumber.c5383 Int comp; /* work */ in decExpOp() local
5447 comp=decCompare(d, rhs, 1); /* signless compare */ in decExpOp()
5448 if (comp==BADINT) { in decExpOp()
5451 if (comp>=0) { /* rhs < d */ in decExpOp()
7433 Int comp; local
7445 comp=decCompare(dn, &nmin, 1); /* (signless compare) */
7446 if (comp==BADINT) { /* oops */
7450 if (*residue<0 && comp==0) { /* neg residue and dn==Nmin */
/qemu/target/i386/
H A Dcpu.c5699 int comp = (w == FEAT_XSAVE_XCR0_HI) ? bitnr + 32 : bitnr; in x86_cpu_feature_name() local
5701 if (comp < ARRAY_SIZE(x86_ext_save_areas) && in x86_cpu_feature_name()
5702 x86_ext_save_areas[comp].bits) { in x86_cpu_feature_name()
5703 w = x86_ext_save_areas[comp].feature; in x86_cpu_feature_name()
5704 bitnr = ctz32(x86_ext_save_areas[comp].bits); in x86_cpu_feature_name()