/openbmc/linux/arch/arm/mach-ep93xx/ |
H A D | dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * arch/arm/mach-ep93xx/dma.c 9 * This work is based on the original dma-m2p implementation with 18 #include <linux/dma-mapping.h> 24 #include <linux/platform_data/dma-ep93xx.h> 33 * DMA M2P channels. 36 * Memory to Internal Peripheral (M2P) channels (5 transmit + 5 receive). 38 * I2S contains 3 Tx and 3 Rx DMA Channels 39 * AAC contains 3 Tx and 3 Rx DMA Channels 40 * UART1 contains 1 Tx and 1 Rx DMA Channels [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/dma/ |
H A D | owl-dma.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/dma/owl-dma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Actions Semi Owl SoCs DMA controller 10 The OWL DMA is a general-purpose direct memory access controller capable of 11 supporting 10 independent DMA channels for the Actions Semi S700 SoC and 12 12 independent DMA channels for the S500 and S900 SoC variants. 15 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 18 - $ref: dma-controller.yaml# [all …]
|
H A D | mmp-dma.txt | 1 * MARVELL MMP DMA controller 3 Marvell Peripheral DMA Controller 7 - compatible: Should be "marvell,pdma-1.0" 8 - reg: Should contain DMA registers location and length. 9 - interrupts: Either contain all of the per-channel DMA interrupts 13 - dma-channels: Number of DMA channels supported by the controller (defaults 15 - #dma-channels: deprecated 16 - dma-requests: Number of DMA requestor lines supported by the controller 18 - #dma-requests: deprecated 20 "marvell,pdma-1.0" [all …]
|
H A D | brcm,bcm2835-dma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/brcm,bcm2835-dma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: BCM2835 DMA controller 10 - Nicolas Saenz Julienne <nsaenz@kernel.org> 13 The BCM2835 DMA controller has 16 channels in total. Only the lower 14 13 channels have an associated IRQ. Some arbitrary channels are used by the 15 VideoCore firmware (1,3,6,7 in the current firmware version). The channels 19 - $ref: dma-controller.yaml# [all …]
|
H A D | fsl,edma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/fsl,edma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The eDMA channels have multiplex capability by programmable 11 memory-mapped registers. channels are split into two groups, called 12 DMAMUX0 and DMAMUX1, specific DMA request source can only be multiplexed 16 - Peng Fan <peng.fan@nxp.com> 21 - enum: 22 - fsl,vf610-edma [all …]
|
H A D | sprd-dma.txt | 1 * Spreadtrum DMA controller 3 This binding follows the generic DMA bindings defined in dma.txt. 6 - compatible: Should be "sprd,sc9860-dma". 7 - reg: Should contain DMA registers location and length. 8 - interrupts: Should contain one interrupt shared by all channel. 9 - #dma-cells: must be <1>. Used to represent the number of integer 11 - dma-channels : Number of DMA channels supported. Should be 32. 12 - clock-names: Should contain the clock of the DMA controller. 13 - clocks: Should contain a clock specifier for each entry in clock-names. 16 - #dma-channels : Number of DMA channels supported. Should be 32. [all …]
|
H A D | ingenic,dma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/ingenic,dma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Ingenic SoCs DMA Controller 10 - Paul Cercueil <paul@crapouillou.net> 13 - $ref: dma-controller.yaml# 18 - enum: 19 - ingenic,jz4740-dma 20 - ingenic,jz4725b-dma [all …]
|
H A D | dma-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/dma/dma-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DMA Engine Common Properties 10 - Vinod Koul <vkoul@kernel.org> 13 Generic binding to provide a way for a driver using DMA Engine to 14 retrieve the DMA request or channel information that goes from a 15 hardware device to a DMA controller. 20 "#dma-cells": [all …]
|
H A D | apple,admac.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/dma/apple,admac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Apple Audio DMA Controller (ADMAC) 10 Apple's Audio DMA Controller (ADMAC) is used to fetch and store audio samples 13 The controller has been seen with up to 24 channels. Even-numbered channels 14 are TX-only, odd-numbered are RX-only. Individual channels are coupled to 18 - Martin Povišer <povik+lin@cutebit.org> 21 - $ref: dma-controller.yaml# [all …]
|
H A D | fsl-imx-dma.txt | 1 * Freescale Direct Memory Access (DMA) Controller for i.MX 3 This document will only describe differences to the generic DMA Controller and 4 DMA request bindings as described in dma/dma.txt . 6 * DMA controller 9 - compatible : Should be "fsl,<chip>-dma". chip can be imx1, imx21 or imx27 10 - reg : Should contain DMA registers location and length 11 - interrupts : First item should be DMA interrupt, second one is optional and 12 should contain DMA Error interrupt 13 - #dma-cells : Has to be 1. imx-dma does not support anything else. 16 - dma-channels : Number of DMA channels supported. Should be 16. [all …]
|
H A D | snps,dma-spear1340.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/dma/snps,dma-spear1340.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys Designware DMA Controller 10 - Viresh Kumar <vireshk@kernel.org> 11 - Andy Shevchenko <andriy.shevchenko@linux.intel.com> 14 - $ref: dma-controller.yaml# 19 - const: snps,dma-spear1340 20 - items: [all …]
|
H A D | ti-edma.txt | 4 Controller(s) (TC). The CC is the main entry for DMA users since it is 5 responsible for the DMA channel handling, while the TCs are responsible to 6 execute the actual DMA tansfer. 8 ------------------------------------------------------------------------------ 12 -------------------- 13 - compatible: Should be: 14 - "ti,edma3-tpcc" for the channel controller(s) on OMAP, 16 - "ti,k2g-edma3-tpcc", "ti,edma3-tpcc" for the 18 - #dma-cells: Should be set to <2>. The first number is the DMA request 20 - reg: Memory map of eDMA CC [all …]
|
H A D | st_fdma.txt | 3 The FDMA is a general-purpose direct memory access controller capable of 4 supporting 16 independent DMA channels. It accepts up to 32 DMA requests. 10 - compatible : Should be one of 11 - st,stih407-fdma-mpe31-11, "st,slim-rproc"; 12 - st,stih407-fdma-mpe31-12, "st,slim-rproc"; 13 - st,stih407-fdma-mpe31-13, "st,slim-rproc"; 14 - reg : Should contain an entry for each name in reg-names 15 - reg-names : Must contain "slimcore", "dmem", "peripherals", "imem" entries 16 - interrupts : Should contain one interrupt shared by all channels 17 - dma-channels : Number of channels supported by the controller [all …]
|
H A D | snps,dw-axi-dmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/snps,dw-axi-dmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys DesignWare AXI DMA Controller 10 - Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> 13 Synopsys DesignWare AXI DMA Controller DT Binding 16 - $ref: dma-controller.yaml# 21 - snps,axi-dma-1.01a 22 - intel,kmb-axi-dma [all …]
|
H A D | k3dma.txt | 1 * Hisilicon K3 DMA controller 3 See dma.txt first 6 - compatible: Must be one of 7 - "hisilicon,k3-dma-1.0" 8 - "hisilicon,hisi-pcm-asp-dma-1.0" 9 - reg: Should contain DMA registers location and length. 10 - interrupts: Should contain one interrupt shared by all channel 11 - #dma-cells: see dma.txt, should be 1, para number 12 - dma-channels: physical channels supported 13 - dma-requests: virtual channels supported, each virtual channel [all …]
|
H A D | fsl-qdma.txt | 4 This device follows the generic DMA bindings defined in dma/dma.txt. 8 - compatible: Must be one of 9 "fsl,ls1021a-qdma": for LS1021A Board 10 "fsl,ls1028a-qdma": for LS1028A Board 11 "fsl,ls1043a-qdma": for ls1043A Board 12 "fsl,ls1046a-qdma": for ls1046A Board 13 - reg: Should contain the register's base address and length. 14 - interrupts: Should contain a reference to the interrupt used by this 16 - interrupt-names: Should contain interrupt names: 17 "qdma-queue0": the block0 interrupt [all …]
|
H A D | fsl,mxs-dma.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/dma/fsl,mxs-dma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale Direct Memory Access (DMA) Controller from i.MX23/i.MX28 10 - Marek Vasut <marex@denx.de> 13 - $ref: dma-controller.yaml# 18 - items: 19 - enum: 20 - fsl,imx6q-dma-apbh [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ti_am335x_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 26 #include <linux/dma-mapping.h> 43 struct tiadc_dma dma; member 45 int channels; member 56 return readl(adc->mfd_tscadc->tscadc_base + reg); in tiadc_readl() 62 writel(val, adc->mfd_tscadc->tscadc_base + reg); in tiadc_writel() 69 step_en = ((1 << adc_dev->channels) - 1); in get_adc_step_mask() 70 step_en <<= TOTAL_STEPS - adc_dev->channels + 1; in get_adc_step_mask() 79 for (i = 0; i < ARRAY_SIZE(adc_dev->channel_step); i++) { in get_adc_chan_step_mask() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/dma/xilinx/ |
H A D | xilinx_dma.txt | 2 It can be configured to have one channel or two channels. If configured 3 as two channels, one is to transmit to the video device and another is 6 Xilinx AXI DMA engine, it does transfers between memory and AXI4 stream 7 target devices. It can be configured to have one channel or two channels. 8 If configured as two channels, one is to transmit to the device and another 11 Xilinx AXI CDMA engine, it does transfers between memory-mapped source 12 address and a memory-mapped destination address. 16 and receive channels. 19 - compatible: Should be one of- 20 "xlnx,axi-vdma-1.00.a" [all …]
|
/openbmc/u-boot/drivers/dma/ |
H A D | sandbox-dma-test.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Direct Memory Access U-Class Simulation driver 13 #include <dma-uclass.h> 14 #include <dt-structs.h> 32 struct sandbox_dma_chan channels[SANDBOX_DMA_CH_CNT]; member 47 static int sandbox_dma_of_xlate(struct dma *dma, in sandbox_dma_of_xlate() argument 50 struct sandbox_dma_dev *ud = dev_get_priv(dma->dev); in sandbox_dma_of_xlate() 53 debug("%s(dma id=%u)\n", __func__, args->args[0]); in sandbox_dma_of_xlate() 55 if (args->args[0] >= SANDBOX_DMA_CH_CNT) in sandbox_dma_of_xlate() 56 return -EINVAL; in sandbox_dma_of_xlate() [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * linux/include/asm/dma.h: Defines for using and allocating dma channels. 5 * High DMA channel support & info by Hannu Savolainen 9 * and can only be used for expansion cards. Onboard DMA controllers, such 30 * NOTES about DMA transfers: 32 * controller 1: channels 0-3, byte operations, ports 00-1F 33 * controller 2: channels 4-7, word operations, ports C0-DF 35 * - ALL registers are 8 bits only, regardless of transfer size 36 * - channel 4 is not used - cascades 1 into 2. 37 * - channels 0-3 are byte - addresses/counts are for physical bytes [all …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | dma-ep93xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/dma-mapping.h> 10 * M2P channels. 25 /* M2M channels */ 30 * struct ep93xx_dma_data - configuration data for the EP93xx dmaengine 36 * function. Note that this is only needed for slave/cyclic channels. For 37 * memcpy channels %NULL data should be passed. 46 * struct ep93xx_dma_chan_data - platform specific data for a DMA channel 58 * struct ep93xx_dma_platform_data - platform data for the dmaengine driver 59 * @channels: array of channels which are passed to the driver [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * linux/include/asm/dma.h: Defines for using and allocating dma channels. 5 * High DMA channel support & info by Hannu Savolainen 24 * NOTES about DMA transfers: 26 * controller 1: channels 0-3, byte operations, ports 00-1F 27 * controller 2: channels 4-7, word operations, ports C0-DF 29 * - ALL registers are 8 bits only, regardless of transfer size 30 * - channel 4 is not used - cascades 1 into 2. 31 * - channels 0-3 are byte - addresses/counts are for physical bytes 32 * - channels 5-7 are word - addresses/counts are for physical words [all …]
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * include/asm-alpha/dma.h 5 * This is essentially the same as the i386 DMA stuff, as the AlphaPCs 6 * use ISA-compatible dma. The only extension is support for high-page 7 * registers that allow to set the top 8 bits of a 32-bit DMA address. 8 * This register should be written last when setting up a DMA address 9 * as this will also enable DMA across 64 KB boundaries. 12 /* $Id: dma.h,v 1.7 1992/12/14 00:29:34 root Exp root $ 13 * linux/include/asm/dma.h: Defines for using and allocating dma channels. 15 * High DMA channel support & info by Hannu Savolainen [all …]
|
/openbmc/linux/include/linux/ |
H A D | timb_dma.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * timb_dma.h timberdale FPGA DMA driver defines 8 * Timberdale FPGA DMA engine 15 * struct timb_dma_platform_data_channel - Description of each individual 16 * DMA channel for the timberdale DMA driver 19 * @bytes_per_line: Number of bytes per line, this is specific for channels 20 * handling video data. For other channels this shall be left to 0. 33 * struct timb_dma_platform_data - Platform data of the timberdale DMA driver 34 * @nr_channels: Number of defined channels in the channels array. 35 * @channels: Definition of the each channel. [all …]
|