/linux/Documentation/devicetree/bindings/serial/ |
H A D | atmel,at91-usart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/serial/atmel,at91-usart.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Richard Genoud <richard.genoud@bootlin.com> 16 - enum: 17 - atmel,at91rm9200-usart 18 - atmel,at91sam9260-usart 19 - items: 20 - const: atmel,at91rm9200-dbgu [all …]
|
H A D | fsl-imx-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serial/fsl-imx-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Fabio Estevam <festevam@gmail.com> 15 - const: fsl,imx1-uart 16 - const: fsl,imx21-uart 17 - items: 18 - enum: 19 - fsl,imx25-uart [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-kizbox3_common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * at91-kizbox3.dts - Device Tree Include file for Overkiz Kizbox 3 12 /dts-v1/; 14 #include "sama5d2-pinfunc.h" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/mfd/atmel-flexcom.h> 17 #include <dt-bindings/pinctrl/at91.h> 18 #include <dt-bindings/pwm/pwm.h> 36 stdout-path = "serial1:115200n8"; 41 clock-frequency = <32768>; [all …]
|
H A D | sama7g5.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * sama7g5.dtsi - Device Tree Include file for SAMA7G5 family SoC 12 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 #include <dt-bindings/clock/at91.h> 16 #include <dt-bindings/dma/at91.h> 17 #include <dt-bindings/gpio/gpio.h> 18 #include <dt-bindings/mfd/at91-usart.h> 19 #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h> [all …]
|
H A D | at91-wb50n.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * at91-wb50n.dtsi - Device Tree include file for wb50n cpu module 12 model = "Laird Workgroup Bridge 50N - Atmel SAMA5D"; 17 stdout-path = "serial0:115200n8"; 38 clock-frequency = <32768>; 42 clock-frequency = <12000000>; 46 atmel,osc-bypass; 50 pinctrl-names = "default"; 51 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>; 52 cd-gpios = <&pioC 26 GPIO_ACTIVE_LOW>; [all …]
|
/linux/Documentation/devicetree/bindings/dma/ |
H A D | stericsson,dma40.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/stericsson,dma40.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson DMA40 DMA Engine 10 - Linus Walleij <linus.walleij@linaro.org> 13 - $ref: dma-controller.yaml# 16 "#dma-cells": 20 table for DB8500 which is the only ASIC known to use DMA40: 32 10: Multi-Channel Display Engine MCDE RX [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 …]
|
/linux/include/linux/ |
H A D | dmaengine.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved. 18 * typedef dma_cookie_t - an opaque DMA cookie 20 * if dma_cookie_t is >0 it's a DMA request cookie, <0 it's an error code 31 * enum dma_status - DMA transaction status 46 * enum dma_transaction_type - DMA transaction types/indexes 49 * automatically set as dma devices are registered. 73 * enum dma_transfer_direction - dma transfer mode and direction indicator 89 * ---------------------------- 91 * The gap(in bytes) between two chunks is called inter-chunk-gap(ICG). [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | davinci-mcasp-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/davinci-mcasp-audio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jayesh Choudhary <j-choudhary@ti.com> 15 - ti,dm646x-mcasp-audio 16 - ti,da830-mcasp-audio 17 - ti,am33xx-mcasp-audio 18 - ti,dra7-mcasp-audio 19 - ti,omap4-mcasp-audio [all …]
|
H A D | fsl,ssi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 13 Notes on fsl,playback-dma and fsl,capture-dma 14 On SOCs that have an SSI, specific DMA channels are hard-wired for playback 15 and capture. On the MPC8610, for example, SSI1 must use DMA channel 0 for 16 playback and DMA channel 1 for capture. SSI2 must use DMA channel 2 for 17 playback and DMA channel 3 for capture. The developer can choose which 18 DMA controller to use, but the channels themselves are hard-wired. The [all …]
|
/linux/crypto/async_tx/ |
H A D | async_raid6_recov.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Asynchronous RAID-6 recovery calculations ASYNC_TX API. 12 #include <linux/dma-mapping.h> 24 struct dma_device *dma = chan ? chan->device : NULL; in async_sum_product() local 30 if (dma) in async_sum_product() 31 unmap = dmaengine_get_unmap_data(dma->dev, 3, GFP_NOWAIT); in async_sum_product() 34 struct device *dev = dma->dev; in async_sum_product() 36 struct dma_async_tx_descriptor *tx; in async_sum_product() local 39 if (submit->flags & ASYNC_TX_FENCE) in async_sum_product() 41 unmap->addr[0] = dma_map_page(dev, srcs[0], src_offs[0], in async_sum_product() [all …]
|
H A D | async_xor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <linux/dma-mapping.h> 21 /* do_async_xor - dma map the pages and perform the xor with an engine */ 26 struct dma_device *dma = chan->device; in do_async_xor() local 27 struct dma_async_tx_descriptor *tx = NULL; in do_async_xor() local 28 dma_async_tx_callback cb_fn_orig = submit->cb_fn; in do_async_xor() 29 void *cb_param_orig = submit->cb_param; in do_async_xor() 30 enum async_tx_flags flags_orig = submit->flags; in do_async_xor() 32 int src_cnt = unmap->to_cnt; in do_async_xor() 34 dma_addr_t dma_dest = unmap->addr[unmap->to_cnt]; in do_async_xor() [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | dma.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 5 * Permission to use, copy, modify, and distribute this software for any 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 20 * DMA and interrupt masking functions * 24 * DOC: DMA and interrupt masking functions 26 * Here we setup descriptor pointers (rxdp/txdp) start/stop dma engine and 44 * ath5k_hw_start_rx_dma() - Start DMA receive 55 * ath5k_hw_stop_rx_dma() - Stop DMA receive [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/stmicro/ |
H A D | stmmac.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 13 - In This Release 14 - Feature List 15 - Kernel Configuration 16 - Command Line Parameters 17 - Driver Information and Notes 18 - Debug Information 19 - Support 33 (and older) and DesignWare(R) Cores Ethernet Quality-of-Service version 4.0 35 DesignWare(R) Cores XGMAC - 10G Ethernet MAC and DesignWare(R) Cores [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | prph.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 36 * Redistribution and use in source and binary forms, with or without 56 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 59 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 106 * processor is sleeping (e.g. for periodic power-saving shutdowns of radio). 113 * This bootstrap program loads (via PCI busmaster DMA) instructions and data 119 * The uCode used for open-source drivers includes two programs: 121 * 1) Initialization -- performs hardware calibration and sets up some [all …]
|
/linux/drivers/mailbox/ |
H A D | bcm-pdc-mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * offload engines. For example, the PDC driver works with both SPU-M and SPU2 25 * descriptors from the tx and rx ring, thus processing one response at a time. 41 #include <linux/mailbox/brcm-message.h> 43 #include <linux/dma-direction.h> 44 #include <linux/dma-mapping.h> 52 /* # entries in PDC dma ring */ 73 #define PREVTXD(i, max_mask) TXD((i) - 1, (max_mask)) 75 #define PREVRXD(i, max_mask) RXD((i) - 1, (max_mask)) 76 #define NTXDACTIVE(h, t, max_mask) TXD((t) - (h), (max_mask)) [all …]
|
/linux/sound/soc/fsl/ |
H A D | fsl_ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // Copyright 2007-2010 Freescale Semiconductor, Inc. 9 // Some notes why imx-pcm-fiq is used instead of DMA on some boards: 16 // we receive in our (PCM-) data stream. The only chance we have is to 43 #include <linux/dma/imx-dma.h> 53 #include "imx-pcm.h" 55 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */ 57 #define TX 1 macro 66 * (bit-endianness must match byte-endianness). Processors typically write 68 * written in. So if the host CPU is big-endian, then only big-endian [all …]
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 DMA ringbuffer and descriptor allocation/management 18 #include "dma.h" 23 #include <linux/dma-mapping.h> 32 /* Required number of TX DMA slots per TX frame. 37 static u32 b43_dma_address(struct b43_dma *dma, dma_addr_t dmaaddr, in b43_dma_address() argument 45 if (dma->translation_in_low) { in b43_dma_address() 47 addr |= dma->translation; in b43_dma_address() 52 if (!dma->translation_in_low) { in b43_dma_address() 54 addr |= dma->translation; in b43_dma_address() [all …]
|
/linux/drivers/spi/ |
H A D | spi-s3c64xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/dma-mapping.h> 17 #include <linux/platform_data/spi-s3c64xx.h> 27 /* Registers and bit-fields */ 112 #define FIFO_LVL_MASK(i) ((i)->port_conf->fifo_lvl_mask[i->port_id]) 114 (1 << (i)->port_conf->tx_st_done)) ? 1 : 0) 115 #define TX_FIFO_LVL(v, sdd) (((v) & (sdd)->tx_fifomask) >> \ 116 __ffs((sdd)->tx_fifomask)) 117 #define RX_FIFO_LVL(v, sdd) (((v) & (sdd)->rx_fifomask) >> \ 118 __ffs((sdd)->rx_fifomask)) [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 2 * This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet 5 * Copyright (c) 2009-2010 Chelsio Communications, Inc. All rights reserved. 13 * Redistribution and use in source and binary forms, with or 17 * - Redistributions of source code must retain the above 21 * - Redistributions in binary form must reproduce the above 32 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 43 #include <linux/dma-mapping.h> 63 * 64-bit PCI DMA addresses. 70 * Max number of TX descriptors we clean up at a time. Should be 91 * Period of the TX queue check timer and the maximum number of TX [all …]
|
/linux/arch/mips/include/asm/sgi/ |
H A D | hpc3.h | 18 /* An HPC DMA descriptor. */ 22 #define HPCDMA_EOX 0x80000000 /* last desc in chain for tx */ 24 #define HPCDMA_EOXP 0x40000000 /* end of packet for tx */ 27 #define HPCDMA_XIU 0x01000000 /* Tx buffer in use by CPU. */ 29 #define HPCDMA_ETXD 0x00008000 /* set to one by HPC when packet tx'd */ 31 #define HPCDMA_BCNT 0x00003fff /* size in bytes of this dma buffer */ 36 /* The set of regs for each HPC3 PBUS DMA channel. */ 38 volatile u32 pbdma_bptr; /* pbus dma channel buffer ptr */ 39 volatile u32 pbdma_dptr; /* pbus dma channel desc ptr */ 40 u32 _unused0[0x1000/4 - 2]; /* padding */ [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | xlnx,axi-ethernet.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/xlnx,axi-ethernet.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 13 segments of memory for buffering TX and RX, as well as the capability of 14 offloading TX/RX checksum calculation off the processor. 17 sent and received through means of an AXI DMA controller. This driver 18 includes the DMA driver code, so this driver is incompatible with AXI DMA 22 - Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> 27 - xlnx,axi-ethernet-1.00.a [all …]
|
/linux/drivers/dma/ |
H A D | apple-admac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for Audio DMA Controller (ADMAC) on t8103 (M1) and other Apple chips 102 * correctness. Typical use of the driver (per channel) will be 115 * SRAM_CARVEOUT has 16-bit fields, so the SRAM cannot be larger than 116 * 64K and a 32-bit bitfield over 2K blocks covers it. 122 struct dma_device dma; member 137 struct dma_async_tx_descriptor tx; member 156 ad->txcache.size = readl_relaxed(ad->base + REG_TX_SRAM_SIZE); in admac_alloc_sram_carveout() 157 ad->rxcache.size = readl_relaxed(ad->base + REG_RX_SRAM_SIZE); in admac_alloc_sram_carveout() 160 sram = &ad->txcache; in admac_alloc_sram_carveout() [all …]
|
/linux/arch/arm/boot/dts/axis/ |
H A D | artpec6.dtsi | 2 * Device Tree Source for the Axis ARTPEC-6 SoC 4 * This file is dual-licensed: you can use it either under the terms 24 * restriction, including without limitation the rights to use, 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43 #include <dt-bindings/interrupt-controller/arm-gic.h> 44 #include <dt-bindings/dma/nbpfaxi.h> 45 #include <dt-bindings/clock/axis,artpec6-clkctrl.h> 48 #address-cells = <1>; 49 #size-cells = <1>; 51 interrupt-parent = <&intc>; [all …]
|
/linux/drivers/usb/musb/ |
H A D | tusb6010_omap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * TUSB6010 USB 2.0 OTG Dual Role controller OMAP DMA interface 13 #include <linux/dma-mapping.h> 20 #define to_chdat(c) ((struct tusb_omap_dma_ch *)(c)->private_data) 34 u8 tx; member 63 u32 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); in tusb_omap_use_shared_dmareq() 66 dev_dbg(chdat->musb->controller, "ep%i dmareq0 is busy for ep%i\n", in tusb_omap_use_shared_dmareq() 67 chdat->epnum, reg & 0xf); in tusb_omap_use_shared_dmareq() 68 return -EAGAIN; in tusb_omap_use_shared_dmareq() 71 if (chdat->tx) in tusb_omap_use_shared_dmareq() [all …]
|