Searched refs:popcount32 (Results 1 - 16 of 16) sorted by relevance

/netbsd-current/common/lib/libc/string/
H A Dpopcount32.c1 /* $NetBSD: popcount32.c,v 1.4 2011/08/21 21:25:04 dholland Exp $ */
35 __RCSID("$NetBSD: popcount32.c,v 1.4 2011/08/21 21:25:04 dholland Exp $");
46 #ifndef popcount32 // might be a builtin
57 popcount32(uint32_t v) function
75 __strong_alias(popcount, popcount32)
79 __strong_alias(popcountl, popcount32)
82 #endif /* !popcount32 */
H A Dpopcount64.c52 * The native pocount64 version is based on the same ideas as popcount32(3),
53 * see popcount32.c for comments.
60 return popcount32((uint32_t)(v >> 32)) +
61 popcount32((uint32_t)(v & 0xffffffffULL));
/netbsd-current/sys/stand/efiboot/
H A Defigop.c66 return popcount32(info->PixelInformation.RedMask) +
67 popcount32(info->PixelInformation.GreenMask) +
68 popcount32(info->PixelInformation.BlueMask);
/netbsd-current/include/
H A Dstrings.h60 unsigned int popcount32(__uint32_t) __constfunc;
/netbsd-current/sys/dev/nand/
H A Dhamming.c187 /* we allocate 4 bytes so we can use popcount32 in one step */
203 if (popcount32(*(uint32_t *)correction_code) == 11) {
225 if (popcount32(*(uint32_t *)correction_code) == 1) {
/netbsd-current/lib/libc/string/
H A DMakefile.inc26 SRCS+= popcount32.c popcount64.c
60 MLINKS+=popcount.3 popcount32.3
/netbsd-current/sys/external/bsd/common/include/linux/
H A Dbitops.h88 return popcount32(n);
94 return popcount32(n);
/netbsd-current/sys/lib/libkern/
H A DMakefile.libkern78 SRCS+= popcount32.c popcount64.c
H A Dlibkern.h534 #define popcount32 __builtin_popcount macro
540 unsigned int popcount32(uint32_t) __constfunc;
/netbsd-current/sys/dev/spi/
H A Dmcp23xxxgpio_spi.c273 nchips = popcount32(spi_present_mask);
/netbsd-current/sys/arch/arm/cortex/
H A Dgic.c629 u_int priorities = 1 << popcount32(pmr);
664 sc->sc_gic_lines += popcount32(valid);
738 const u_int ppis = popcount32(sc->sc_gic_valid_lines[0] >> 16);
739 const u_int sgis = popcount32(sc->sc_gic_valid_lines[0] & 0xffff);
/netbsd-current/sys/arch/arm/nvidia/
H A Dtegra_soctherm.c397 const int bits = popcount32(bitmask);
/netbsd-current/sys/kern/
H A Dsubr_kcpuset.c490 count += popcount32(kcp->bits[j]);
/netbsd-current/sys/arch/powerpc/booke/dev/
H A Dpq3gpio.c422 "abc"[i], popcount32(pinmask[i]));
/netbsd-current/sys/arch/arm/ti/
H A Domap2_nand.c516 switch (popcount32(xor)) {
/netbsd-current/sys/arch/i386/stand/efiboot/
H A Deficons.c416 n = popcount32(mask);

Completed in 147 milliseconds