/openbmc/qemu/linux-user/arm/ |
H A D | target_proc.h | 74 dprintf(fd, " %s", elf_hwcap_str(ctz64(j))); in open_cpuinfo() 77 dprintf(fd, " %s", elf_hwcap2_str(ctz64(j))); in open_cpuinfo()
|
/openbmc/qemu/hw/vfio/ |
H A D | spapr.c | 271 create.page_shift = ctz64(pagesize); in vfio_spapr_create_window() 286 bits_total = ctz64(entries * sizeof(uint64_t)); in vfio_spapr_create_window() 294 bits_per_level = ctz64(qemu_real_host_page_size()) + 8; in vfio_spapr_create_window() 299 max_levels = (64 - create.page_shift) / ctz64(qemu_real_host_page_size()); in vfio_spapr_create_window()
|
H A D | common.c | 422 vrdl->granularity >= 1ULL << ctz64(bcontainer->pgsizes)); in vfio_register_ram_discard_listener() 661 hwaddr pgmask = (1ULL << ctz64(bcontainer->pgsizes)) - 1; in vfio_listener_region_add() 764 pgmask = (1ULL << ctz64(bcontainer->pgsizes)) - 1; in vfio_listener_region_del()
|
H A D | helpers.c | 410 size_t align = MIN(1ULL << ctz64(region->mmaps[i].size), 1 * GiB); in vfio_region_mmap()
|
H A D | container.c | 159 unmap.size -= 1ULL << ctz64(bcontainer->pgsizes); in vfio_legacy_dma_unmap()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | xive_regs.h | 187 return (be64_to_cpu(word) & mask) >> ctz64(mask); in xive_get_field64() 194 (be64_to_cpu(word) & ~mask) | ((value << ctz64(mask)) & mask); in xive_set_field64()
|
/openbmc/qemu/target/avr/ |
H A D | helper.c | 56 int index = ctz64(env->intsrc); in avr_cpu_exec_interrupt() 82 vector = ctz64(env->intsrc) + 1; in avr_cpu_do_interrupt()
|
/openbmc/qemu/migration/ |
H A D | xbzrle.c | 76 num = ctz64(~comp); in xbzrle_encode_buffer_avx512() 105 num = ctz64(comp); in xbzrle_encode_buffer_avx512()
|
/openbmc/qemu/include/qemu/ |
H A D | host-utils.h | 259 static inline int ctz64(uint64_t val) in ctz64() function 272 return ctz64(~val); in cto64() 705 # define ctzl ctz64
|
/openbmc/qemu/util/ |
H A D | memfd.c | 53 int htsize = hugetlbsize ? ctz64(hugetlbsize) : 0; in qemu_memfd_create()
|
/openbmc/qemu/accel/tcg/ |
H A D | tcg-runtime.c | 128 return arg ? ctz64(arg) : zero_val; in HELPER()
|
/openbmc/qemu/target/arm/ |
H A D | hyp_gdbstub.c | 171 int bits = ctz64(len); in insert_hw_watchpoint()
|
/openbmc/qemu/hw/intc/ |
H A D | loongarch_pch_pic.c | 28 irq = ctz64(val); in pch_pic_update_irq() 39 irq = ctz64(val); in pch_pic_update_irq()
|
H A D | imx_avic.c | 178 int i = ctz64(flags); in imx_avic_read()
|
H A D | mips_gic.c | 330 data = data ? ctz64(data) : -1; in gic_write()
|
/openbmc/qemu/hw/misc/ |
H A D | npcm7xx_gcr.c | 210 s->reset_intcr3 |= ctz64(dram_size / NPCM7XX_GCR_MIN_DRAM_SIZE) << 8; in npcm7xx_gcr_realize()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_caps.c | 172 val = ctz64(pagesize); in spapr_cap_set_pagesize() 873 mps = ctz64(qemu_minrampagesize()); in default_caps_with_cpu()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-iommu.c | 609 int cur_granule = ctz64(cur_mask); in check_page_size_mask() 1156 granule = ctz64(s->config.page_size_mask); in virtio_iommu_translate() 1406 granule = ctz64(s->config.page_size_mask); in virtio_iommu_freeze_granule()
|
/openbmc/qemu/target/i386/tcg/ |
H A D | int_helper.c | 405 # define ctztl ctz64
|
/openbmc/qemu/target/ppc/translate/ |
H A D | vsx-impl.c.inc | 2410 * Get the next bit to be processed with ctz64. Invert the result of 2411 * ctz64 to match the indexing used by PowerISA. 2413 bit = 7 - ctz64(imm); 2455 * Get the next bit to be processed with ctz64. Invert the result of 2456 * ctz64 to match the indexing used by PowerISA. 2458 bit = 7 - ctz64(imm);
|
/openbmc/qemu/target/ppc/ |
H A D | int_helper.c | 348 n = ctz64(mask); in helper_CFUGED() 401 o = ctz64(mask); in helper_PDEPD() 419 i = ctz64(mask); in helper_PEXTD() 2087 #define ctzd(v) ctz64((v))
|
/openbmc/qemu/hw/core/ |
H A D | numa.c | 353 first_bit = ctz64(bitmap_copy); in parse_numa_hmat_lb()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | mte_helper.c | 1010 i = ctz64(mem_tag ^ ptr_tag) >> 4; in HELPER()
|
/openbmc/qemu/tcg/aarch64/ |
H A D | tcg-target.c.inc | 922 l = ctz64(limm); 925 c = ctz64(~limm) - 1; 1156 s0 = ctz64(t0) & (63 & -16); 1158 s1 = ctz64(t1) & (63 & -16); 1474 tbit = ctz64(b);
|
/openbmc/qemu/tcg/mips/ |
H A D | tcg-target.c.inc | 603 sh = ctz64(arg); 620 sh = ctz64(tmp); 1792 int msb = ctz64(~a2) - 1;
|