/Zephyr-latest/tests/drivers/uart/uart_emul/ |
D | uart_emul.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 euart0: uart-emul { 9 compatible = "zephyr,uart-emul"; 11 current-speed = <0>; 12 rx-fifo-size = <256>; 13 tx-fifo-size = <256>; 16 euart1: uart-dummy-bus { 17 compatible = "zephyr,uart-emul"; 19 current-speed = <0>; 20 rx-fifo-size = <256>; [all …]
|
/Zephyr-latest/boards/renesas/da1469x_dk_pro/dts/ |
D | da1469x_dk_pro_psram.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 sram-ext = &memc; 17 /* QSPIC settings for the APS6404L-3SQR QSPI PSRAM memory in QPI mode. */ 20 is-ram; 21 dev-size = <DT_SIZE_M(64)>; 22 dev-type = <0x5D>; 23 dev-id = <0x0D>; 24 dev-density = <0xE040>; 25 reset-delay-us = <50>; 26 read-cs-idle-min-ns = <18>; [all …]
|
/Zephyr-latest/tests/drivers/mspi/flash/boards/ |
D | native_sim.overlay | 4 * SPDX-License-Identifier: Apache-2.0 15 ce-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>, 17 dqs-support; 18 software-multiperipheral; 22 compatible = "zephyr,mspi-emul-flash"; 25 mspi-max-frequency = <48000000>; 26 mspi-io-mode = "MSPI_IO_MODE_QUAD"; 27 mspi-data-rate = "MSPI_DATA_RATE_SINGLE"; 28 mspi-hardware-ce-num = <0>; 29 read-command = <0x0B>; [all …]
|
D | apollo3p_evb.overlay | 3 * SPDX-License-Identifier: Apache-2.0 18 compatible = "ambiq,mspi-controller"; 19 pinctrl-0 = <&mspi1_default>; 20 pinctrl-1 = <&mspi1_sleep>; 21 pinctrl-2 = <&mspi1_flash>; 22 pinctrl-names = "default","sleep","flash"; 25 ce-gpios = <&gpio32_63 18 GPIO_ACTIVE_LOW>; 27 cmdq-buffer-location = ".mspi_buff"; 28 cmdq-buffer-size = <256>; 31 compatible = "ambiq,mspi-device", "mspi-atxp032"; [all …]
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | renesas,smartbond-nor-psram.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "renesas,smartbond-nor-psram" 14 is-ram: 19 dev-size: 25 dev-type: 31 dev-density: 40 dev-id: 46 reset-delay-us: 52 read-cs-idle-min-ns: 59 erase-cs-idle-min-ns: [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_sync_types.h | 4 * SPDX-License-Identifier: Apache-2.0 21 /* Non-zero when sync is setup. It can be in two sub-stated: 22 * - Waiting for first AUX_SYNC_IND, before sync established was notified to Host. 24 * - sync is already established, node_rx_sync_estab is NULL. 63 /* node rx type with memory aligned storage for sync lost reason. 68 struct node_rx_pdu rx; member 69 /* Dummy declaration to ensure space allocated to hold one pdu bytes */ 70 uint8_t dummy; member 73 /* Not-Null when sync was setup and Controller is waiting for first AUX_SYNC_IND PDU. 87 /* Non-Null when creating sync, reset in ISR context on [all …]
|
D | ull_adv_types.h | 2 * Copyright (c) 2017-2019 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 125 struct node_rx_pdu rx; member 126 /* Dummy declaration to ensure space allocated to hold one pdu bytes */ 127 uint8_t dummy; member
|
/Zephyr-latest/dts/bindings/mspi/ |
D | mspi-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 on-bus: mspi 14 mspi-max-frequency: 22 mspi-io-mode: 25 - "MSPI_IO_MODE_SINGLE" 26 - "MSPI_IO_MODE_DUAL" 27 - "MSPI_IO_MODE_DUAL_1_1_2" 28 - "MSPI_IO_MODE_DUAL_1_2_2" 29 - "MSPI_IO_MODE_QUAD" 30 - "MSPI_IO_MODE_QUAD_1_1_4" [all …]
|
D | ambiq,mspi-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "ambiq,mspi-device" 8 include: [mspi-device.yaml, "jedec,jesd216.yaml"] 11 mspi-io-mode: 14 mspi-data-rate: 17 mspi-hardware-ce-num: 25 rx-dummy: 28 tx-dummy: 31 read-command: 34 write-command: [all …]
|
/Zephyr-latest/samples/boards/st/uart/circular_dma/ |
D | README.rst | 1 .. zephyr:code-sample:: uart 3 :relevant-api: uart_interface 22 .. zephyr-app-commands:: 23 :zephyr-app: samples/boards/st/uart/circular_dma 31 .. code-block:: console 33 Enter message to fill RX buffer size and press enter : 35 # "Lorem Ipsum is simply dummy text of the printing and typesetting industry. 36 # Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, 43 Lorem Ipsum is simply dummy text of the printing and typesetting industry. 44 Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
|
/Zephyr-latest/samples/application_development/code_relocation_nocopy/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 11 read-command = <0xEC13>; 12 command-length = "INSTR_2_BYTE"; 13 address-length = "ADDR_4_BYTE"; 14 rx-dummy = <20>; 16 xip-config = <1 0 0x20000000 0>;
|
/Zephyr-latest/drivers/sensor/st/stmemsc/ |
D | stmemsc_spi.c | 5 * SPDX-License-Identifier: Apache-2.0 7 * zephyrproject-rtos/modules/hal/st/sensor/stmemsc/ 14 /* Enable address auto-increment on some stmemsc sensors */ 25 /* write 1 byte with reg addr (msb at 1) + 1 dummy byte */ in stmemsc_spi_read() 30 * transaction #1: dummy read to skip first byte in stmemsc_spi_read() 37 const struct spi_buf_set rx = { .buffers = rx_buf, .count = 2 }; in stmemsc_spi_read() local 39 return spi_transceive_dt(stmemsc, &tx, &rx); in stmemsc_spi_read()
|
/Zephyr-latest/samples/drivers/mspi/mspi_flash/boards/ |
D | apollo3p_evb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 23 pinctrl-0 = <&mspi1_default>; 24 pinctrl-1 = <&mspi1_sleep>; 25 pinctrl-2 = <&mspi1_psram>; 26 pinctrl-3 = <&mspi1_flash>; 27 pinctrl-names = "default","sleep","psram","flash"; 30 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>, 33 cmdq-buffer-location = ".mspi_buff"; 34 cmdq-buffer-size = <256>; 37 compatible = "ambiq,mspi-device", "mspi-aps6404l"; [all …]
|
/Zephyr-latest/dts/bindings/spi/ |
D | xlnx,xps-spi-2.00.a.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "xlnx,xps-spi-2.00.a" 8 include: spi-controller.yaml 11 # https://github.com/Xilinx/device-tree-xlnx 20 xlnx,num-ss-bits: 24 - 1 25 - 2 26 - 3 27 - 4 31 xlnx,num-transfer-bits: [all …]
|
/Zephyr-latest/subsys/shell/backends/ |
D | Kconfig.backends | 4 # SPDX-License-Identifier: Apache-2.0 15 DT_CHOSEN_Z_SHELL_UART := zephyr,shell-uart 90 int "Set RX ring buffer size" 95 RX ring buffer size impacts accepted latency of handling incoming 104 int "RX inactivity timeout (in microseconds)" 110 int "Number of RX buffers" 114 Number of RX buffers. Some UART driver implementations changes buffers 120 int "Size of the RX buffer" 123 Size of a single RX buffer. Together with buffer count it defines the 124 space that can hold RX data. It may be decreased if shell input is [all …]
|
/Zephyr-latest/drivers/spi/spi_nxp_lpspi/ |
D | spi_nxp_lpspi_dma.c | 4 * SPDX-License-Identifier: Apache-2.0 15 /* dummy memory used for transferring NOP when tx buf is null */ 17 /* dummy memory for transferring to when RX buf is null */ 37 struct dma_block_config *blk_cfg = &stream->dma_blk_cfg; in spi_mcux_dma_common_load() 41 blk_cfg->block_size = len; in spi_mcux_dma_common_load() 43 stream->dma_cfg.source_burst_length = 1; in spi_mcux_dma_common_load() 44 stream->dma_cfg.user_data = (void *)dev; in spi_mcux_dma_common_load() 45 stream->dma_cfg.head_block = blk_cfg; in spi_mcux_dma_common_load() 53 struct spi_mcux_data *data = dev->data; in spi_mcux_dma_tx_load() 54 struct spi_nxp_dma_data *dma_data = (struct spi_nxp_dma_data *)data->driver_data; in spi_mcux_dma_tx_load() [all …]
|
/Zephyr-latest/samples/drivers/memc/boards/ |
D | apollo3p_evb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 23 pinctrl-0 = <&mspi1_default>; 24 pinctrl-1 = <&mspi1_sleep>; 25 pinctrl-2 = <&mspi1_psram>; 26 pinctrl-names = "default","sleep","psram"; 29 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>, 32 cmdq-buffer-location = ".mspi_buff"; 33 cmdq-buffer-size = <256>; 36 compatible = "ambiq,mspi-device", "mspi-aps6404l"; 40 mspi-max-frequency = <48000000>; [all …]
|
/Zephyr-latest/samples/drivers/mspi/mspi_async/boards/ |
D | apollo3p_evb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 23 pinctrl-0 = <&mspi1_default>; 24 pinctrl-1 = <&mspi1_sleep>; 25 pinctrl-2 = <&mspi1_psram>; 26 pinctrl-names = "default","sleep","psram"; 29 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>, 32 cmdq-buffer-location = ".mspi_buff"; 33 cmdq-buffer-size = <256>; 36 compatible = "ambiq,mspi-device", "mspi-aps6404l"; 40 mspi-max-frequency = <48000000>; [all …]
|
/Zephyr-latest/drivers/spi/ |
D | spi_sam0.c | 5 * SPDX-License-Identifier: Apache-2.0 13 /* clang-format off */ 61 while ((regs->SYNCBUSY.reg & SERCOM_SPI_SYNCBUSY_MASK) != 0) { in wait_synchronization() 65 while ((regs->STATUS.reg & SERCOM_SPI_STATUS_SYNCBUSY) != 0) { in wait_synchronization() 75 const struct spi_sam0_config *cfg = dev->config; in spi_sam0_configure() 76 struct spi_sam0_data *data = dev->data; in spi_sam0_configure() 77 SercomSpi *regs = cfg->regs; in spi_sam0_configure() 82 if (spi_context_configured(&data->ctx, config)) { in spi_sam0_configure() 86 if (config->operation & SPI_HALF_DUPLEX) { in spi_sam0_configure() 87 LOG_ERR("Half-duplex not supported"); in spi_sam0_configure() [all …]
|
D | spi_max32.c | 4 * SPDX-License-Identifier: Apache-2.0 57 uint8_t dummy[2]; member 86 const struct max32_spi_config *cfg = dev->config; in spi_configure() 87 mxc_spi_regs_t *regs = cfg->regs; in spi_configure() 88 struct max32_spi_data *data = dev->data; in spi_configure() 90 if (spi_context_configured(&data->ctx, config)) { in spi_configure() 94 if (SPI_OP_MODE_GET(config->operation) & SPI_OP_MODE_SLAVE) { in spi_configure() 95 return -ENOTSUP; in spi_configure() 101 int ss_polarity = (config->operation & SPI_CS_ACTIVE_HIGH) ? 1 : 0; in spi_configure() 102 unsigned int spi_speed = (unsigned int)config->frequency; in spi_configure() [all …]
|
D | spi_mcux_flexcomm.c | 5 * SPDX-License-Identifier: Apache-2.0 70 /* dummy value used for transferring NOP when tx buf is null */ 79 const struct spi_mcux_config *config = dev->config; in spi_mcux_transfer_next_packet() 80 struct spi_mcux_data *data = dev->data; in spi_mcux_transfer_next_packet() 81 SPI_Type *base = config->base; in spi_mcux_transfer_next_packet() 82 struct spi_context *ctx = &data->ctx; in spi_mcux_transfer_next_packet() 86 if ((ctx->tx_len == 0) && (ctx->rx_len == 0)) { in spi_mcux_transfer_next_packet() 87 /* nothing left to rx or tx, we're done! */ in spi_mcux_transfer_next_packet() 88 spi_context_cs_control(&data->ctx, false); in spi_mcux_transfer_next_packet() 89 spi_context_complete(&data->ctx, dev, 0); in spi_mcux_transfer_next_packet() [all …]
|
/Zephyr-latest/tests/drivers/uart/uart_emul/src/ |
D | device.c | 4 * SPDX-License-Identifier: Apache-2.0 18 #define UART_DUMMY_NODE DT_NODELABEL(dummy) 27 #define SAMPLE_DATA_SIZE MIN(EMUL_UART_RX_FIFO_SIZE, EMUL_UART_TX_FIFO_SIZE) - 1 69 uart_emul_flush_rx_data(fixture->dev); in uart_emul_device_before() 70 uart_emul_flush_tx_data(fixture->dev); in uart_emul_device_before() 72 uart_err_check(fixture->dev); in uart_emul_device_before() 74 memset(fixture->rx_content, 0, sizeof(fixture->rx_content)); in uart_emul_device_before() 77 uart_irq_tx_disable(fixture->dev); in uart_emul_device_before() 78 uart_irq_rx_disable(fixture->dev); in uart_emul_device_before() 80 k_sem_reset(&fixture->tx_done_sem); in uart_emul_device_before() [all …]
|
/Zephyr-latest/modules/openthread/platform/ |
D | uart.c | 4 * SPDX-License-Identifier: Apache-2.0 25 #include <openthread-system.h> 28 #include "platform-zephyr.h" 61 ot_uart.rx_ringbuf->size); in uart_rx_handle() 73 uint8_t dummy; in uart_rx_handle() local 75 /* No space in the ring buffer - consume byte. */ in uart_rx_handle() 76 LOG_WRN("RX ring buffer full."); in uart_rx_handle() 78 rd_len = uart_fifo_read(dev, &dummy, 1); in uart_rx_handle() 94 write_length -= len; in uart_tx_handle() 135 /* Process UART RX */ in platformUartProcess() [all …]
|
/Zephyr-latest/kernel/ |
D | mailbox.c | 4 * SPDX-License-Identifier: Apache-2.0 32 struct _thread_base thread; /* dummy thread object */ 52 * Do run-time initialization of mailbox object subsystem. 62 * A dummy thread requires minimal initialization, since it never gets in init_mbox_module() 64 * dummy thread from a real one. The threads are *not* added to the in init_mbox_module() 89 z_waitq_init(&mbox->tx_msg_queue); in k_mbox_init() 90 z_waitq_init(&mbox->rx_msg_queue); in k_mbox_init() 91 mbox->lock = (struct k_spinlock) {}; in k_mbox_init() 110 * @return 0 if successfully matched, otherwise -1. 117 if (((tx_msg->tx_target_thread == (k_tid_t)K_ANY) || in mbox_message_match() [all …]
|
/Zephyr-latest/drivers/serial/ |
D | uart_rzt2m.c | 4 * SPDX-License-Identifier: Apache-2.0 39 if (!dev || !dev->config || !dev->data) { in rzt2m_poll_in() 40 return -ENODEV; in rzt2m_poll_in() 43 const struct rzt2m_device_config *config = dev->config; in rzt2m_poll_in() 44 struct rzt2m_device_data *data = dev->data; in rzt2m_poll_in() 46 k_spinlock_key_t key = k_spin_lock(&data->lock); in rzt2m_poll_in() 48 if (FRSR_R(*FRSR(config->base)) == 0) { in rzt2m_poll_in() 49 k_spin_unlock(&data->lock, key); in rzt2m_poll_in() 50 return -1; in rzt2m_poll_in() 52 *c = *RDR(config->base) & RDR_MASK_RDAT; in rzt2m_poll_in() [all …]
|