/Zephyr-latest/samples/tfm_integration/tfm_regression_test/ |
D | README.rst | 3 TF-M Regression Test Sample 9 Run both the Secure and Non-secure TF-M Regression tests using the Zephyr build system. 11 The build system will replace the Zephyr application with the Non-Secure TF-M test application, 12 while the Secure tests will be included in the TF-M build itself. 14 The TF-M regression tests are implemented in the tf-m-tests repo: https://git.trustedfirmware.org/T… 16 …tforms that are supported in the trusted-firmware-m repo: https://git.trustedfirmware.org/TF-M/tru… 22 Tests for both the secure and non-secure domain are enabled by default, controlled via the CONFIG_T… 27 Refer to :zephyr:code-sample:`tfm_ipc` for detailed instructions. 32 Refer to :zephyr:code-sample:`tfm_ipc` for detailed instructions. 35 .. code-block:: bash [all …]
|
/Zephyr-latest/subsys/fs/ |
D | Kconfig.littlefs | 4 # SPDX-License-Identifier: Apache-2.0 67 is moved to another block. Set to a non-positive value to 76 littlefs requires a per-file buffer to cache data. 83 positive value for the heap size. Be aware that there is a 84 per-allocation overhead that affects how much usable space is 87 If this option is set to a non-positive value the heap is sized to 94 int "Size of per-allocation overhead for littleFS heap in bytes" 101 NOTE: when your app fails to open pre-defined number of files, as set 123 default y if $(dt_compat_any_has_prop,$(DT_COMPAT_ZEPHYR_FSTAB_LITTLEFS),disk-version)
|
/Zephyr-latest/tests/bluetooth/host/id/bt_setup_random_id_addr/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 77 * rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); 83 * - bt_hci_cmd_send_sync() returns 0 (success) 84 * - bt_hci_cmd_send_sync() response contains single identity address 87 * - Non-zero positive number equals to the number of addresses in the response 99 rp->num_addrs = 1; in ZTEST() 100 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST() 103 rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); in ZTEST() 130 * rp->num_addrs * sizeof(struct bt_hci_vs_static_addr); 136 * - bt_hci_cmd_send_sync() returns 0 (success) [all …]
|
/Zephyr-latest/include/zephyr/fs/ |
D | fcb.h | 2 * Copyright (c) 2017-2023 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 48 * Entry location is pointer to area (within fcb->f_sectors), and offset 70 #define FCB_ENTRY_FA_DATA_OFF(entry) (entry.fe_sector->fs_off +\ 163 * @return 0 on success, non-zero on failure. 171 * contents for the entry, use loc->fe_sector and loc->fe_data_off with 180 * @return 0 on success, non-zero on failure. 190 * @return 0 on success, non-zero on failure. 202 * If cb wants to stop the walk, it should return non-zero value. 207 * @return 0 continue walking, non-zero stop walking. [all …]
|
/Zephyr-latest/dts/bindings/fs/ |
D | zephyr,fstab,littlefs.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Description of pre-defined file systems. 9 include: "zephyr,fstab-common.yaml" 12 # num-files and num-dirs are not filesystem-specific. 14 read-size: 25 prog-size: 36 cache-size: 53 lookahead-size: 68 block-cycles: 75 is moved to another block. Set to a non-positive value to disable [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | vcp.h | 7 * Copyright (c) 2020-2024 Nordic Semiconductor ASA 9 * SPDX-License-Identifier: Apache-2.0 89 /** Initial step size (1-255) */ 92 /** Initial mute state (0-1) */ 95 /** Initial volume level (0-255) */ 168 * @param err Error value. 0 on success, GATT error on positive value 184 * @param err Error value. 0 on success, GATT error on positive value 199 * @param volume_step The volume step size (1-255). 284 * @param err Error value. 0 on success, GATT error on positive 298 * A non-zero value indicates the volume has been changed on the [all …]
|
D | media_proxy.h | 7 * Copyright (c) 2019 - 2024 Nordic Semiconductor ASA 9 * SPDX-License-Identifier: Apache-2.0 66 /** A 32-bit signed parameter. The parameter value depends on the @ref mpl_cmd.opcode */ 95 /** Concatenated search control items - (type, length, param) */ 102 * All values from -128 to 127 allowed, only some defined 106 #define MEDIA_PROXY_PLAYBACK_SPEED_MIN -128 108 #define MEDIA_PROXY_PLAYBACK_SPEED_QUARTER -128 110 #define MEDIA_PROXY_PLAYBACK_SPEED_HALF -64 122 * The allowed values for seeking speed are the range -64 to -4 127 /** Maximum seeking speed - Can be negated */ [all …]
|
D | tbs.h | 8 * SPDX-License-Identifier: Apache-2.0 153 /** Long-term evolution (LTE) */ 161 /** Code-Division Multiple Access (CDMA) */ 165 /** Wideband Code-Division Multiple Access (WCDMA) */ 285 * @return int BT_TBS_RESULT_CODE_* if positive or 0, 295 * @return int BT_TBS_RESULT_CODE_* if positive or 0, 305 * @return int BT_TBS_RESULT_CODE_* if positive or 0, 315 * @return int BT_TBS_RESULT_CODE_* if positive or 0, 328 * @return int A call index on success (positive value), 339 * @return int BT_TBS_RESULT_CODE_* if positive or 0, [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | spsc_pbuf.h | 4 * SPDX-License-Identifier: Apache-2.0 74 MAX(0, Z_SPSC_PBUF_DCACHE_LINE - (int)sizeof(struct spsc_pbuf_common)) 125 return pb->common.len - sizeof(uint32_t); in spsc_pbuf_capacity() 156 * @param len Number of bytes to be written to the buffer. Must be positive 159 * -EINVAL, if len == 0. 160 * -ENOMEM, if len is bigger than the buffer can fit. 182 * @param[in] len Allocation length. Must be positive. If less than @ref SPSC_PBUF_MAX_LEN 189 * @retval non-negative Amount of space that got allocated. Can be equal or smaller than %p len. 190 * @retval -EINVAL if @p len is forbidden. 219 * -ENOMEM, if message can not fit in provided buf. [all …]
|
D | timeutil.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * inverse transformations are non-standard or require access to time 44 * @brief Convert broken-down time to a POSIX epoch offset in seconds. 50 * @see http://man7.org/linux/man-pages/man3/timegm.3.html 55 * @brief Convert broken-down time to a POSIX epoch offset in seconds. 60 * the time cannot be represented then @c (time_t)-1 is returned and 63 * @see http://man7.org/linux/man-pages/man3/timegm.3.html 92 * The value must be positive. 105 * The value must be positive. 140 * State objects should be zero-initialized before use. [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | addr.h | 8 * SPDX-License-Identifier: Apache-2.0 78 * @return negative value if @a a < @a b, 0 if @a a == @a b, else positive 100 * @return negative value if @a a < @a b, 0 if @a a == @a b, else positive 112 * the 48-bit addresses are numerically equal. 143 #define BT_ADDR_IS_RPA(a) (((a)->val[5] & 0xc0) == 0x40) 144 /** Check if a Bluetooth LE random address is a non-resolvable private address. 146 #define BT_ADDR_IS_NRPA(a) (((a)->val[5] & 0xc0) == 0x00) 148 #define BT_ADDR_IS_STATIC(a) (((a)->val[5] & 0xc0) == 0xc0) 151 #define BT_ADDR_SET_RPA(a) ((a)->val[5] = (((a)->val[5] & 0x3f) | 0x40)) 152 /** Set a Bluetooth LE random address as a non-resolvable private address. */ [all …]
|
D | bluetooth.h | 7 * Copyright (c) 2015-2016 Intel Corporation 9 * SPDX-License-Identifier: Apache-2.0 162 * If rpa sharing is enabled and rpa expired cb of any adv-sets belonging 163 * to same adv id returns false, then adv-sets will continue with old rpa 242 * That is, the application shall not re-register them when 243 * the Bluetooth subsystem is re-enabled later. 292 * @see https://specificationrefs.bluetooth.com/assigned-values/Appearance%20Values.pdf 325 * subsequent call to this function with non-NULL @a addrs parameter. 345 * pre-defined address is provided, since in such a situation the app clearly 370 * parameter was non-NULL). [all …]
|
/Zephyr-latest/include/zephyr/settings/ |
D | settings.h | 5 * SPDX-License-Identifier: Apache-2.0 46 #define SETTINGS_EXTRA_LEN ((SETTINGS_MAX_DIR_DEPTH - 1) + 2) 58 * @return positive: Number of bytes read, 0: key-value pair is deleted. 59 * On error returns -ERRNO code. 80 * - key[in] the name with skipped part that was used as name in 82 * - val[out] buffer to receive value. 83 * - val_len_max[in] size of that buffer. 93 * - key[in] the name with skipped part that was used as name in 95 * - len[in] the size of the data found in the backend. 96 * - read_cb[in] function provided to read the data from the backend. [all …]
|
/Zephyr-latest/include/zephyr/drivers/timer/ |
D | nrf_rtc_timer.h | 2 * Copyright (c) 2016-2020 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 41 * @retval Non-negative indicates allocated channel ID. 42 * @retval -ENOMEM if channel cannot be allocated. 128 * @retval -EINVAL if provided target time was further than 156 * @retval -EINVAL if provided target time was further than 183 * @retval Positive value represents @p t in RTC tick value. 184 * @retval -EINVAL if @p t is out of range. 195 * @retval Non-negative offset given in RTC ticks. 196 * @retval -ENOSYS if operation is not supported. [all …]
|
D | nrf_grtc_timer.h | 4 * SPDX-License-Identifier: Apache-2.0 34 * @retval >=0 Non-negative indicates allocated channel ID. 35 * @retval -ENOMEM if channel cannot be allocated. 107 * @retval -EAGAIN if compare for given channel is not set. 108 * @retval -EPERM if either channel is unavailable or SYSCOUNTER is not running. 123 * @retval -EPERM if either channel is unavailable or SYSCOUNTER is not running. 144 * @retval >=0 Positive value represents @p t in GRTC tick value. 145 * @retval -EINVAL if @p t is out of range. 154 * @note Capture and compare are mutually exclusive features - they cannot be 160 * @retval -EPERM if either channel is unavailable or SYSCOUNTER is not running. [all …]
|
/Zephyr-latest/subsys/net/lib/ptp/ |
D | port.h | 4 * SPDX-License-Identifier: Apache-2.0 166 * @return Non-zero if the announce message is different than the last. 184 * @return Non-zero if the announce message is different than the last. 196 * @return 0 on positive message processing, negative otherwise
|
/Zephyr-latest/include/zephyr/drivers/ |
D | retained_mem.h | 4 * SPDX-License-Identifier: Apache-2.0 74 * non-initialised RAM region, or in specific registers, but is not reset when a different 76 * byte-level reading and writing without a need to erase data before writing. 92 * @retval Positive value indicating size in bytes on success, else negative errno 99 struct retained_mem_driver_api *api = (struct retained_mem_driver_api *)dev->api; in z_impl_retained_mem_size() 101 return api->size(dev); in z_impl_retained_mem_size() 120 struct retained_mem_driver_api *api = (struct retained_mem_driver_api *)dev->api; in z_impl_retained_mem_read() 123 /* Validate user-supplied parameters */ in z_impl_retained_mem_read() 128 area_size = api->size(dev); in z_impl_retained_mem_read() 130 if (offset < 0 || size > area_size || (area_size - size) < (size_t)offset) { in z_impl_retained_mem_read() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | coap_client.h | 10 * SPDX-License-Identifier: Apache-2.0 41 * @ref coap_response_code for positive. 57 bool confirmable; /**< CoAP Confirmable/Non-confirmable message */ 154 * This is intended for canceling long-running requests (e.g. GETs with the OBSERVE option set) 179 * If the application expects a request to require a blockwise transfer, it may pre-emptively 180 * suggest a maximum block size to the server - see RFC7959 Figure 3: Block-Wise GET with Early
|
/Zephyr-latest/drivers/adc/ |
D | adc_ads1x1x.c | 5 * SPDX-License-Identifier: Apache-2.0 85 /* +/-6.144V range = Gain 1/3 */ 87 /* +/-4.096V range = Gain 1/2 */ 89 /* +/-2.048V range = Gain 1 (default) */ 91 /* +/-1.024V range = Gain 2 */ 93 /* +/-0.512V range = Gain 4 */ 95 /* +/-0.256V range = Gain 8 */ 119 /* Non-latching comparator (default) */ 169 const struct ads1x1x_config *config = dev->config; in ads1x1x_setup_rdy_pin() 171 ? GPIO_INPUT | config->alert_rdy.dt_flags in ads1x1x_setup_rdy_pin() [all …]
|
D | adc_nrfx_saadc.c | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/dt-bindings/adc/nrf-saadc-v3.h> 11 #include <zephyr/dt-bindings/adc/nrf-saadc-nrf54l.h> 66 "Definitions from nrf-adc.h do not match those from nrf_saadc.h"); 110 if (NRF_SAADC_8BIT_SAMPLE_WIDTH == 8 && sequence->resolution == 8) { in samples_to_bytes() 145 result = -EINVAL; in adc_convert_acq_time() 160 tacq = (nrf_saadc_acqtime_t)(acq_time / MINIMUM_ACQ_TIME_IN_NS) - 1; in adc_convert_acq_time() 162 result = -EINVAL; in adc_convert_acq_time() 182 uint8_t channel_id = channel_cfg->channel_id; in adc_nrfx_channel_setup() 183 uint32_t input_negative = channel_cfg->input_negative; in adc_nrfx_channel_setup() [all …]
|
/Zephyr-latest/scripts/native_simulator/native/src/ |
D | timer_model.c | 5 * SPDX-License-Identifier: Apache-2.0 10 * - A system tick timer 11 * - A real time clock 12 * - A one shot HW timer which can be used to awake the CPU at a given time 13 * - The clock source for all of this, and therefore for the native simulator 82 * For ex. a clock_ratio = 1+100e-6 means the simulated time is 100ppm faster 92 * A positive value means simulated time is ahead of the host time 180 uint64_t expected_rt = (hw_timer_tick_timer - last_radj_stime) in hwtimer_tick_timer_reached() 185 int64_t diff = expected_rt - real_time; in hwtimer_tick_timer_reached() 191 us_time_to_str(es, expected_rt - boot_time); in hwtimer_tick_timer_reached() [all …]
|
/Zephyr-latest/boards/native/native_posix/ |
D | timer_model.c | 4 * SPDX-License-Identifier: Apache-2.0 9 * - A system tick 10 * - A real time clock 11 * - A one shot HW timer which can be used to awake the CPU at a given time 12 * - The clock source for all of this, and therefore for native_posix 92 * For ex. a clock_ratio = 1+100e-6 means the simulated time is 100ppm faster 102 * A positive value means simulated time is ahead of the host time 190 uint64_t expected_rt = (hw_timer_tick_timer - last_radj_stime) in hwtimer_tick_timer_reached() 195 int64_t diff = expected_rt - real_time; in hwtimer_tick_timer_reached() 201 us_time_to_str(es, expected_rt - boot_time); in hwtimer_tick_timer_reached() [all …]
|
/Zephyr-latest/include/zephyr/ |
D | sys_clock.h | 2 * Copyright (c) 2014-2015 Wind River Systems, Inc. 4 * SPDX-License-Identifier: Apache-2.0 51 #define K_TICKS_FOREVER ((k_ticks_t) -1) 119 #if defined(__cplusplus) && ((__cplusplus - 0) < 202002L) 141 * the negative space below K_TICKS_FOREVER) and (non-negative) delta 148 #define Z_TICK_ABS(t) (K_TICKS_FOREVER - 1 - (t)) 157 #error "SYS_CLOCK_HW_CYCLES_PER_SEC must be non-zero!" 164 * We default to using 64-bit intermediates in timescale conversions, 268 * timepoint @a b, positive otherwise. 275 return a.tick < b.tick ? -1 : 1; in sys_timepoint_cmp() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/device/src/ |
D | test_undirected_central.c | 4 * SPDX-License-Identifier: Apache-2.0 79 .name = "{positive integer}", in central_test_args_parse() 80 .option = "sim-id", in central_test_args_parse() 87 .option = "addr-type", in central_test_args_parse() 94 .option = "active-scan", in central_test_args_parse() 101 .option = "connection-test", in central_test_args_parse() 162 bt_addr_le_to_str(info->addr, addr_str, sizeof(addr_str)); in scan_recv() 163 LOG_INF("Device found: %s (RSSI %d)", addr_str, info->rssi); in scan_recv() 178 info->adv_props == (BT_GAP_ADV_PROP_EXT_ADV | BT_GAP_ADV_PROP_SCANNABLE)) { in scan_recv() 180 "(props: 0x%x)", info->adv_props); in scan_recv() [all …]
|
D | test_undirected_peripheral.c | 4 * SPDX-License-Identifier: Apache-2.0 88 .name = "{positive integer}", in peripheral_test_args_parse() 89 .option = "sim-id", in peripheral_test_args_parse() 96 .option = "addr-type", in peripheral_test_args_parse() 103 .option = "use-ext-adv", in peripheral_test_args_parse() 358 LOG_DBG("Identity resolved %s -> %s", addr_rpa, addr_identity); in identity_resolved() 458 sim_id, use_ext_adv ? "extended" : "legacy", connectable_test ? "" : "non-", in test_peripheral() 459 scannable_test ? "" : "non-", addr_tested); in test_peripheral()
|