/Zephyr-latest/tests/lib/cmsis_dsp/quaternionmath/src/ |
D | f32.c | 3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved. 5 * SPDX-License-Identifier: Apache-2.0 17 #define REL_ERROR_THRESH (1.0e-6) 18 #define ABS_ERROR_THRESH (1.0e-7) 23 const float32_t *input = (const float32_t *)in_com1; in ZTEST() local 27 /* Allocate output buffer */ in ZTEST() 32 arm_quaternion_norm_f32(input, output, length); in ZTEST() 44 /* Free output buffer */ in ZTEST() 51 const float32_t *input = (const float32_t *)in_com1; in ZTEST() local 55 /* Allocate output buffer */ in ZTEST() [all …]
|
/Zephyr-latest/tests/lib/cmsis_dsp/svm/src/ |
D | f16.c | 3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved. 5 * SPDX-License-Identifier: Apache-2.0 52 const float16_t *input = (const float16_t *)in_linear_val; in ZTEST() local 59 /* Allocate output buffer */ in ZTEST() 68 arm_svm_linear_predict_f16(&inst, input, output); in ZTEST() 71 input += vec_dims; in ZTEST() 80 /* Free output buffer */ in ZTEST() 92 const float16_t *input = (const float16_t *)in_polynomial_val; in ZTEST() local 101 /* Allocate output buffer */ in ZTEST() 110 arm_svm_polynomial_predict_f16(&inst, input, output); in ZTEST() [all …]
|
D | f32.c | 3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved. 5 * SPDX-License-Identifier: Apache-2.0 52 const float32_t *input = (const float32_t *)in_linear_val; in ZTEST() local 59 /* Allocate output buffer */ in ZTEST() 68 arm_svm_linear_predict_f32(&inst, input, output); in ZTEST() 71 input += vec_dims; in ZTEST() 80 /* Free output buffer */ in ZTEST() 92 const float32_t *input = (const float32_t *)in_polynomial_val; in ZTEST() local 101 /* Allocate output buffer */ in ZTEST() 110 arm_svm_polynomial_predict_f32(&inst, input, output); in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/logging/log_blocking/ |
D | REAME.md | 5 When the core log buffer becomes full, the logging subsystem can be configured to 9 …og messages at all with `CONFIG_LOG_BLOCK_IN_THREAD=y`, `CONFIG_LOG_BLOCK_IN_THREAD_TIMEOUT_MS=-1`. 12 becomes available again in the core log buffer. 23 concerned with the ratio of the Output Rate to the Input Rate, and in that 24 case, the units themselves cancel-out. In the table we assume there exists an 27 | Name | Input Rate | Output Rate | Rate | 28 |----------------|------------|-------------|------| 29 | Input-Limited | 1 | N | 1 | 31 | Output-Limited | 1 | 1/N | 1/N | 34 The resultant _Rate_ is always `Rate = MIN(Input Rate, Output Rate)`. [all …]
|
/Zephyr-latest/drivers/crypto/ |
D | crypto_ataes132a_priv.h | 4 * SPDX-License-Identifier: Apache-2.0 27 /* Configuration Pre-Lock Writable Registers */ 34 * ctrid valid entries are [0x0-0xF] 40 * keyid valid entries are [0x0-0xF] 46 * zoneid valid entries are [0x0-0xF] 52 * crtid valid entries are [0x0-0xF] characters 58 * Pre-Small Zone Lock Writable 64 * keynum valid entries are [0-F] characters 113 void ataes132a_atmel_crc(uint8_t *input, uint8_t length, in ataes132a_atmel_crc() argument 123 for (j = 7; j >= 0; j--) { in ataes132a_atmel_crc() [all …]
|
/Zephyr-latest/dts/bindings/pinctrl/ |
D | pincfg-node.yaml | 2 # SPDX-License-Identifier: Apache-2.0 16 https://www.kernel.org/doc/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml 19 bias-disable: 23 bias-high-impedance: 25 description: high impedance mode ("third-state", "floating") 27 bias-bus-hold: 31 bias-pull-up: 33 description: enable pull-up resistor 35 bias-pull-down: 37 description: enable pull-down resistor [all …]
|
/Zephyr-latest/include/zephyr/console/ |
D | console.h | 4 * SPDX-License-Identifier: Apache-2.0 27 * This function should be called once to initialize pull-style 30 * and incompatible with, callback (push-style) console handling 41 * @param buf buffer to read data to 45 * <0, in case of error (e.g. -EAGAIN if timeout expired). errno 54 * @param buf buffer to write data to 57 * <0, in case of error (e.g. -EAGAIN if timeout expired). errno 62 /** @brief Get next char from console input buffer. 64 * Return next input character from console. If no characters available, 69 * Zephyr callback-based console input processing, shell subsystem, [all …]
|
/Zephyr-latest/soc/nordic/common/ |
D | dmm.h | 3 * SPDX-License-Identifier: Apache-2.0 64 * @brief Preallocate buffer in memory region associated with the specified device node 78 * @brief Prepare a DMA output buffer for the specified device 80 * Allocate an output buffer in memory region that given device can perform DMA transfers from. 82 * Writeback data cache lines associated with output buffer, if needed. 84 * @note Depending on provided user buffer parameters and SoC architecture, 88 * to support transmitting and receiving data to the same buffer. 92 * or @ref dmm_buffer_in_release is called on the same buffer 95 * @param region Memory region associated with device to prepare the buffer for. 96 * @param user_buffer CPU address (virtual if applicable) of the buffer containing data [all …]
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell_telnet.h | 4 * SPDX-License-Identifier: Apache-2.0 22 /** Line buffer structure. */ 24 /** Line buffer. */ 31 /** TELNET-based shell transport. */ 39 /** Buffer for outgoing line. */ 45 /** Input buffer. */ 48 /** Number of data bytes within the input buffer. */ 51 /** Mutex protecting the input buffer access. */ 56 /** The delayed work is used to send non-lf terminated output that has
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/transport/ |
D | smp_dummy.h | 3 * Copyright Laird Connectivity 2021-2022. All rights reserved. 5 * SPDX-License-Identifier: Apache-2.0 29 * @brief Adds SMPC data to the internal buffer to be processed 31 * @param data Input data buffer 40 * @retval net buffer of processed data 56 * @brief Calls dummy_mcumgr_add_data with the internal SMPC receive buffer. 61 * @brief Gets current send buffer position 63 * @retval Current send buffer position (in bytes) 68 * @brief Gets current receive buffer position 70 * @retval Current receive buffer position (in bytes) [all …]
|
/Zephyr-latest/subsys/console/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 17 bool "Character by character input and output" 22 bool "Line by line input" 30 int "console_getchar() buffer size" 33 Buffer size for console_getchar(). The default is optimized 35 large host-side clipboard pastes. Set to 0 to disable 36 interrupt-driven operation and use busy-polling. 39 int "console_putchar() buffer size" 42 Buffer size for console_putchar(). The default is optimized 44 large host-side clipboard pastes. Set to 0 to disable [all …]
|
D | getline.c | 4 * SPDX-License-Identifier: Apache-2.0 12 /* While app processes one input line, Zephyr will have another line 13 * buffer to accumulate more console input. 24 /* Recycle cmd buffer returned previous time */ in console_getline() 30 return cmd->line; in console_getline() 41 /* Zephyr UART handler takes an empty buffer from free_queue, in console_getline_init() 42 * stores UART input in it until EOL, and then puts it into in console_getline_init()
|
/Zephyr-latest/tests/lib/cmsis_dsp/interpolation/src/ |
D | f32.c | 3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved. 5 * SPDX-License-Identifier: Apache-2.0 17 #define REL_ERROR_THRESH (8.0e-5) 24 const float32_t *input = (const float32_t *)in_linear_x; in test_arm_linear_interp_f32() local 33 /* Allocate output buffer */ in test_arm_linear_interp_f32() 40 input[index]); in test_arm_linear_interp_f32() 54 /* Free output buffer */ in test_arm_linear_interp_f32() 63 const float32_t *input = (const float32_t *)in_bilinear_x; in test_arm_bilinear_interp_f32() local 71 /* Allocate output buffer */ in test_arm_bilinear_interp_f32() 79 input[2 * index], in test_arm_bilinear_interp_f32() [all …]
|
D | f16.c | 3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved. 5 * SPDX-License-Identifier: Apache-2.0 17 #define REL_ERROR_THRESH (5.0e-3) 18 #define ABS_ERROR_THRESH (5.0e-3) 25 const float16_t *input = (const float16_t *)in_linear_x; in ZTEST() local 34 /* Allocate output buffer */ in ZTEST() 41 input[index]); in ZTEST() 55 /* Free output buffer */ in ZTEST() 64 const float16_t *input = (const float16_t *)in_bilinear_x; in ZTEST() local 72 /* Allocate output buffer */ in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/drivers/dma/ |
D | dma_mcux_pxp.h | 2 * Copyright 2023-2024 NXP 4 * SPDX-License-Identifier: Apache-2.0 21 * head block source address: input buffer address 22 * head block destination address: output buffer address 23 * source data size: input buffer size in bytes 24 * source burst length: height of source buffer in pixels 25 * dest data size: output buffer size in bytes 26 * dest burst length: height of destination buffer in pixels
|
/Zephyr-latest/drivers/console/ |
D | Kconfig | 3 # Copyright (c) 2014-2015 Wind River Systems, Inc. 5 # SPDX-License-Identifier: Apache-2.0 15 int "Console maximum input line length" 18 This option can be used to modify the maximum length a console input 28 bool "Console input handler" 32 This option enables console input handler allowing to write simple 69 bool "Support for UART console input expired mechanism" 75 module doesn't receive any input message exceeds expired timeout, such 79 organize input message if CONFIG_PM is enabled. 95 Useful in board bring-up if there aren't any working serial [all …]
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | video.rst | 23 video output function and generate data. Input endpoints configure video input 26 Video Buffer 29 A video buffer provides the transport mechanism for the data. There is no 31 defined by the endpoint format. A video buffer can be queued to a device 32 endpoint for filling (input ep) or consuming (output ep) operation, once 33 the operation is achieved, buffer can be dequeued for post-processing,
|
/Zephyr-latest/dts/bindings/adc/ |
D | nxp,gau-adc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 compatible: "nxp,gau-adc" 10 - name: base.yaml 11 - name: adc-controller.yaml 20 nxp,clock-divider: 27 nxp,power-mode: 31 Default is "full-bias" because it is the reset value. 33 - "full-bias" 34 - "half-bias" 35 default: "full-bias" [all …]
|
/Zephyr-latest/drivers/video/ |
D | video_emul_rx.c | 4 * SPDX-License-Identifier: Apache-2.0 34 const struct emul_rx_config *cfg = dev->config; in emul_rx_set_ctrl() 37 return video_set_ctrl(cfg->source_dev, cid, value); in emul_rx_set_ctrl() 42 const struct emul_rx_config *cfg = dev->config; in emul_rx_get_ctrl() 45 return video_get_ctrl(cfg->source_dev, cid, value); in emul_rx_get_ctrl() 51 const struct emul_rx_config *cfg = dev->config; in emul_rx_set_frmival() 53 /* Input/output timing is driven by the source */ in emul_rx_set_frmival() 55 return -EINVAL; in emul_rx_set_frmival() 57 return video_set_frmival(cfg->source_dev, VIDEO_EP_OUT, frmival); in emul_rx_set_frmival() 63 const struct emul_rx_config *cfg = dev->config; in emul_rx_get_frmival() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | crc.h | 9 * SPDX-License-Identifier: Apache-2.0 34 /* Initial value expected to be used at the beginning of the OpenPGP CRC-24 computation. */ 37 * The CRC-24 value is stored on a 32-bit value, only the 3 least significant bytes 38 * are meaningful. Use the following mask to only keep the CRC-24 value. 75 * @brief Generic function for computing a CRC-16 without input or output 78 * Compute CRC-16 by passing in the address of the input, the input length 80 * is the length of the buffer provided. No reflection is performed. 88 * @param src Input bytes for the computation 89 * @param len Length of the input in bytes 96 * @brief Generic function for computing a CRC-16 with input and output [all …]
|
/Zephyr-latest/tests/subsys/dsp/basicmath/src/ |
D | f16.c | 3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved. 5 * SPDX-License-Identifier: Apache-2.0 18 #define REL_ERROR_THRESH (4.0e-2) 26 /* Allocate output buffer */ in test_zdsp_add_f16() 44 /* Free output buffer */ in test_zdsp_add_f16() 59 /* Allocate output buffer */ in test_zdsp_add_f16_in_place() 63 /* Copy input data to output*/ in test_zdsp_add_f16_in_place() 76 /* Free output buffer */ in test_zdsp_add_f16_in_place() 92 /* Allocate output buffer */ in test_zdsp_sub_f16() 110 /* Free output buffer */ in test_zdsp_sub_f16() [all …]
|
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/ |
D | ec_host_cmd_backend_shi_npcx.c | 4 * SPDX-License-Identifier: Apache-2.0 32 #define HAL_INSTANCE(dev) (struct shi_reg *)(((const struct shi_npcx_config *)(dev)->config)->base) 34 /* Full output buffer size */ 36 /* Full input buffer size */ 40 /* Half output buffer size */ 42 /* Half input buffer size */ 48 * This affects the slowest SPI clock we can support. A delay of 8192 us permits a 512-byte request 62 * Space allocation of the past-end status byte (EC_SHI_PAST_END) in the out_msg buffer. 67 * Space allocation of the frame status byte (EC_SHI_FRAME_START) in the out_msg buffer. 73 * one last past-end byte at the end so any additional bytes clocked out by [all …]
|
/Zephyr-latest/boards/renesas/da1469x_dk_pro/ |
D | Kconfig.defconfig | 4 # SPDX-License-Identifier: Apache-2.0 16 # LCDC imposes display buffer's stride be word aligned 24 # the DMA is copying data into driver's frame buffer. 30 if INPUT 38 endif # INPUT 42 # Increase stack size to avoid raising usage-fault
|
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/include/ |
D | math_ops.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * @brief Vector Sum - makes pair wise saturated summation of vectors 14 * @param[in] *input1 - points to the first input vector 15 * @param[in] *input2 - points to the second input vector 16 * @param[out] *output - points to the output vector 17 * @param[in] length - number of samples in each vector 27 * @brief Power of a Vector - makes sum of the squares of the elements of 30 * @param[in] *input - points to the input vector 31 * @param[in] length - size of the input vector 32 * @param[in] rsh - right shift of result [all …]
|
/Zephyr-latest/include/zephyr/ipc/ |
D | pbuf.h | 4 * SPDX-License-Identifier: Apache-2.0 18 * @brief Packed buffer API 19 * @defgroup pbuf Packed Buffer API 30 /* Minimal length of the data field in the buffer to store the smalest packet 33 * (+_PBUF_IDX_SIZE) to distinguish buffer full and buffer empty. 45 /** @brief Control block of packet buffer. 59 * Used for validation - TODO: To be 67 * @brief Data block of the packed buffer. 85 * @brief Scure packed buffer. 87 * The packet buffer implements lightweight unidirectional packet [all …]
|