/Zephyr-latest/subsys/net/lib/shell/ |
D | stats.c | 5 * SPDX-License-Identifier: Apache-2.0 53 PR("Bytes received : %u\n", data->bytes.received); in print_eth_stats() 54 PR("Bytes sent : %u\n", data->bytes.sent); in print_eth_stats() 55 PR("Packets received : %u\n", data->pkts.rx); in print_eth_stats() 56 PR("Packets sent : %u\n", data->pkts.tx); in print_eth_stats() 57 PR("Bcast received : %u\n", data->broadcast.rx); in print_eth_stats() 58 PR("Bcast sent : %u\n", data->broadcast.tx); in print_eth_stats() 59 PR("Mcast received : %u\n", data->multicast.rx); in print_eth_stats() 60 PR("Mcast sent : %u\n", data->multicast.tx); in print_eth_stats() 62 PR("Send errors : %u\n", data->errors.tx); in print_eth_stats() [all …]
|
/Zephyr-latest/boards/nordic/nrf5340_audio_dk/ |
D | nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi | 2 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 6 #include "nrf5340_audio_dk_nrf5340_cpuapp_common-pinctrl.dtsi" 7 #include <zephyr/dt-bindings/sensor/ina230.h> 12 zephyr,shell-uart = &uart0; 13 zephyr,uart-mcumgr = &uart0; 14 zephyr,bt-mon-uart = &uart0; 15 zephyr,bt-c2h-uart = &uart0; 16 zephyr,bt-hci = &bt_hci_ipc0; 20 gpio_fwd: nrf-gpio-forwarder { [all …]
|
/Zephyr-latest/tests/drivers/regulator/voltage/boards/ |
D | lpcxpresso55s36.overlay | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/dt-bindings/adc/mcux-lpadc.h> 7 #include <zephyr/dt-bindings/regulator/nxp_vref.h> 9 /* To do this test, connect AN (J7-1) to VREF_OUT (J12-16) */ 13 compatible = "test-regulator-voltage"; 15 tolerance-microvolt = <1000000>; 16 set-read-delay-ms = <10>; 17 adc-avg-count = <10>; 18 io-channels = <&adc0 0>; 23 regulator-initial-mode = <NXP_VREF_MODE_INTERNAL_REGULATOR>; [all …]
|
D | frdm_mcxn947_mcxn947_cpu0.overlay | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/dt-bindings/adc/adc.h> 7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h> 8 #include <zephyr/dt-bindings/regulator/nxp_vref.h> 14 compatible = "test-regulator-voltage"; 16 tolerance-microvolt = <10000>; 17 set-read-delay-ms = <1>; 18 adc-avg-count = <10>; 19 io-channels = <&lpadc0 0>; 20 min-microvolt = <1000000>; [all …]
|
D | frdm_mcxn947_mcxn947_cpu0_qspi.overlay | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/dt-bindings/adc/adc.h> 7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h> 8 #include <zephyr/dt-bindings/regulator/nxp_vref.h> 14 compatible = "test-regulator-voltage"; 16 tolerance-microvolt = <10000>; 17 set-read-delay-ms = <1>; 18 adc-avg-count = <10>; 19 io-channels = <&lpadc0 0>; 20 min-microvolt = <1000000>; [all …]
|
D | frdm_mcxn236.overlay | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/dt-bindings/adc/adc.h> 7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h> 8 #include <zephyr/dt-bindings/regulator/nxp_vref.h> 14 compatible = "test-regulator-voltage"; 16 tolerance-microvolt = <10000>; 17 set-read-delay-ms = <1>; 18 adc-avg-count = <10>; 19 io-channels = <&lpadc0 0>; 20 min-microvolt = <1000000>; [all …]
|
D | rpi_pico.overlay | 3 * SPDX-License-Identifier: Apache-2.0 16 compatible = "test-regulator-voltage"; 18 io-channels = <&adc 0>; 19 tolerance-microvolt = <50000>; 20 set-read-delay-ms = <10>; 21 adc-avg-count = <10>; 22 min-microvolt = <850000>; 27 raspberrypi,brown-out-threshold = <473000>; 31 #address-cells = <1>; 32 #size-cells = <0>; [all …]
|
D | frdm_mcxw71.overlay | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/dt-bindings/adc/adc.h> 7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h> 8 #include <zephyr/dt-bindings/regulator/nxp_vref.h> 14 compatible = "test-regulator-voltage"; 16 tolerance-microvolt = <40000>; 17 set-read-delay-ms = <1>; 18 adc-avg-count = <10>; 19 io-channels = <&adc0 0>; 20 min-microvolt = <1000000>; [all …]
|
D | mimxrt685_evk_mimxrt685s_cm33.overlay | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/dt-bindings/adc/mcux-lpadc.h> 13 regulator-max-microvolt = <1800000>; 17 regulator-max-microvolt = <1800000>; 25 slew-rate = "normal"; 26 drive-strength = "normal"; 27 nxp,analog-mode; 33 * J30.1-> TP15 34 * J30.3-> TP17 37 compatible = "test-regulator-voltage"; [all …]
|
D | nrf52840dk_nrf52840_npm6001.overlay | 3 * SPDX-License-Identifier: Apache-2.0 9 * re-run the test. 12 compatible = "test-regulator-voltage"; 16 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>; 17 tolerance-microvolt = <75000>, <25000>, <25000>, <75000>, 19 set-read-delay-ms = <1>; 20 adc-avg-count = <10>; 25 #address-cells = <1>; 26 #size-cells = <0>; 32 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; [all …]
|
/Zephyr-latest/tests/posix/eventfd/src/ |
D | stress.c | 4 * SPDX-License-Identifier: Apache-2.0 25 static size_t count[2]; variable 68 ret = op[id](fixture->fd); in th_fun() 70 zassert_true(ret == 0 || (ret == -1 && errno == EAGAIN), in th_fun() 73 count[id] += (ret == 0); in th_fun() 77 printk("%zu %s\n", count[id], msg[id]); in th_fun() 84 printk("avg: %zu %s/s\n", (size_t)((count[id] * MSEC_PER_SEC) / end_ms), msg[id]); in th_fun() 97 reopen(&fixture->fd, 0, EFD_NONBLOCK | EFD_SEMAPHORE); in ZTEST_F() 109 zassert_true(count[READER] > 0, "read count is zero"); in ZTEST_F() 110 zassert_true(count[WRITER] > 0, "write count is zero"); in ZTEST_F() [all …]
|
/Zephyr-latest/tests/drivers/regulator/voltage/dts/bindings/ |
D | test-regulator-voltage.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "test-regulator-voltage" 16 io-channels. 18 io-channels: 19 type: phandle-array 25 tolerance-microvolt: 29 Tolerance (+/-) when reading configured voltages using ADC. This should 34 adc-avg-count: 40 set-read-delay-ms: 46 min-microvolt: [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | ti,ina230.yaml | 5 # SPDX-License-Identifier: Apache-2.0 10 The <zephyr/dt-bindings/sensor/ina230.h> file should be included in the 16 include: ti,ina23x-common.yaml 28 alert-config: 30 description: Diag alert register, default matches the power-on reset value 32 adc-mode: 36 Default is the power-on reset value. 39 - "Shutdown single shot" 40 - "Shunt Voltage single shot" 41 - "Bus Voltage single shot" [all …]
|
D | ti,ina226.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 The <zephyr/dt-bindings/sensor/ina226.h> file should be included in the 12 include: [sensor-device.yaml, i2c-device.yaml] 15 avg-count: 19 Default is the power-on reset value. 23 vbus-conversion-time-us: 27 Default is the power-on reset value. 31 vshunt-conversion-time-us: 35 Default is the power-on reset value. 39 operating-mode: [all …]
|
D | ti,ina237.yaml | 4 # SPDX-License-Identifier: Apache-2.0 9 The <zephyr/dt-bindings/sensor/ina237.h> file should be included in the 15 include: ti,ina23x-common.yaml 31 adc-config: 41 alert-config: 43 description: Diag alert register, default matches the power-on reset value 45 adc-mode: 49 Default is the power-on reset value. 52 - "Shutdown single shot" 53 - "Bus Voltage single shot" [all …]
|
D | invensense,icm42670.yaml | 4 # SPDX-License-Identifier: Apache-2.0 6 description: ICM-42670 motion tracking device 8 include: [sensor-device.yaml] 11 int-gpios: 12 type: phandle-array 14 The INT signal default configuration is active-high. The 18 accel-hz: 22 Default frequency of accelerometer. (Unit - Hz) 24 Power-on reset value is 800. 26 - 0 [all …]
|
/Zephyr-latest/tests/lib/heap/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 30 /* Various ARC platforms set CONFIG_SRAM_SIZE to 16-128M, but have a 31 * much lower limit of (32-64k) in their linker scripts. Pick a 95 ((size_t *)p)[sz / sizeof(size_t) - 1] = tok; in fill_block() 112 zassert_true(((size_t *)p)[sz / sizeof(size_t) - 1] == tok, ""); in check_fill() 128 size_t chunk = ROUND_DOWN(addr - 1, 8); in testalloc() 129 size_t hdr = addr - chunk; in testalloc() 130 size_t expect = ROUND_UP(bytes + hdr, 8) - hdr; in testalloc() 151 uint32_t tot = r->total_allocs + r->total_frees; in log_result() 152 uint32_t avg = (uint32_t)((r->accumulated_in_use_bytes + tot/2) / tot); in log_result() local [all …]
|
/Zephyr-latest/boards/st/stm32g071b_disco/ |
D | stm32g071b_disco.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/g0/stm32g071r(6-8-b)tx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/sensor/ina230.h> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 compatible = "st,stm32g071-demo"; 19 zephyr,shell-uart = &usart3; 25 compatible = "gpio-leds"; 45 compatible = "gpio-keys"; 74 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | i2c.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/sensor/lsm6dsv16x.h> 10 #include <zephyr/dt-bindings/sensor/lsm6dso.h> 11 #include <zephyr/dt-bindings/sensor/lsm6dso16is.h> 12 #include <zephyr/dt-bindings/sensor/lps22hh.h> 13 #include <zephyr/dt-bindings/sensor/lps2xdf.h> 14 #include <zephyr/dt-bindings/sensor/lis2ds12.h> 15 #include <zephyr/dt-bindings/sensor/lis2dw12.h> 16 #include <zephyr/dt-bindings/sensor/ism330dhcx.h> 17 #include <zephyr/dt-bindings/sensor/iis2dlpc.h> [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.5.rst | 38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3 39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_ 41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j 42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_ 44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7 45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_ 47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4 48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_ 50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh 51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_ [all …]
|