/Zephyr-latest/scripts/coccinelle/ |
D | same_identifier.cocci | 2 // https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_05_07.c 7 // SPDX-License-Identifier: Apache-2.0 16 identifier t, v; 19 struct t *v@p; 21 struct t v@p; 23 union t v@p; 27 t << common_case.t; 28 v << common_case.v; 32 msg = "WARNING: Violation to rule 5.7 (Tag name should be unique) tag: {}".format(v) 33 if t == v: [all …]
|
D | reserved_names.cocci | 2 // https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_21_02.c 7 // SPDX-License-Identifier: Apache-2.0 16 identifier t, v; 18 type T; 21 struct t *v@p; 23 struct t v@p; 25 union t v@p; 27 T v@p; 29 T *v@p; 31 struct t *v@p = E; [all …]
|
D | boolean.cocci | 2 // https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_14_04.c 7 // SPDX-License-Identifier: Apache-2.0 16 identifier function, v; 22 T1 function(P1, T2 v, P2) {...} 24 T1 function(P1, T2 *v, P2) {...} 28 t << rule1_base.T2; 29 v << rule1_base.v; 32 if t == "bool": 36 identifier rule1_base.v; 40 while (v@p) {...} [all …]
|
D | int_ms_to_timeout.cocci | 1 // Copyright (c) 2019-2020 Nordic Semiconductor ASA 2 // SPDX-License-Identifier: Apache-2.0 14 // Options: --include-headers 64 - 0 67 - -1 70 - C 105 expression V; 110 - MSEC_PER_SEC 113 - V * MSEC_PER_SEC 114 + K_SECONDS(V) [all …]
|
/Zephyr-latest/doc/_extensions/zephyr/doxytooltip/static/tippy/ |
D | popper.min.js | 3 * SPDX-License-Identifier: MIT 7 …t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&defi… class in AnonymousFunction7648dcfe3a00
|
D | tippy-bundle.umd.min.js | 2 * SPDX-License-Identifier: MIT 6 …t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@popperjs/core… function 7 //# sourceMappingURL=tippy-bundle.umd.min.js.map
|
/Zephyr-latest/samples/sensor/max17262/ |
D | README.rst | 1 .. zephyr:code-sample:: max17262 3 :relevant-api: sensor_interface 17 The MAX17262 is an ultra-low power fuel-gauge IC which implements the Maxim 18 ModelGauge m5 algorithm. The IC monitors a single-cell battery pack and 34 .. zephyr-app-commands:: 35 :zephyr-app: samples/sensor/max17262 45 .. code-block:: console 47 $ sudo picocom -D /dev/ttyUSB0 49 .. code-block:: console 51 V: 3.626406 V; I: -3.437500 mA; T: 28.011718 °C [all …]
|
D | sample.yaml | 14 - "V: (.*) V; I: (.*) mA; T: (.*) °C"
|
/Zephyr-latest/scripts/ci/ |
D | upload_test_results_es.py | 3 # Copyright (c) 2022-2024 Intel Corporation 4 # SPDX-License-Identifier: Apache-2.0 35 :param parent_name: the short, single-level, name of the ``value``. 146 for k,v in src_dict.items(): 149 res_dict[k_pref] = {k_suff: v} 154 res_dict[k_pref][k_suff].append(v) 156 res_dict[k_pref][k_suff] = v 160 def transform(t, args): argument 164 if property_name in t: 165 match = re.match(rule, t[property_name]) [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/pcie/ |
D | pcie.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * if the device doesn't support MSI and we don't/can't know the wired IRQ 30 #define CAST(type, v) (v) argument 32 #define CAST(type, v) ((type)(v)) argument
|
/Zephyr-latest/subsys/shell/ |
D | shell_utils.c | 4 * SPDX-License-Identifier: Apache-2.0 59 return ((buffer_pos + cons->name_len) / cons->terminal_wid); in line_num_with_buffer_offset_get() 67 return (1 + ((buffer_pos + cons->name_len) % cons->terminal_wid)); in col_num_with_buffer_offset_get() 75 - col_num_with_buffer_offset_get(cons, offset1); in z_column_span_with_buffer_offsets_get() 83 - line_num_with_buffer_offset_get(cons, offset1); in z_row_span_with_buffer_offsets_get() 90 * +1 -> because home position is (1, 1) in z_shell_multiline_data_calc() 92 cons->cur_x = (buff_pos + cons->name_len) % cons->terminal_wid + 1; in z_shell_multiline_data_calc() 93 cons->cur_y = (buff_pos + cons->name_len) / cons->terminal_wid + 1; in z_shell_multiline_data_calc() 96 cons->cur_y_end = (buff_len + cons->name_len) / cons->terminal_wid + 1; in z_shell_multiline_data_calc() 97 cons->cur_x_end = (buff_len + cons->name_len) % cons->terminal_wid + 1; in z_shell_multiline_data_calc() [all …]
|
/Zephyr-latest/tests/bsim/ |
D | ci.uart.sh | 3 # SPDX-License-Identifier: Apache-2.0 9 export ZEPHYR_BASE="${ZEPHYR_BASE:-${PWD}}" 12 set -uex 16 ${ZEPHYR_BASE}/scripts/twister -T tests/drivers/uart/ --force-color --inline-logs -v -M \ 17 -p nrf52_bsim -p nrf5340bsim/nrf5340/cpuapp --fixture gpio_loopback \ 18 -- -uart0_loopback -uart1_loopback 21 ${ZEPHYR_BASE}/scripts/twister -T tests/drivers/uart/ --force-color --inline-logs -v -M \ 22 -p nrf54l15bsim/nrf54l15/cpuapp --fixture gpio_loopback \ 23 -- -uart2_loopback
|
/Zephyr-latest/subsys/logging/mipi_syst/ |
D | platform.h | 2 * Copyright (c) 2019 - 2023 Intel Corporation 4 * SPDX-License-Identifier: Apache-2.0 38 * Platform specific SyS-T global state extension 45 void (*write_d8)(struct mipi_syst_handle *systh, mipi_syst_u8 v); 46 void (*write_d16)(struct mipi_syst_handle *systh, mipi_syst_u16 v); 47 void (*write_d32)(struct mipi_syst_handle *systh, mipi_syst_u32 v); 49 void (*write_d64)(struct mipi_syst_handle *systh, mipi_syst_u64 v); 51 void (*write_d32ts)(struct mipi_syst_handle *systh, mipi_syst_u32 v); 52 void (*write_d32mts)(struct mipi_syst_handle *systh, mipi_syst_u32 v); 53 void (*write_d64mts)(struct mipi_syst_handle *systh, mipi_syst_u64 v); [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/adv/periodic/tests_scripts/ |
D | per_adv_app_not_scanning.sh | 3 # SPDX-License-Identifier: Apache-2.0 6 # automatically because the application didn't start it. 16 -v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=0 \ 17 -testid=per_adv_advertiser -rs=23 20 -v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=0 \ 21 -testid=per_adv_sync_app_not_scanning -rs=6 23 Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \ 24 -D=2 -sim_length=20e6 $@
|
D | per_adv_app_not_scanning_coded.sh | 3 # SPDX-License-Identifier: Apache-2.0 6 # automatically because the application didn't start it. 17 -v=${verbosity_level} -s=${simulation_id} -d=0 -RealEncryption=0 \ 18 -testid=per_adv_advertiser_coded_phy -rs=23 21 -v=${verbosity_level} -s=${simulation_id} -d=1 -RealEncryption=0 \ 22 -testid=per_adv_sync_app_not_scanning -rs=6 24 Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \ 25 -D=2 -sim_length=20e6 $@
|
/Zephyr-latest/subsys/logging/ |
D | log_output_syst.c | 4 * SPDX-License-Identifier: Apache-2.0 34 static const char pattern[] = "SYS-T RAW DATA: "; 42 out_ctx->buf[out_ctx->control_block->offset] = (uint8_t)c; in out_func() 43 out_ctx->control_block->offset++; in out_func() 45 __ASSERT_NO_MSG(out_ctx->control_block->offset <= out_ctx->size); in out_func() 47 if (out_ctx->control_block->offset == out_ctx->size) { in out_func() 58 p->current |= (n << 4); in stp_write_putNibble() 59 p->byteDone = !p->byteDone; in stp_write_putNibble() 61 if (p->byteDone) { in stp_write_putNibble() 62 out_func(p->current, systh->systh_platform.log_output); in stp_write_putNibble() [all …]
|
/Zephyr-latest/scripts/pylib/twister/ |
D | expr_parser.py | 5 # SPDX-License-Identifier: Apache-2.0 50 def t_HEX(t): argument 51 r"0x[0-9a-fA-F]+" 52 t.value = str(int(t.value, 16)) 53 return t 55 def t_INTEGER(t): argument 57 t.value = str(int(t.value)) 58 return t 60 def t_STR(t): argument 63 t.value = t.value[1:-1] [all …]
|
/Zephyr-latest/samples/sensor/sgp40_sht4x/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 10 bool "Use the T/RH compensation feature of the SGP40" 31 0 -> High power heater pulse -> ~200 mW @3.3V 32 1 -> Medium power heater pulse -> ~110 mW @3.3V 33 2 -> Low power heater pulse -> ~20 mW @3.3V 41 0 -> Long heater pulse -> 1.1s 42 1 -> Short heater pulse -> 0.11s
|
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/tests_scripts/ |
D | gatt.llcp.sh | 3 # SPDX-License-Identifier: Apache-2.0 12 CWD="$(cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P)" 18 Execute ./src/edttool.py -s=${SIMULATION_ID} -d=0 --transport bsim \ 19 -T gatt_verification -C "${CWD}/gatt.llcp.test_list" -v=${VERBOSITY_LEVEL} \ 20 -D=2 -devs 1 2 -RxWait=2.5e3 26 -s=${SIMULATION_ID} -d=1 -v=${VERBOSITY_LEVEL} -RealEncryption=1 30 -s=${SIMULATION_ID} -d=2 -v=${VERBOSITY_LEVEL} -RealEncryption=1 32 Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \ 33 -D=3 -sim_length=3600e6 $@
|
/Zephyr-latest/doc/_static/js/ |
D | dark-mode-toggle.min.mjs | 2 …t={};try{t=localStorage}catch(e){}const i="prefers-color-scheme";const a="media";const s="light";c… constant
|
/Zephyr-latest/arch/riscv/core/ |
D | fpu.c | 5 * SPDX-License-Identifier: Apache-2.0 25 * Note: Apparently gcc doesn't use float regs with variadic functions on 26 * RISC-V even if -mabi is used with f or d so this precaution might be 35 unsigned int v; in DBG() local 38 buf[3] = '0' + _current_cpu->id; in DBG() 39 buf[8] = '0' + arch_current_thread()->arch.exception_depth; in DBG() 40 strcat(buf, arch_current_thread()->name); in DBG() 44 strcat(buf, th->name); in DBG() 46 v = *(unsigned char *)&th->arch.saved_fp_context; in DBG() 49 *p++ = ((v >> 4) < 10) ? ((v >> 4) + '0') : ((v >> 4) - 10 + 'a'); in DBG() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/test_scripts/ |
D | run_gatt_settings.sh | 3 # SPDX-License-Identifier: Apache-2.0 4 set -eu 20 Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s="${simulation_id}" -D=8 -sim_length=30e6 $@ 23 # because bsim doesn't support plugging devices in and out of a running 24 # simulation, but this test needs a way to power-cycle the `server` device a few 29 Execute "$test_exe" -v=${verbosity_level} \ 30 -s="${simulation_id}" -d=0 -testid=server -RealEncryption=1 -argstest 0 6 "server" 31 Execute "$test_exe" -v=${verbosity_level} \ 32 -s="${simulation_id}" -d=1 -testid=server -RealEncryption=1 -argstest 1 6 "server" 33 Execute "$test_exe" -v=${verbosity_level} \ [all …]
|
D | run_gatt_settings_2.sh | 3 # SPDX-License-Identifier: Apache-2.0 4 set -eu 20 Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s="${simulation_id}" -D=8 -sim_length=30e6 $@ 23 # because bsim doesn't support plugging devices in and out of a running 24 # simulation, but this test needs a way to power-cycle the `server` device a few 29 Execute "$test_2_exe" -v=${verbosity_level} \ 30 -s="${simulation_id}" -d=0 -testid=server -RealEncryption=1 -argstest 0 6 "server_2" 31 Execute "$test_2_exe" -v=${verbosity_level} \ 32 -s="${simulation_id}" -d=1 -testid=server -RealEncryption=1 -argstest 1 6 "server_2" 33 Execute "$test_2_exe" -v=${verbosity_level} \ [all …]
|
/Zephyr-latest/soc/espressif/common/ |
D | Kconfig.flash | 2 # SPDX-License-Identifier: Apache-2.0 36 modules, please don't disable this, otherwise your flash may not work in 4-bit 82 to flash on ESP32-D2WD; (2) main SPI flash is connected to non-default pins; (3) main 92 DON'T DISABLE THIS UNLESS YOU KNOW WHAT YOU ARE DOING. 99 If this option is enabled, and VDDSDIO LDO is set to 1.8V (using eFuse 101 output 1.9V instead. This helps prevent flash chip from browning out 104 This option has no effect if VDDSDIO is set to 3.3V, or if the internal 108 bool "1.8V" 111 bool "1.9V"
|
/Zephyr-latest/subsys/bluetooth/crypto/ |
D | bt_crypto.c | 2 * SPDX-License-Identifier: Apache-2.0 19 int bt_crypto_f4(const uint8_t *u, const uint8_t *v, const uint8_t *x, uint8_t z, uint8_t res[16]) in bt_crypto_f4() argument 26 LOG_DBG("v %s", bt_hex(v, 32)); in bt_crypto_f4() 30 * U, V and Z are concatenated and used as input m to the function in bt_crypto_f4() 31 * AES-CMAC and X is used as the key k. in bt_crypto_f4() 39 sys_memcpy_swap(m + 32, v, 32); in bt_crypto_f4() 70 uint8_t t[16], ws[32]; in bt_crypto_f5() local 79 err = bt_crypto_aes_cmac(salt, ws, 32, t); in bt_crypto_f5() 84 LOG_DBG("t %s", bt_hex(t, 16)); in bt_crypto_f5() 88 m[37] = a1->type; in bt_crypto_f5() [all …]
|