Lines Matching defs:bits
110 * Builds a bit mask given the required size in bits.
112 * @bits: Number of bits in the mask
114 */ static inline uint64_t cvmx_build_mask(uint64_t bits)
116 return ~((~0x0ull) << bits);
168 * that we can use 40 bits of address space (the
170 * were we need to limit this to 30 bits, sign
171 * extended 32 bit. Although these are 64 bits wide,
172 * only 30 bits can be used.
346 /* Maximum # of bits to define core in node */
361 #define CVMX_NODE_BITS (2) /* Number of bits to define a node */
390 * Returns the number of bits set in the provided value.
393 * @val: 32 bit value to count set bits in
395 * Returns Number of bits set
405 * Returns the number of bits set in the provided value.
408 * @val: 64 bit value to count set bits in
410 * Returns Number of bits set