Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 22 of 22) sorted by relevance

/drivers/firmware/efi/libstub/
Dvsprintf.c315 int precision; /* min. # of digits for integers; max in vsnprintf() local
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 < 6 ? "" : "(null)"; in vsnprintf()
403 precision = len = utf16s_utf8nlen((const u16 *)s, precision); in vsnprintf()
[all …]
/drivers/acpi/acpica/
Dutprint.c32 u8 base, s32 width, s32 precision, u8 type);
204 u8 base, s32 width, s32 precision, u8 type) in acpi_ut_format_number() argument
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
388 precision = -1; in vsnprintf()
393 precision = (s32)number; in vsnprintf()
396 precision = va_arg(args, int); in vsnprintf()
[all …]
/drivers/soc/amlogic/
Dmeson-clk-measure.c540 unsigned int *precision) in meson_measure_best_id() argument
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
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()
/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg.c87 .precision = 8,
101 .precision = 12,
115 .precision = 8,
129 .precision = 12,
143 .precision = 8,
156 .precision = 8,
169 .precision = 12,
182 .precision = 12,
195 .precision = 8,
208 .precision = 12,
[all …]
Dmxc-jpeg.h67 u8 precision; member
165 u8 precision; member
Dmxc-jpeg-hw.h99 #define MXC_PIXEL_PRECISION(precision) ((precision) / 8 << 2) argument
/drivers/iio/gyro/
Dadis16136.c55 unsigned int precision; member
310 *val = adis16136->chip_info->precision; in adis16136_read_raw()
497 .precision = IIO_DEGREE_TO_RAD(1200),
502 .precision = IIO_DEGREE_TO_RAD(300),
507 .precision = IIO_DEGREE_TO_RAD(450),
512 .precision = IIO_DEGREE_TO_RAD(1000),
/drivers/media/v4l2-core/
Dv4l2-jpeg.c205 frame_header->precision = p; in jpeg_parse_frame_header()
305 u8 precision, in jpeg_parse_quantization_tables() argument
332 if (pq != 0 && (pq != 1 || precision != 12)) in jpeg_parse_quantization_tables()
557 out->frame.precision, in v4l2_jpeg_parse_header()
647 int v4l2_jpeg_parse_quantization_tables(void *buf, size_t len, u8 precision, in v4l2_jpeg_parse_quantization_tables() argument
654 return jpeg_parse_quantization_tables(&stream, precision, q_tables); in v4l2_jpeg_parse_quantization_tables()
/drivers/hwmon/
Dlochnagar-hwmon.c70 static long float_to_long(u32 data, u32 precision) in float_to_long() argument
77 man = (man + (1 << 23)) * precision; in float_to_long()
174 unsigned int precision, long *val) in read_sensor() argument
195 *val = float_to_long(data, precision); in read_sensor()
DKconfig1106 precision PWM fan control.
/drivers/pps/
DKconfig10 antennae. Userland can use it to get a high-precision time
/drivers/soc/samsung/
DKconfig76 faults with better precision.
/drivers/iio/pressure/
DKconfig251 tristate "HOPERF HP206C precision barometer and altimeter sensor"
254 Say yes here to build support for the HOPREF HP206C precision
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dkernel.fuc253 /* try not losing precision (multiply then divide) */
264 /* let's divide then multiply, too bad for the precision! */
/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c740 uint32_t precision = 1 << 28; in dsc_optc_config_log() local
741 uint32_t bytes_per_pixel_int = config->bytes_per_pixel / precision; in dsc_optc_config_log()
742 uint32_t bytes_per_pixel_mod = config->bytes_per_pixel % precision; in dsc_optc_config_log()
751 ll_bytes_per_pix_fraq /= precision; in dsc_optc_config_log()
/drivers/net/ethernet/ti/
DKconfig133 the IEEE 1588-2008 standard for a precision clock synchronization
/drivers/ptp/
DKconfig174 This driver adds support for using VMware virtual precision
/drivers/net/wireless/broadcom/b43/
Dphy_lp.c1060 static u32 lpphy_qdiv_roundup(u32 dividend, u32 divisor, u8 precision) in lpphy_qdiv_roundup() argument
1070 while (precision > 0) { in lpphy_qdiv_roundup()
1076 precision--; in lpphy_qdiv_roundup()
/drivers/gpu/drm/i915/display/
Dintel_color.c2892 int check_size, int precision) in intel_lut_equal() argument
2901 if (!blob1 != !precision) in intel_lut_equal()
2919 err = 0xffff >> precision; in intel_lut_equal()
/drivers/gpu/drm/tegra/
Dsor.c1074 u64 precision; member
1089 const u64 f = params->precision; in tegra_sor_compute_params()
1175 params.precision = f; in tegra_sor_compute_config()
/drivers/net/ethernet/qlogic/qed/
Dqed_debug.c7924 u32 i, precision = 80; in qed_dbg_print_feature() local
7929 pr_notice("\n%.*s", precision, p_text_buf); in qed_dbg_print_feature()
7930 for (i = precision; i < text_size; i += precision) in qed_dbg_print_feature()
7931 pr_cont("%.*s", precision, p_text_buf + i); in qed_dbg_print_feature()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c950 wlc_lcnphy_qdiv_roundup(u32 dividend, u32 divisor, u8 precision) in wlc_lcnphy_qdiv_roundup() argument
959 while (precision--) { in wlc_lcnphy_qdiv_roundup()