Home
last modified time | relevance | path

Searched refs:avg (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/tests/benchmarks/sched/src/
Dmain.c156 uint32_t avg, whole = stamps[4] - stamps[0]; in main() local
165 avg = tot / (runs - 10); in main()
168 avg = 0U; in main()
182 whole, avg); in main()
/Zephyr-latest/include/zephyr/dt-bindings/sensor/
Dina230.h65 avg) \ argument
66 (((avg) << 9) | ((bvct) << 6) | ((svct) << 3) | (mode))
Dina237.h88 avg) \ argument
89 (((mode) << 12) | ((vbusct) << 9) | ((vshct) << 6) | ((vtct) << 3) | (avg))
/Zephyr-latest/drivers/sensor/ti/tmp116/
Dtmp116.c280 uint16_t avg; in tmp116_attr_set() local
313 avg = TMP116_AVG_1_SAMPLE; in tmp116_attr_set()
317 avg = TMP116_AVG_8_SAMPLES; in tmp116_attr_set()
321 avg = TMP116_AVG_32_SAMPLES; in tmp116_attr_set()
325 avg = TMP116_AVG_64_SAMPLES; in tmp116_attr_set()
331 return tmp116_write_config(dev, TMP116_CFGR_AVG, avg); in tmp116_attr_set()
/Zephyr-latest/subsys/net/lib/shell/
Dstats.c159 uint32_t avg; in get_net_pkt_tc_stats_detail() local
179 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_tc_stats_detail()
185 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_tc_stats_detail()
191 if (avg == 0) { in get_net_pkt_tc_stats_detail()
195 total += avg; in get_net_pkt_tc_stats_detail()
198 "->%u", avg); in get_net_pkt_tc_stats_detail()
223 uint32_t avg; in get_net_pkt_stats_detail() local
241 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_stats_detail()
247 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_stats_detail()
253 if (avg == 0) { in get_net_pkt_stats_detail()
[all …]
/Zephyr-latest/subsys/testsuite/busy_sim/
Dbusy_sim.c79 uint32_t avg = idle ? data->idle_avg : data->active_avg; in get_timeout() local
96 avg *= data->us_tick; in get_timeout()
99 return avg - delta + 2 * (rand_val % delta); in get_timeout()
/Zephyr-latest/boards/nordic/nrf5340_audio_dk/
Dnrf5340_audio_dk_nrf5340_cpuapp_common.dtsi164 avg-count = <1024>;
175 avg-count = <1024>;
186 avg-count = <1024>;
197 avg-count = <1024>;
/Zephyr-latest/drivers/sensor/st/lps2xdf/
Dilps22qs.c22 md.avg = cfg->avg; in ilps22qs_mode_set_odr_raw()
Dlps22df.c22 md.avg = cfg->avg; in lps22df_mode_set_odr_raw()
Dlps28dfw.c22 md.avg = cfg->avg; in lps28dfw_mode_set_odr_raw()
Dlps2xdf.c165 .avg = DT_INST_PROP(inst, avg), \
Dlps2xdf.h90 uint8_t avg; member
/Zephyr-latest/tests/drivers/regulator/voltage/boards/
Dlpcxpresso55s36.overlay17 adc-avg-count = <10>;
Dfrdm_mcxn947_mcxn947_cpu0.overlay18 adc-avg-count = <10>;
Dfrdm_mcxn947_mcxn947_cpu0_qspi.overlay18 adc-avg-count = <10>;
Dfrdm_mcxn236.overlay18 adc-avg-count = <10>;
Dfrdm_mcxw71.overlay18 adc-avg-count = <10>;
Drpi_pico.overlay21 adc-avg-count = <10>;
Dnrf52840dk_nrf52840_npm6001.overlay20 adc-avg-count = <10>;
Dmimxrt685_evk_mimxrt685s_cm33.overlay47 adc-avg-count = <10>;
/Zephyr-latest/drivers/sensor/ti/tmag5273/
Dtmag5273.h264 #define TMAG5273_T_CONVERSION_US(avg, nb_channels) (((1 << avg) * 25) * nb_channels + 25) argument
/Zephyr-latest/tests/lib/heap/src/
Dmain.c152 uint32_t avg = (uint32_t)((r->accumulated_in_use_bytes + tot/2) / tot); in log_result() local
153 uint32_t avg_pct = (uint32_t)((100ULL * avg + sz / 2) / sz); in log_result()
160 r->total_frees, avg, (int) sz, avg_pct); in log_result()
/Zephyr-latest/boards/st/stm32g071b_disco/
Dstm32g071b_disco.dts150 avg-count = <1>;
/Zephyr-latest/tests/drivers/build_all/sensor/
Di2c.dtsi693 avg-mode = <2>;
826 avg = <LPS2xDF_DT_AVG_128_SAMPLES>;
841 avg = <LPS2xDF_DT_AVG_128_SAMPLES>;
1127 avg = <LPS2xDF_DT_AVG_128_SAMPLES>;
/Zephyr-latest/samples/drivers/ethernet/eth_ivshmem/
DREADME.rst118 rtt min/avg/max/mdev = 0.646/1.124/1.450/0.345 ms

12