Home
last modified time | relevance | path

Searched refs:num_digits (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/acpi/acpica/
H A Dexutils.c248 u32 num_digits; in acpi_ex_digits_needed() local
260 num_digits = 0; in acpi_ex_digits_needed()
267 num_digits++; in acpi_ex_digits_needed()
270 return_UINT32(num_digits); in acpi_ex_digits_needed()
/openbmc/u-boot/lib/libavb/
H A Davb_cmdline.c142 size_t n, num_digits; in uint64_to_base10() local
144 for (num_digits = 0; num_digits < AVB_MAX_DIGITS_UINT64 - 1;) { in uint64_to_base10()
145 rev_digits[num_digits++] = avb_div_by_10(&value) + '0'; in uint64_to_base10()
151 for (n = 0; n < num_digits; n++) { in uint64_to_base10()
152 digits[n] = rev_digits[num_digits - 1 - n]; in uint64_to_base10()
/openbmc/linux/arch/x86/include/asm/
H A Dmisc.h5 int num_digits(int val);
/openbmc/linux/arch/x86/lib/
H A Dmisc.c9 int num_digits(int val) in num_digits() function
/openbmc/openbmc-test-automation/lib/
H A Dgen_print.py1119 num_digits, remainder = divmod(
1122 num_digits *= 8
1124 num_digits += 8
1125 num_digits += 2
1126 value_format = "#0" + str(num_digits) + "b"
/openbmc/linux/arch/x86/kernel/
H A Dsmpboot.c929 width = num_digits(num_possible_cpus()) + 1; /* + '#' sign */ in announce_cpu()
932 node_width = num_digits(num_possible_nodes()) + 1; /* + '#' */ in announce_cpu()
944 node_width - num_digits(node), " ", node); in announce_cpu()
952 pr_cont("%*s#%d", width - num_digits(cpu), " ", cpu); in announce_cpu()
/openbmc/linux/crypto/
H A Decc.c172 unsigned int i, num_digits; in vli_num_bits() local
175 num_digits = vli_num_digits(vli, ndigits); in vli_num_bits()
176 if (num_digits == 0) in vli_num_bits()
179 digit = vli[num_digits - 1]; in vli_num_bits()
183 return ((num_digits - 1) * 64 + i); in vli_num_bits()