Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 20 of 20) 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/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.c72 static long float_to_long(u32 data, u32 precision) in float_to_long() argument
79 man = (man + (1 << 23)) * precision; in float_to_long()
176 unsigned int precision, long *val) in read_sensor() argument
197 *val = float_to_long(data, precision); in read_sensor()
/drivers/media/platform/imx-jpeg/
Dmxc-jpeg.c85 .precision = 8,
97 .precision = 8,
109 .precision = 8,
121 .precision = 8,
133 .precision = 8,
145 .precision = 8,
319 static void mxc_jpeg_bytesperline(struct mxc_jpeg_q_data *q, u32 precision);
676 sof->precision = 8; /* TODO allow 8/12 bit precision*/ in mxc_jpeg_fixup_sof()
971 mxc_jpeg_bytesperline(q_data_cap, jpeg_src_buf->fmt->precision); in mxc_jpeg_source_change()
1271 mxc_formats[i].precision == header->frame.precision) { in mxc_jpeg_get_image_format()
[all …]
Dmxc-jpeg.h64 u8 precision; member
155 u8 precision; member
Dmxc-jpeg-hw.h100 #define MXC_PIXEL_PRECISION(precision) ((precision) / 8 << 2) argument
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c397 uint32_t precision = 1 << 28; in dsc_optc_config_log() local
398 uint32_t bytes_per_pixel_int = config->bytes_per_pixel / precision; in dsc_optc_config_log()
399 uint32_t bytes_per_pixel_mod = config->bytes_per_pixel % precision; in dsc_optc_config_log()
407 ll_bytes_per_pix_fraq /= precision; in dsc_optc_config_log()
/drivers/pps/
DKconfig10 antennae. Userland can use it to get a high-precision time
/drivers/iio/pressure/
DKconfig233 tristate "HOPERF HP206C precision barometer and altimeter sensor"
236 Say yes here to build support for the HOPREF HP206C precision
/drivers/soc/samsung/
DKconfig82 faults with better 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/net/ethernet/ti/
DKconfig128 the IEEE 1588-2008 standard for a precision clock synchronization
/drivers/ptp/
DKconfig163 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/net/ethernet/qlogic/qed/
Dqed_debug.c7452 u32 i, precision = 80; in qed_dbg_print_feature() local
7457 pr_notice("\n%.*s", precision, p_text_buf); in qed_dbg_print_feature()
7458 for (i = precision; i < text_size; i += precision) in qed_dbg_print_feature()
7459 pr_cont("%.*s", precision, p_text_buf + i); in qed_dbg_print_feature()
/drivers/gpu/drm/tegra/
Dsor.c1073 u64 precision; member
1088 const u64 f = params->precision; in tegra_sor_compute_params()
1174 params.precision = f; in tegra_sor_compute_config()
/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()