Home
last modified time | relevance | path

Searched +full:chain +full:- +full:transfer (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/doc/services/rtio/
Dindex.rst19 as that API matches up well with hardware transfer queues and descriptions such as
20 DMA transfer lists.
45 lock-free ring buffers acting as queues shared between the kernel and a userland
63 For example imagine a typical SPI transfer where you wish to write a
73 If anything in this chain of operations fails give up. Some of those operations
80 The above sequence of operations is embodied in RTIO as chain of
89 device its possible one chain will have to wait for another to complete.
97 sqe. A chain of sqe will however ensure ordering and failure cascading.
109 submissions, transactional sets of submissions, or create multi-shot
122 operations can be converted to a set of DMA transfer descriptors, meaning the
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_common.h2 * Copyright (c) 2021-2022 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
35 struct udc_data *data = dev->data; in udc_get_private()
37 return data->priv; in udc_get_private()
85 * Use it when transfer is finished and request should
99 * Get all UDC request from endpoint FIFO as single-linked list.
115 * Use it when request buffer is required for a transfer.
145 * @retval -EPERM controller is not initialized
162 * @retval -EPERM controller is not initialized
179 * @retval -ENODEV endpoint is not assigned or no configuration found
[all …]
/Zephyr-latest/dts/bindings/dma/
Dandestech,atcdmac300.yaml4 # SPDX-License-Identifier: Apache-2.0
8 include: dma-controller.yaml
17 chain-transfer:
20 "#dma-cells":
23 dma-cells:
24 - channel
25 - slot
26 - channel-config
33 3. channel-config: A 32bit mask specifying the DMA channel configuration
35 -bit 0-1 : Direction (see dma.h)
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_periodic_sync/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
75 * uint8_t chain, struct mayfly *m);
80 uint8_t chain, struct mayfly *m) in mayfly_enqueue_custom_fake() argument
83 if (m->param == &conn && chain == 1U) { in mayfly_enqueue_custom_fake()
120 /* +-----+ +-------+ +-----+
122 * +-----+ +-------+ +-----+
125 * | Periodic Adv. Sync Transfer| |
127 * |--------------------------->| |
130 * | |------------------> |
133 * |Periodic Adv. Sync Transfer | |
[all …]
/Zephyr-latest/drivers/dma/
Ddma_mcux_lpc.c2 * Copyright (c) 2020-2023 NXP
4 * SPDX-License-Identifier: Apache-2.0
71 ((DMA_Type *)((const struct dma_mcux_lpc_config *const)(dev)->config)->base)
74 ((struct channel_data *)(&(((struct dma_mcux_lpc_dma_data *)dev->data)->channel_data[ch])))
77 ((dma_handle_t *)(&(DEV_CHANNEL_DATA(dev, ch)->dma_handle)))
79 #define EMPTY_OTRIG -1
84 int ret = -EIO; in nxp_lpc_dma_callback()
86 uint32_t channel = handle->channel; in nxp_lpc_dma_callback()
96 data->busy = DMA_ChannelIsBusy(data->dma_handle.base, channel); in nxp_lpc_dma_callback()
98 if (data->dma_callback) { in nxp_lpc_dma_callback()
[all …]
Ddma_andes_atcdmac300.c4 * SPDX-License-Identifier: Apache-2.0
23 #define DMA_ABORT(dev) (((struct dma_atcdmac300_cfg *)dev->config)->base + 0x24)
25 (((struct dma_atcdmac300_cfg *)dev->config)->base + 0x30)
29 (((struct dma_atcdmac300_cfg *)dev->config)->base + 0x40 + DMA_CH_OFFSET(ch))
31 (((struct dma_atcdmac300_cfg *)dev->config)->base + 0x44 + DMA_CH_OFFSET(ch))
33 (((struct dma_atcdmac300_cfg *)dev->config)->base + 0x48 + DMA_CH_OFFSET(ch))
35 (((struct dma_atcdmac300_cfg *)dev->config)->base + 0x4C + DMA_CH_OFFSET(ch))
37 (((struct dma_atcdmac300_cfg *)dev->config)->base + 0x50 + DMA_CH_OFFSET(ch))
39 (((struct dma_atcdmac300_cfg *)dev->config)->base + 0x54 + DMA_CH_OFFSET(ch))
41 (((struct dma_atcdmac300_cfg *)dev->config)->base + 0x58 + DMA_CH_OFFSET(ch))
[all …]
Ddma_iproc_pax_v1.c4 * SPDX-License-Identifier: Apache-2.0
33 return ring->pkt_id = 0x0; in reset_pkt_id()
41 ring->pkt_id = (ring->pkt_id + 1) % 32; in alloc_pkt_id()
42 return ring->pkt_id; in alloc_pkt_id()
47 return ring->pkt_id; in curr_pkt_id()
52 return ring->curr.toggle; in curr_toggle_val()
63 r->opq = opq; in rm_write_header_desc()
65 r->bdcount = bdcount; in rm_write_header_desc()
66 r->prot = 0x0; in rm_write_header_desc()
68 r->start = 1; in rm_write_header_desc()
[all …]
Ddma_iproc_pax_v2.c4 * SPDX-License-Identifier: Apache-2.0
36 return ring->pkt_id = 0x0; in reset_pkt_id()
41 ring->pkt_id = (ring->pkt_id + 1) % 32; in alloc_pkt_id()
42 return ring->pkt_id; in alloc_pkt_id()
47 return ring->pkt_id; in curr_pkt_id()
52 return ring->curr.toggle; in curr_toggle_val()
64 r->opq = opq; in rm_write_header_desc()
65 r->bdf = 0x0; in rm_write_header_desc()
66 r->res1 = 0x0; in rm_write_header_desc()
68 r->bdcount = bdcount; in rm_write_header_desc()
[all …]
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_nxp_flexio_lcdif.c4 * SPDX-License-Identifier: Apache-2.0
52 struct mcux_flexio_lcdif_data *lcdif_data = flexio_dev->data; in flexio_lcdif_dma_callback()
53 const struct mcux_flexio_lcdif_config *config = flexio_dev->config; in flexio_lcdif_dma_callback()
54 FLEXIO_MCULCD_Type *flexio_lcd = config->flexio_lcd_dev; in flexio_lcdif_dma_callback()
64 /* De-assert nCS. */ in flexio_lcdif_dma_callback()
67 k_sem_give(&lcdif_data->transfer_done); in flexio_lcdif_dma_callback()
74 const struct mcux_flexio_lcdif_config *config = flexio_dev->config; in flexio_lcdif_set_cs()
76 gpio_pin_set_dt(&config->cs_gpio, (int)set); in flexio_lcdif_set_cs()
82 const struct mcux_flexio_lcdif_config *config = flexio_dev->config; in flexio_lcdif_set_rs()
84 gpio_pin_set_dt(&config->rs_gpio, (int)set); in flexio_lcdif_set_rs()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv_sync.c2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
61 1U + DIV_ROUND_UP(MAX(0U, CONFIG_BT_CTLR_ADV_DATA_LEN_MAX - PDU_AC_EXT_AD_DATA_LEN_MAX), \
153 lll_sync = adv->lll.sync; in ll_adv_sync_param_set()
164 lll = &adv->lll; in ll_adv_sync_param_set()
165 lll_sync = &sync->lll; in ll_adv_sync_param_set()
166 lll->sync = lll_sync; in ll_adv_sync_param_set()
167 lll_sync->adv = lll; in ll_adv_sync_param_set()
169 lll_adv_data_reset(&lll_sync->data); in ll_adv_sync_param_set()
170 err = lll_adv_sync_data_init(&lll_sync->data); in ll_adv_sync_param_set()
[all …]
/Zephyr-latest/doc/connectivity/networking/
Dqemu_setup.rst16 In this example, the :zephyr:code-sample:`sockets-echo-server` sample application from
19 transfer data between the Zephyr application and Linux (over a chain of
25 On the Linux Host, find the Zephyr `net-tools`_ project, which can either be
26 found in a Zephyr standard installation under the ``tools/net-tools`` directory
29 .. code-block:: console
31 sudo apt install -y socat libpcap-dev
32 git clone https://github.com/zephyrproject-rtos/net-tools
33 cd net-tools
39 ``autoconf-archive`` package on Debian/Ubuntu.
48 * Terminals #2, #3, and #4 are terminal windows with net-tools being the current
[all …]
/Zephyr-latest/dts/riscv/andes/
Dandes_v5_ae350.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
8 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #address-cells = <1>;
13 #size-cells = <1>;
16 #address-cells = <1>;
17 #size-cells = <0>;
19 compatible = "andestech,andescore-v5", "riscv";
24 mmu-type = "riscv,sv32";
25 clock-frequency = <60000000>;
[all …]
/Zephyr-latest/subsys/sd/
Dsdio.c2 * Copyright 2022-2023 NXP
4 * SPDX-License-Identifier: Apache-2.0
40 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdio_send_ocr()
50 card->num_io = (cmd.response[0] & SDIO_OCR_IO_NUMBER) in sdio_send_ocr()
52 if ((card->num_io == 0) || in sdio_send_ocr()
59 return -ENOTSUP; in sdio_send_ocr()
76 return -ETIMEDOUT; in sdio_send_ocr()
79 if (!card->host_props.is_spi) { in sdio_send_ocr()
81 card->ocr = cmd.response[0U]; in sdio_send_ocr()
109 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdio_io_rw_direct()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
146 sys_heap/k_heaps. Note that the new-style heap is a general
[all …]
Drelease-notes-3.7.rst10 This release is the last non-maintenance 3.x release and, as such, will be the next
18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API,
21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017
25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio
29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and
35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr.
39 1588) allows to synchronize time across devices with sub-microsecond accuracy.
52 * 1-Wire
71 :ref:`pinctrl-guide` for more details.
88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8
[all …]
Drelease-notes-4.0.rst15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`)
18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage
25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`,
26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported.
31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex
32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`.
50 directory for :zephyr:code-sample-category:`code samples <samples>`.
70 * :cve:`2024-8798`: Under embargo until 2024-11-22
71 * :cve:`2024-10395`: Under embargo until 2025-01-23
72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9
[all …]
Dmigration-guide-3.7.rst22 out-of-tree SoCs and boards to be ported to the new model. See the
25 * The following build-time generated headers:
27 .. list-table::
28 :header-rows: 1
30 * - Affected header files
31 * - ``app_version.h``
32 * - ``autoconf.h``
33 * - ``cmake_intdef.h``
34 * - ``core-isa-dM.h``
35 * - ``devicetree_generated.h``
[all …]
Drelease-notes-3.1.rst61 * Split CAN classic and CAN-FD APIs:
90 was moved from Kconfig to :ref:`devicetree <dt-guide>`.
91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information.
182 * MIPI-DSI
184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API,
196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`.
220 * Added support for Provisioners over PB-GATT
231 * Implemented ISO-AL TX unframed fragmentation
232 * Added support for back-to-back receiving of PDUs on nRF5x platforms
249 newly created informational-only callback struct :c:struct:`bt_conn_auth_info_cb`.
[all …]
Drelease-notes-3.2.rst13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
31 * CVE-2022-2993: Under embargo until 2022-11-03
33 * CVE-2022-2741: Under embargo until 2022-10-14
56 This definition can be used by third-party code to compile code conditional
58 Therefore, any third-party code integrated using the Zephyr build system will
91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig
156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
157 :dtcompatible:`fixed-partitions`.
[all …]
Drelease-notes-2.7.rst17 * Support for M-Profile Vector Extensions (MVE) on ARMv8.1-M
18 * Improved thread safety for Newlib and C++ on SMP-capable systems
20 * New Action-based Power Management API
23 * Linker Support for Tightly-Coupled Memory in RISC-V
25 * Support for extended PCI / PCIe capabilities, improved MIS-X support
33 * The kernel now supports both 32- and 64-bit architectures
36 * We added support for Point-to-Point Protocol (PPP)
37 * We added support for UpdateHub, an end-to-end solution for over-the-air device updates
38 * We added support for ARM Cortex-R Architecture
40 * Expanded support for ARMv6-M architecture
[all …]
/Zephyr-latest/drivers/sdhc/
Dsdhc_esp32.c4 * SPDX-License-Identifier: Apache-2.0
42 /* Number of DMA descriptors used for transfer.
81 uint32_t bus_clock; /* Value in Hz. ESP-IDF functions use kHz instead */
98 * - one is the clock generator which drives SDMMC peripheral,
99 * it can be configured using sdio_hw->clock register. It can generate
101 * - 4 clock dividers inside SDMMC peripheral, which can divide clock
105 * For cards which aren't UHS-1 or UHS-2 cards, which we don't support,
107 * Note: for non-UHS-1 cards, HS mode is optional.
140 sdio_hw->ctrl.dma_enable = 1; in sdmmc_host_dma_init()
141 sdio_hw->bmod.val = 0; in sdmmc_host_dma_init()
[all …]
/Zephyr-latest/subsys/usb/device_next/
Dusbd_ch9.c4 * SPDX-License-Identifier: Apache-2.0
38 return setup->wLength && USB_REQTYPE_GET_DIR(setup->bmRequestType); in reqtype_is_to_host()
49 uds_ctx->ch9_data.ctrl_type = type; in ch9_set_ctrl_type()
54 return uds_ctx->ch9_data.ctrl_type; in ch9_get_ctrl_type()
62 if (setup->bRequest == USB_SREQ_SET_ADDRESS) { in post_status_stage()
63 ret = udc_set_address(uds_ctx->dev, setup->wValue); in post_status_stage()
65 LOG_ERR("Failed to set device address 0x%x", setup->wValue); in post_status_stage()
69 if (setup->bRequest == USB_SREQ_SET_FEATURE && in post_status_stage()
70 setup->wValue == USB_SFS_TEST_MODE) { in post_status_stage()
71 uint8_t mode = SF_TEST_MODE_SELECTOR(setup->wIndex); in post_status_stage()
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dlwm2m.rst18 CoAP packet-size optimization and a simple, stateless flow that supports a
35 .. list-table::
36 :header-rows: 1
38 * - Object ID
39 - Name
40 - Instance
41 - Mandatory
43 * - 3
44 - Device
45 - Single
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_xmc4xxx.c5 * SPDX-License-Identifier: Apache-2.0
49 #define IS_OWNED_BY_DMA_TX(desc) (((desc)->status & ETH_MAC_DMA_TDES0_OWN) != 0)
50 #define IS_OWNED_BY_DMA_RX(desc) (((desc)->status & ETH_MAC_DMA_RDES0_OWN) != 0)
52 #define IS_START_OF_FRAME_RX(desc) (((desc)->status & ETH_MAC_DMA_RDES0_FS) != 0)
53 #define IS_END_OF_FRAME_RX(desc) (((desc)->status & ETH_MAC_DMA_RDES0_LS) != 0)
55 #define IS_TIMESTAMP_AVAILABLE_RX(desc) (((desc)->status & ETH_MAC_DMA_RDES0_TSA) != 0)
56 #define IS_TIMESTAMP_AVAILABLE_TX(desc) (((desc)->status & ETH_MAC_DMA_TDES0_TTSS) != 0)
58 #define TOTAL_FRAME_LENGTH(desc) (FIELD_GET(ETH_MAC_DMA_RDES0_FL, (desc)->status) - 4)
134 return ctx->iface; in get_iface()
139 const struct eth_xmc4xxx_config *dev_cfg = dev->config; in eth_xmc4xxx_tx_dma_descriptors_init()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c2 * Copyright (c) 2016-2018 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
104 * cmd status events to avoid passing it up the call chain.
110 * 0 - Non-Connectable Non-Scannable advertising report
111 * 1 - Connectable Non-Scannable advertising report
112 * 2 - Non-Connectable Scannable advertisig report
113 * 3 - Connectable Scannable advertising report
116 * cycle. If advertiser changes between Connectable Non-Scannable,
122 * 4 - Periodic Advertising report
154 #define DUP_FILTER_DISABLED (-1)
[all …]

12