/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
H A D | vsprintf.c | 315 int precision; /* min. # of digits for integers; max in vsnprintf() local 356 /* get the precision */ in vsnprintf() 357 precision = -1; in vsnprintf() 360 precision = get_int(&fmt, &args); in vsnprintf() 361 if (precision >= 0) in vsnprintf() 385 precision = INT_MAX; in vsnprintf() 389 precision = len = 1; in vsnprintf() 395 if (precision < 0) in vsnprintf() 396 precision = INT_MAX; in vsnprintf() 399 s = precision < in vsnprintf() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | vsprintf.c | 315 int precision; /* min. # of digits for integers; max in vsnprintf() local 356 /* get the precision */ in vsnprintf() 357 precision = -1; in vsnprintf() 360 precision = get_int(&fmt, &args); in vsnprintf() 361 if (precision >= 0) in vsnprintf() 385 precision = INT_MAX; in vsnprintf() 389 precision = len = 1; in vsnprintf() 395 if (precision < 0) in vsnprintf() 396 precision = INT_MAX; in vsnprintf() 399 s = precision < in vsnprintf() [all...] |
/kernel/linux/linux-5.10/arch/alpha/boot/ |
H A D | stdio.c | 43 static char * number(char * str, unsigned long long num, int base, int size, int precision, int type) in number() argument 82 if (i > precision) in number() 83 precision = i; in number() 84 size -= precision; in number() 101 while (i < precision--) in number() 121 int precision; /* min. # of digits for integers; max in vsprintf() local 160 /* get the precision */ in vsprintf() 161 precision = -1; in vsprintf() 165 precision = skip_atoi(&fmt); in vsprintf() 169 precision in vsprintf() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
H A D | stdio.c | 79 static char * number(char * str, unsigned long long num, int base, int size, int precision, int type) in number() argument 118 if (i > precision) in number() 119 precision = i; in number() 120 size -= precision; in number() 137 while (i < precision--) in number() 157 int precision; /* min. # of digits for integers; max in vsprintf() local 196 /* get the precision */ in vsprintf() 197 precision = -1; in vsprintf() 201 precision = skip_atoi(&fmt); in vsprintf() 205 precision in vsprintf() [all...] |
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | printf.c | 41 static char *number(char *str, long num, int base, int size, int precision, in number() argument 85 if (i > precision) in number() 86 precision = i; in number() 87 size -= precision; in number() 104 while (i < precision--) in number() 124 int precision; /* min. # of digits for integers; max in vsprintf() local 170 /* get the precision */ in vsprintf() 171 precision = -1; in vsprintf() 175 precision = skip_atoi(&fmt); in vsprintf() 179 precision in vsprintf() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/boot/ |
H A D | stdio.c | 79 static char * number(char * str, unsigned long long num, int base, int size, int precision, int type) in number() argument 118 if (i > precision) in number() 119 precision = i; in number() 120 size -= precision; in number() 137 while (i < precision--) in number() 157 int precision; /* min. # of digits for integers; max in vsprintf() local 196 /* get the precision */ in vsprintf() 197 precision = -1; in vsprintf() 201 precision = skip_atoi(&fmt); in vsprintf() 205 precision in vsprintf() [all...] |
/kernel/linux/linux-6.6/arch/alpha/boot/ |
H A D | stdio.c | 43 static char * number(char * str, unsigned long long num, int base, int size, int precision, int type) in number() argument 82 if (i > precision) in number() 83 precision = i; in number() 84 size -= precision; in number() 101 while (i < precision--) in number() 121 int precision; /* min. # of digits for integers; max in vsprintf() local 160 /* get the precision */ in vsprintf() 161 precision = -1; in vsprintf() 165 precision = skip_atoi(&fmt); in vsprintf() 169 precision in vsprintf() [all...] |
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | printf.c | 41 static char *number(char *str, long num, int base, int size, int precision, in number() argument 85 if (i > precision) in number() 86 precision = i; in number() 87 size -= precision; in number() 104 while (i < precision--) in number() 124 int precision; /* min. # of digits for integers; max in vsprintf() local 170 /* get the precision */ in vsprintf() 171 precision = -1; in vsprintf() 175 precision = skip_atoi(&fmt); in vsprintf() 179 precision in vsprintf() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/ |
H A D | guest_sprintf.c | 44 int precision, int type) in number() 89 if (i > precision) in number() 90 precision = i; in number() 91 size -= precision; in number() 108 while (i < precision--) in number() 129 int precision; /* in guest_vsnprintf() local 181 /* get the precision */ in guest_vsnprintf() 182 precision = -1; in guest_vsnprintf() 186 precision = skip_atoi(&fmt); in guest_vsnprintf() 190 precision in guest_vsnprintf() 43 number(char *str, const char *end, long num, int base, int size, int precision, int type) number() argument [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | utprint.c | 32 u8 base, s32 width, s32 precision, u8 type); 192 * precision - Precision of the integer 197 * DESCRIPTION: Print an integer into a string with any base and any precision. 204 u8 base, s32 width, s32 precision, u8 type) in acpi_ut_format_number() 259 if (i > precision) { in acpi_ut_format_number() 260 precision = i; in acpi_ut_format_number() 263 width -= precision; in acpi_ut_format_number() 289 while (i <= --precision) { in acpi_ut_format_number() 323 s32 precision; in vsnprintf() local 386 /* Process precision */ in vsnprintf() 201 acpi_ut_format_number(char *string, char *end, u64 number, u8 base, s32 width, s32 precision, u8 type) acpi_ut_format_number() argument [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | utprint.c | 32 u8 base, s32 width, s32 precision, u8 type); 192 * precision - Precision of the integer 197 * DESCRIPTION: Print an integer into a string with any base and any precision. 204 u8 base, s32 width, s32 precision, u8 type) in acpi_ut_format_number() 259 if (i > precision) { in acpi_ut_format_number() 260 precision = i; in acpi_ut_format_number() 263 width -= precision; in acpi_ut_format_number() 289 while (i <= --precision) { in acpi_ut_format_number() 323 s32 precision; in vsnprintf() local 386 /* Process precision */ in vsnprintf() 201 acpi_ut_format_number(char *string, char *end, u64 number, u8 base, s32 width, s32 precision, u8 type) acpi_ut_format_number() argument [all...] |
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | util.S | 12 | g_rndpr: returns the rounding precision. 74 | This forces the destination precision to be extended 93 | This sets the round precision according to the user's FPCR unless the 96 | If the instruction is fsgldiv of fsglmul, the rounding precision must be 98 | precision instruction, the rounding precision is then set to the force 99 | precision. 109 beql ovff_sgl |force precision is single 111 beql ovff_dbl |force precision is double 136 | Inst is either fsgldiv or fsglmul. Force extended precision [all...] |
H A D | x_store.S | 100 | dest_dbl --- write double precision value to user space 104 | a1 -> source in extended precision 110 |Changes extended precision to double precision. 133 subw #0x3fff,%d0 |subtract extended precision bias 136 addw #0x3ff,%d0 |add double precision bias 166 movel #0x8,%d0 |byte count for double precision number 171 | dest_sgl --- write single precision value to user space 175 | a1 -> source in extended precision 182 |Changes extended precision t [all...] |
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | util.S | 12 | g_rndpr: returns the rounding precision. 74 | This forces the destination precision to be extended 93 | This sets the round precision according to the user's FPCR unless the 96 | If the instruction is fsgldiv of fsglmul, the rounding precision must be 98 | precision instruction, the rounding precision is then set to the force 99 | precision. 109 beql ovff_sgl |force precision is single 111 beql ovff_dbl |force precision is double 136 | Inst is either fsgldiv or fsglmul. Force extended precision [all...] |
H A D | x_store.S | 100 | dest_dbl --- write double precision value to user space 104 | a1 -> source in extended precision 110 |Changes extended precision to double precision. 133 subw #0x3fff,%d0 |subtract extended precision bias 136 addw #0x3ff,%d0 |add double precision bias 166 movel #0x8,%d0 |byte count for double precision number 171 | dest_sgl --- write single precision value to user space 175 | a1 -> source in extended precision 182 |Changes extended precision t [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | average.h | 12 * This implements a fixed-precision EWMA algorithm, with both the 13 * precision and fall-off coefficient determined at compile-time 19 * The second argument, the precision, expresses how many bits are 20 * used for the fractional part of the fixed-precision values. 58 unsigned long precision = _precision; \ 67 (val << precision)) >> weight_rcp : \ 68 (val << precision)); \
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | average.h | 12 * This implements a fixed-precision EWMA algorithm, with both the 13 * precision and fall-off coefficient determined at compile-time 19 * The second argument, the precision, expresses how many bits are 20 * used for the fractional part of the fixed-precision values. 58 unsigned long precision = _precision; \ 67 (val << precision)) >> weight_rcp : \ 68 (val << precision)); \
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
H A D | freq-step.c | 40 static double precision; variable 224 precision = get_sample(&sample) / 2.0; in init_test() 225 printf("CLOCK_MONOTONIC_RAW+CLOCK_MONOTONIC precision: %.0f ns\t\t", in init_test() 226 1e9 * precision); in init_test() 228 if (precision > MAX_PRECISION) in init_test() 229 ksft_exit_skip("precision: %.0f ns > MAX_PRECISION: %.0f ns\n", in init_test() 230 1e9 * precision, 1e9 * MAX_PRECISION); in init_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timers/ |
H A D | freq-step.c | 40 static double precision; variable 224 precision = get_sample(&sample) / 2.0; in init_test() 225 printf("CLOCK_MONOTONIC_RAW+CLOCK_MONOTONIC precision: %.0f ns\t\t", in init_test() 226 1e9 * precision); in init_test() 228 if (precision > MAX_PRECISION) in init_test() 229 ksft_exit_skip("precision: %.0f ns > MAX_PRECISION: %.0f ns\n", in init_test() 230 1e9 * precision, 1e9 * MAX_PRECISION); in init_test()
|
/kernel/linux/linux-5.10/lib/ |
H A D | vsprintf.c | 440 signed int precision:16; /* # of digits/chars */ member 459 int precision = spec.precision; in number() local 506 if (i > precision) in number() 507 precision = i; in number() 509 field_width -= precision; in number() 547 while (i <= --precision) { in number() 577 spec.precision = -1; in special_hex_number() 634 int lim = spec.precision; in string_nocheck() 676 if (spec.precision in error_string() 2035 int precision; device_node_string() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | vsprintf.c | 448 signed int precision:16; /* # of digits/chars */ member 467 int precision = spec.precision; in number() local 514 if (i > precision) in number() 515 precision = i; in number() 517 field_width -= precision; in number() 555 while (i <= --precision) { in number() 585 spec.precision = -1; in special_hex_number() 642 int lim = spec.precision; in string_nocheck() 684 if (spec.precision in error_string() 2161 int precision; device_node_string() local [all...] |
/kernel/linux/linux-5.10/drivers/soc/amlogic/ |
H A D | meson-clk-measure.c | 539 unsigned int *precision) in meson_measure_best_id() 548 *precision = (2 * 1000000) / duration; in meson_measure_best_id() 559 unsigned int precision = 0; in clk_msr_show() local 562 val = meson_measure_best_id(clk_msr_id, &precision); in clk_msr_show() 566 seq_printf(s, "%d\t+/-%dHz\n", val, precision); in clk_msr_show() 575 unsigned int precision = 0; in clk_msr_summary_show() local 578 seq_puts(s, " clock rate precision\n"); in clk_msr_summary_show() 585 val = meson_measure_best_id(&msr_table[i], &precision); in clk_msr_summary_show() 590 msr_table[i].name, val, precision); in clk_msr_summary_show() 538 meson_measure_best_id(struct meson_msr_id *clk_msr_id, unsigned int *precision) meson_measure_best_id() argument
|
/kernel/linux/linux-6.6/drivers/soc/amlogic/ |
H A D | meson-clk-measure.c | 540 unsigned int *precision) in meson_measure_best_id() 549 *precision = (2 * 1000000) / duration; in meson_measure_best_id() 560 unsigned int precision = 0; in clk_msr_show() local 563 val = meson_measure_best_id(clk_msr_id, &precision); in clk_msr_show() 567 seq_printf(s, "%d\t+/-%dHz\n", val, precision); in clk_msr_show() 576 unsigned int precision = 0; in clk_msr_summary_show() local 579 seq_puts(s, " clock rate precision\n"); in clk_msr_summary_show() 586 val = meson_measure_best_id(&msr_table[i], &precision); in clk_msr_summary_show() 591 msr_table[i].name, val, precision); in clk_msr_summary_show() 539 meson_measure_best_id(struct meson_msr_id *clk_msr_id, unsigned int *precision) meson_measure_best_id() argument
|
/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-jpeg.h | 51 * @precision: P 59 u8 precision; member 130 int v4l2_jpeg_parse_quantization_tables(void *buf, size_t len, u8 precision,
|
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-jpeg.h | 51 * @precision: P 59 u8 precision; member 152 int v4l2_jpeg_parse_quantization_tables(void *buf, size_t len, u8 precision,
|