Home
last modified time | relevance | path

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

12345

/Zephyr-latest/lib/os/
Dcbprintf_nano.c82 int min_width, precision, data_len; in z_cbvprintf_impl() local
101 precision = -1; in z_cbvprintf_impl()
121 precision = 0; in z_cbvprintf_impl()
126 if (min_width < 0 && precision < 0 && !padding_mode) { in z_cbvprintf_impl()
141 if (precision >= 0) { in z_cbvprintf_impl()
142 precision = 10 * precision + *fmt - '0'; in z_cbvprintf_impl()
154 if (precision >= 0) { in z_cbvprintf_impl()
155 precision = va_arg(ap, int); in z_cbvprintf_impl()
214 precision = 0; in z_cbvprintf_impl()
224 precision = 0; in z_cbvprintf_impl()
[all …]
Dcbprintf_complete.c871 int precision, in encode_float() argument
978 precision = FRACTION_HEX; in encode_float()
980 } else if (precision > FRACTION_HEX) { in encode_float()
981 conv->pad0_pre_exp = precision - FRACTION_HEX; in encode_float()
983 precision = FRACTION_HEX; in encode_float()
985 && (precision < FRACTION_HEX)) { in encode_float()
986 size_t pos = 4 * (FRACTION_HEX - precision) - 1; in encode_float()
1002 if (require_dp || (precision != 0)) { in encode_float()
1029 while ((sp < spe) && (precision > 0)) { in encode_float()
1033 --precision; in encode_float()
[all …]
/Zephyr-latest/tests/drivers/sensor/ina237/boards/
Dnative_sim.overlay10 /* standard precision mode */
19 /* high precision mode */
23 high-precision;
29 /* high precision mode, maximum current lsb */
33 high-precision;
39 /* high precision mode, maximum rshunt */
43 high-precision;
/Zephyr-latest/include/zephyr/dsp/
Dprint_format.h30 #define PRIq(precision) "s%" PRIu32 ".%0" STRINGIFY(precision) PRIu32 argument
48 #define __PRIq_arg_get_frac(q, precision, shift) \ argument
49 ((__PRIq_arg_get(q, shift, 30, 0) * __CONSTPOW(1, precision)) / INT32_MAX)
58 #define PRIq_arg(q, precision, shift) \ argument
60 (uint32_t)__PRIq_arg_get_frac(q, precision, shift)
/Zephyr-latest/drivers/sensor/wsen/wsen_hids_2525020210002/
Dwsen_hids_2525020210002.c100 const struct sensor_value *precision) in hids_2525020210002_precision_set() argument
104 if (precision->val1 < hids_2525020210002_precision_Low || in hids_2525020210002_precision_set()
105 precision->val1 > hids_2525020210002_precision_High || precision->val2 != 0) { in hids_2525020210002_precision_set()
106 LOG_ERR("Bad precision configuration %d", precision->val1); in hids_2525020210002_precision_set()
110 data->sensor_precision = (hids_2525020210002_precision_t)precision->val1; in hids_2525020210002_precision_set()
197 struct sensor_value precision, heater; in hids_2525020210002_init() local
214 precision.val1 = config->precision; in hids_2525020210002_init()
215 precision.val2 = 0; in hids_2525020210002_init()
217 if (hids_2525020210002_precision_set(dev, &precision) < 0) { in hids_2525020210002_init()
240 .precision = (hids_2525020210002_precision_t)(DT_INST_ENUM_IDX(inst, precision)), \
Dwsen_hids_2525020210002.h40 const hids_2525020210002_precision_t precision; member
/Zephyr-latest/tests/drivers/clock_control/nrf_clock_control/src/
Dmain.c23 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
28 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
33 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
42 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
47 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
52 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
68 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
73 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
78 .precision = NRF_CLOCK_CONTROL_PRECISION_HIGH,
134 .precision = NRF_CLOCK_CONTROL_PRECISION_DEFAULT,
[all …]
/Zephyr-latest/arch/arm/core/
DKconfig.vfp35 that supports only single-precision operations with 16 double-word
46 that supports half- and single-precision operations with 16
58 that supports half- and single-precision operations (including fused
69 that supports single- and double-precision operations with 16
81 that supports half-, single- and double-precision operations with 16
94 that supports half-, single- and double-precision operations
108 that supports half-, single-, double-precision operations (including
122 that supports half-, single- and double-precision operations
136 that supports half-, single-, double-precision operations (including
149 half-precision operations (half-precision extension).
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_lfclk.c36 uint16_t precision : 1; member
41 .precision = 0,
46 .precision = 0,
52 .precision = 1,
131 spec->precision > clock_options[i].precision) { in lfclk_find_mgr()
223 clock_options[LFCLK_MAX_OPTS - 2].precision = 0; in lfclk_init()
227 clock_options[LFCLK_MAX_OPTS - 1].precision = 1; in lfclk_init()
234 clock_options[LFCLK_MAX_OPTS - 2].precision = 0; in lfclk_init()
238 clock_options[LFCLK_MAX_OPTS - 1].precision = 1; in lfclk_init()
245 clock_options[LFCLK_MAX_OPTS - 2].precision = 0; in lfclk_init()
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/
Dmr_canhubk3.overlay16 group-channel = "precision";
32 group-channel = "precision";
49 group-channel = "precision";
/Zephyr-latest/boards/andestech/adp_xc7k_ae350/
Dadp_xc7k_ae350_defconfig21 # FPU (single precision) options
27 # FPU (double precision) options
/Zephyr-latest/subsys/net/lib/sntp/
Dsntp.c33 NET_DBG("precision: %x", pkt->precision); in sntp_pkt_dump()
115 if (pkt->precision <= 0) { in parse_response()
116 precision_us = (uint32_t)(USEC_PER_SEC + USEC_PER_SEC / 2) >> -pkt->precision; in parse_response()
117 } else if (pkt->precision <= 10) { in parse_response()
118 precision_us = (uint32_t)(USEC_PER_SEC + USEC_PER_SEC / 2) << pkt->precision; in parse_response()
120 NET_DBG("SNTP packet precision out of range: %d", pkt->precision); in parse_response()
Dsntp_pkt.h24 int8_t precision; member
/Zephyr-latest/drivers/sensor/hp206c/
DKconfig1 # HopeRF Electronic HP206C precision barometer and altimeter configuration
8 bool "HopeRF HP206C precision barometer and altimeter sensor"
/Zephyr-latest/samples/boards/nordic/clock_control/
DKconfig24 0 -> low precision
25 1 -> high precision
/Zephyr-latest/arch/riscv/
DKconfig.isa49 Standard instruction-set extension for single-precision
50 floating-point, which is named "F" and adds single-precision
60 Standard double-precision floating-point instruction-set extension,
61 which is named "D" and adds double-precision floating-point
86 quad-precision binary floatingpoint instruction subset is named "Q".
/Zephyr-latest/drivers/timer/
DKconfig.gecko19 precision.
30 precision of all code which relies on cycles API, e.g.
/Zephyr-latest/boards/silabs/dev_kits/sltb010a/
Dsltb010a.dts34 precision = <50>;
40 precision = <50>;
/Zephyr-latest/modules/hal_silabs/simplicity_sdk/config/
Dsl_clock_manager_oscillator_config.h19 #define SL_CLOCK_MANAGER_HFXO_PRECISION DT_PROP(DT_NODELABEL(hfxo), precision)
27 #define SL_CLOCK_MANAGER_LFXO_PRECISION DT_PROP(DT_NODELABEL(lfxo), precision)
/Zephyr-latest/doc/connectivity/networking/api/
Dptp_time.rst14 The PTP time struct can store time information in high precision
/Zephyr-latest/samples/drivers/adc/adc_sequence/boards/
Dmr_canhubk3.overlay16 group-channel = "precision";
/Zephyr-latest/tests/drivers/adc/adc_api/boards/
Ds32z2xxdc2_s32z270_rtu0.overlay16 group-channel = "precision";
/Zephyr-latest/boards/silabs/dev_kits/xg27_dk2602a/
Dxg27_dk2602a.dts38 precision = <50>;
44 precision = <50>;
/Zephyr-latest/drivers/pwm/
Dpwm_led_esp32.c207 uint32_t precision = (0x1 << channel->resolution); in pwm_led_esp32_timer_set() local
219 prescaler = ((uint64_t) APB_CLK_FREQ << 8) / channel->freq / precision; in pwm_led_esp32_timer_set()
224 prescaler = ((uint64_t) SCLK_CLK_FREQ << 8) / channel->freq / precision; in pwm_led_esp32_timer_set()
229 prescaler = ((uint64_t) REF_CLK_FREQ << 8) / channel->freq / precision; in pwm_led_esp32_timer_set()
/Zephyr-latest/tests/kernel/fpu_sharing/generic/
DCMakeLists.txt11 # the speed of the test but it will come at the expense of precision.

12345