Lines Matching defs:bits
44 * but just in case, let's use a few more bits for timestamps
74 * cper_print_bits - print strings for set bits
76 * @bits: bit mask
80 * For each set bit in @bits, print the corresponding string in @strs.
84 void cper_print_bits(const char *pfx, unsigned int bits,
92 if (!(bits & (1U << i)))
111 * cper_bits_to_str - return a string for set bits
114 * @bits: bit mask
118 * Add to @buf the bitmask in hexadecimal. Then, for each set bit in @bits,
123 * const char * const bits[] = {
133 * bits, ARRAY_SIZE(bits));
139 int cper_bits_to_str(char *buf, int buf_size, unsigned long bits,
148 for_each_set_bit(i, &bits, strs_size) {
149 if (!(bits & BIT_ULL(i)))
420 /* Don't trust UEFI 2.1/2.2 structure with bad validation bits */
423 pr_err(FW_WARN "valid bits set for fields beyond structure\n");