/Zephyr-latest/soc/espressif/esp32/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 24 int "Internal DRAM region 1 mempool size" 29 ESP32 has two banks of size 192K and 128K which can be used 65 int "Ethernet DMA buffer size (Byte)" 69 Set the size of each buffer used by Ethernet MAC DMA. 72 int "Amount of Ethernet DMA Rx buffers" 76 Number of DMA receive buffers. Each buffer's size is ETH_DMA_BUFFER_SIZE. 80 int "Amount of Ethernet DMA Tx buffers" 84 Number of DMA transmit buffers. Each buffer's size is ETH_DMA_BUFFER_SIZE.
|
/Zephyr-latest/dts/bindings/dma/ |
D | brcm,iproc-pax-dma-v1.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Broadcom iProc PAX(PCIE<->AXI) DMA controller version 1 6 include: dma-controller.yaml 8 compatible: brcm,iproc-pax-dma-v1 13 Register space for the memory mapped PAX DMA controller registers, 17 bd-memory: 19 description: Uncached memory address to populate dma buffer descriptors 21 scr-addr-loc: 23 description: Location where address of the scratch buffer host has populated 25 scr-size-loc: [all …]
|
D | brcm,iproc-pax-dma-v2.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Broadcom iProc PAX(PCIE<->AXI) DMA controller version 2 6 include: dma-controller.yaml 8 compatible: brcm,iproc-pax-dma-v2 13 Register space for the memory mapped PAX DMA controller registers, 17 bd-memory: 19 description: Uncached memory address to populate dma buffer descriptors 21 scr-addr-loc: 23 description: Location where address of the scratch buffer host has populated 25 scr-size-loc: [all …]
|
/Zephyr-latest/drivers/sdhc/ |
D | Kconfig.mcux_sdif | 2 # SPDX-License-Identifier: Apache-2.0 16 bool "DMA support for MCUX SDIF driver" 19 Enable DMA support for MCUX SDIF driver. May be disabled to reduce 24 # SDIF DMA needs 32 bit aligned buffers 29 int "Size of DMA descriptor buffer in bytes" 32 Size of MCUX SDIF DMA descriptor buffer in bytes
|
D | Kconfig.imx | 2 # SPDX-License-Identifier: Apache-2.0 23 bool "DMA support for USDHC" 27 Enable DMA support for USDHC 31 # USDHC DMA needs 32 bit aligned buffers 36 int "Size of DMA descriptor buffer in bytes" 39 Size of USDHC ADMA descriptor buffer in bytes
|
/Zephyr-latest/drivers/audio/ |
D | Kconfig.dmic_mcux | 2 # SPDX-License-Identifier: Apache-2.0 8 select DMA 16 int "Number of buffers to reserve for DMIC DMA" 21 reserve for the DMA engine. The memory slab used with the DMIC 22 API should provide at least one more buffer than this value, since 23 a buffer will always be in the RX queue. 26 int "Size of DMIC buffer queue" 29 This sets the size of the RX buffer queue for the DMIC. Up to this
|
/Zephyr-latest/drivers/i2c/ |
D | Kconfig.ambiq | 5 # SPDX-License-Identifier: Apache-2.0 20 bool "AMBIQ APOLLO I2C DMA Support" 22 Enable DMA for Ambiq I2C. 25 int "DMA Transfer Control Buffer size in words." 28 DMA Transfer Control Buffer size in words
|
/Zephyr-latest/dts/bindings/ethernet/ |
D | snps,dwcxgmac.yaml | 2 # SPDX - License - Identifier : Apache - 2.0 9 - name: reset-device.yaml 10 - name: ethernet-controller.yaml 17 max-frame-size: 21 Maximum ethernet frame size. The current ethernet frame sizes 23 means that normally xgmac will reject any frame above max-frame-size 27 max-speed: 30 - 10 31 - 100 32 - 1000 [all …]
|
/Zephyr-latest/dts/bindings/mspi/ |
D | ambiq,mspi-controller.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "ambiq,mspi-controller" 8 include: [mspi-controller.yaml, pinctrl-device.yaml, ambiq-pwrcfg.yaml] 20 ce-gpios: 23 cmdq-buffer-location: 26 Define the DMA command queue buffer location section 28 cmdq-buffer-size: 31 Define the DMA command queue buffer size in (4-byte) words
|
/Zephyr-latest/tests/boards/intel_adsp/hda/src/ |
D | dma.c | 2 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/drivers/dma.h> 39 * Tests host input streams with the DMA API 46 const struct device *dma; in ZTEST() local 50 printk("smoke testing hda with fifo buffer at address %p, size %d\n", in ZTEST() 55 printk("Using buffer of size %d at addr %p\n", DMA_BUF_SIZE, dma_buf); in ZTEST() 57 /* setup a ramp in the buffer */ in ZTEST() 63 zassert_true(arch_mem_coherent(dma_buf), "Buffer is unexpectedly incoherent!"); in ZTEST() 65 /* The buffer is in the cached address range and must be flushed */ in ZTEST() 66 zassert_false(arch_mem_coherent(dma_buf), "Buffer is unexpectedly coherent!"); 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 18 * supply a format and command as the DMA slot parameter, like so: 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 46 * supply a flip setting as the DMA linked_channel parameter, like so:
|
/Zephyr-latest/subsys/mgmt/ec_host_cmd/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 17 module-str = ec-host-commands 21 int "Stack size for the EC host command handler thread" 25 int "Buffer size in bytes for TX buffer shared by all EC host commands" 32 Buffer size in bytes for TX buffer defined by the host command handler. 33 Some backend layers can define their own buffer, so the size can be zero to 34 avoid duplicating buffers. If multiple backends are used, the size has to be 38 int "Buffer size in bytes for RX buffer shared by all EC host commands" 45 Buffer size in bytes for TX buffer defined by the host command handler. 46 Some backend layers can define their own buffer, so the size can be zero to [all …]
|
/Zephyr-latest/include/zephyr/drivers/usb/ |
D | udc_buf.h | 4 * SPDX-License-Identifier: Apache-2.0 20 * Here we try to get DMA-safe buffers, but we lack a consistent source of 21 * information about data cache properties, such as line cache size, and a 22 * consistent source of information about what part of memory is DMA'able. 23 * For now, we simply assume that all available memory is DMA'able and use 30 * Default alignment and granularity to pointer size if the platform does not 38 * @brief Buffer macros and definitions used in USB device support 39 * @defgroup udc_buf Buffer macros and definitions used in USB device support 46 /** Buffer alignment required by the UDC driver */ 49 /** Buffer granularity required by the UDC driver */ [all …]
|
/Zephyr-latest/include/zephyr/drivers/pcie/endpoint/ |
D | pcie_ep.h | 8 * SPDX-License-Identifier: Apache-2.0 23 PCIE_OB_LOWMEM, /**< PCIe OB window within 32-bit address range */ 24 PCIE_OB_HIGHMEM, /**< PCIe OB window above 32-bit address range */ 50 * interrupt-safe APIS. Registration of callbacks is done via 65 uint64_t *mapped_addr, uint32_t size, 75 uintptr_t local_addr, uint32_t size, 95 (const struct pcie_ep_driver_api *)dev->api; in pcie_ep_conf_read() 97 return api->conf_read(dev, offset, data); in pcie_ep_conf_read() 114 (const struct pcie_ep_driver_api *)dev->api; in pcie_ep_conf_write() 116 api->conf_write(dev, offset, data); in pcie_ep_conf_write() [all …]
|
/Zephyr-latest/drivers/spi/ |
D | Kconfig.ambiq | 6 # SPDX-License-Identifier: Apache-2.0 22 bool "AMBIQ APOLLO SPI DMA Support" 25 Enable DMA for Ambiq SPI. 28 int "DMA Transfer Control Buffer size in words." 32 DMA Transfer Control Buffer size in words 47 bool "AMBIQ SPI-BLEIF driver" 61 bool "Ambiq SPI-BLEIF timing trace"
|
D | Kconfig.mcux_dspi | 5 # SPDX-License-Identifier: Apache-2.0 22 Enable DMA support for the MCUX DSPI driver. 27 int "buffer size" 30 data buffer size 36 TX data need pre-fix with command, user can choose not to use it
|
/Zephyr-latest/dts/bindings/usb/ |
D | nuvoton,numaker-usbd.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "nuvoton,numaker-usbd" 8 include: [usb-ep.yaml, reset-device.yaml, pinctrl-device.yaml] 23 dma-buffer-size: 27 Size of DMA buffer in bytes 29 disallow-iso-in-out-same-number:
|
D | renesas,smartbond-usbd.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "renesas,smartbond-usbd" 8 include: usb-ep.yaml 11 dma-min-transfer-size: 14 Minimum transfer size required to engage DMA. 16 ep-out-buf-size: 20 Buffer size for OUT end points 0-3. 22 fifo-read-threshold: 25 RX FIFO is 64 bytes. When endpoint size is greater then 64, 40 iso-out-mps: [all …]
|
/Zephyr-latest/drivers/dma/ |
D | Kconfig.iproc_pax | 2 # SPDX-License-Identifier: Apache-2.0 6 prompt "Broadcom PAX(PCIE<->AXI) DMA driver" 13 prompt "Broadcom PAX(PCIE<->AXI) DMA driver version 2" 28 bool "PAX DMA paranoid debug checks" 30 Add paranoid checks for buffer address/size 31 alignments for each dma packet. 34 prompt "PAX DMA API modes" 38 bool "PAX DMA API in polling mode" 40 PAX DMA API polls for dma completions 43 bool "PAX DMA synchronous API with interrupt support" [all …]
|
D | dma_mcux_pxp.c | 2 * Copyright 2023-2024 NXP 5 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/drivers/dma.h> 9 #include <zephyr/drivers/dma/dma_mcux_pxp.h> 38 const struct dma_mcux_pxp_config *config = dev->config; in dma_mcux_pxp_irq_handler() 39 struct dma_mcux_pxp_data *data = dev->data; in dma_mcux_pxp_irq_handler() 41 PXP_ClearStatusFlags(config->base, kPXP_CompleteFlag); in dma_mcux_pxp_irq_handler() 43 DCACHE_InvalidateByRange((uint32_t)data->out_buf_addr, data->out_buf_size); in dma_mcux_pxp_irq_handler() 45 if (data->dma_callback) { in dma_mcux_pxp_irq_handler() 46 data->dma_callback(dev, data->user_data, 0, 0); in dma_mcux_pxp_irq_handler() [all …]
|
/Zephyr-latest/boards/nxp/rd_rw612_bga/ |
D | Kconfig.defconfig | 3 # Copyright 2022-2024 NXP 4 # SPDX-License-Identifier: Apache-2.0 10 # Enable DMA for LCDIC 14 # Increase descriptor count. LVGL will allocate a 30KB buffer, 15 # and the SPI driver sets up RX and TX side. Since LPC DMA has 20 # Allocate buffer that is 10% of screen size
|
/Zephyr-latest/include/zephyr/drivers/ |
D | dma.h | 4 * @brief Public APIs for the DMA drivers. 10 * SPDX-License-Identifier: Apache-2.0 25 * @brief DMA Interface 26 * @defgroup dma_interface DMA Interface 34 * @brief DMA channel direction 56 * This and higher values are dma controller or soc specific. 57 * Refer to the specified dma driver header file. 68 * @brief DMA address adjustment 82 * @brief DMA channel attributes 85 DMA_CHANNEL_NORMAL, /* normal DMA channel */ [all …]
|
/Zephyr-latest/drivers/usb/udc/ |
D | Kconfig.dwc2 | 2 # SPDX-License-Identifier: Apache-2.0 15 bool "DWC2 USB DMA support" 19 Enable Buffer DMA if DWC2 USB controller supports Internal DMA. 29 int "UDC DWC2 driver internal thread stack size" 33 DWC2 driver internal thread stack size.
|
/Zephyr-latest/lib/net_buf/ |
D | Kconfig | 1 # Network buffer configuration options 4 # SPDX-License-Identifier: Apache-2.0 7 bool "Network buffer support" 15 bool "Network buffer logging" 21 module-str = net_buf 27 int "Interval of Network buffer allocation warnings" 31 Interval in seconds of Network buffer allocation warnings which are 32 generated when a buffer cannot immediately be allocated with K_FOREVER 37 bool "Network buffer memory debugging" 45 bool "Network buffer pool usage tracking" [all …]
|
/Zephyr-latest/drivers/pcie/endpoint/ |
D | pcie_ep_common.c | 2 * SPDX-License-Identifier: Apache-2.0 22 * As can be seen in the table, for 64-bit systems, we could just do sys_read8 24 * address - irrespective of low/high outbound memory usage as core is capable 28 * For 32-bit systems, if using low outbound memory for memcpy/DMA, 30 * But, for 32-bit systems using high outbound memory for DMA operation, 34 * +-------------+----------------------+-------------------------------------+ 36 * +-------------+----------------------+----------------+--------------------+ 37 * | 64-bit | | highmem | sys_read8 | 38 * | | memcpy |----------------+--------------------+ 40 * | (e.g. +----------------------+----------------+--------------------+ [all …]
|