| /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 …]
 
 | 
| H A D | qcom,msm-uartdm.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause3 ---
 4 $id: http://devicetree.org/schemas/serial/qcom,msm-uartdm.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Andy Gross <agross@kernel.org>
 11   - Bjorn Andersson <bjorn.andersson@linaro.org>
 12   - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
 15   The MSM serial UARTDM hardware is designed for high-speed use cases where the
 16   transmit and/or receive channels can be offloaded to a dma-engine. From a
 28       - enum:
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/microchip/ | 
| H A D | sam9x60.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)3  * sam9x60.dtsi - Device Tree Include file for Microchip SAM9X60 SoC
 10 #include <dt-bindings/dma/at91.h>
 11 #include <dt-bindings/pinctrl/at91.h>
 12 #include <dt-bindings/interrupt-controller/irq.h>
 13 #include <dt-bindings/gpio/gpio.h>
 14 #include <dt-bindings/clock/at91.h>
 15 #include <dt-bindings/mfd/at91-usart.h>
 16 #include <dt-bindings/mfd/atmel-flexcom.h>
 19 	#address-cells = <1>;
 [all …]
 
 | 
| H A D | at91-kizbox3_common.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * 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.03  * 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/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 …]
 
 | 
| H A D | rockchip,i2s-tdm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/sound/rockchip,i2s-tdm.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 15   - Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
 18   - $ref: dai-common.yaml#
 23       - rockchip,px30-i2s-tdm
 24       - rockchip,rk1808-i2s-tdm
 25       - rockchip,rk3308-i2s-tdm
 26       - rockchip,rk3568-i2s-tdm
 [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/mailbox/ | 
| H A D | bcm-pdc-mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0-only9  * offload engines. For example, the PDC driver works with both SPU-M and SPU2
 24  * an rx interrupt indicates a response is ready, the PDC driver processes numd
 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))
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/dma/ | 
| H A D | k3dma.txt | 1 * Hisilicon K3 DMA controller3 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 | 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 …]
 
 | 
| /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/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 …]
 
 | 
| H A D | snps,dwc-qos-ethernet.txt | 13 - compatible: One of:14   - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10"
 15     Represents the IP core when integrated into the Axis ARTPEC-6 SoC.
 16   - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10"
 18   - "snps,dwc-qos-ethernet-4.10"
 20     "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10". It is supported to be
 22 - reg: Address and length of the register set for the device
 23 - clocks: Phandle and clock specifiers for each entry in clock-names, in the
 24   same order. See ../clock/clock-bindings.txt.
 25 - clock-names: May contain any/all of the following depending on the IP
 [all …]
 
 | 
| H A D | keystone-netcp.txt | 6 switch sub-module to send and receive packets. NetCP also includes a packet13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates
 16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP
 17 sub-modules exist as a loadable kernel module which plug in to the netcp core.
 18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is
 19 mandatory to have the ethernet switch sub-module for the ethernet interface to
 20 be operational. Any other sub-module like the PA is optional.
 24 -----------------------------
 26 -----------------------------
 28 	|-> NetCP Devices ->	|
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/axis/ | 
| H A D | artpec6.dtsi | 2  * Device Tree Source for the Axis ARTPEC-6 SoC4  * 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/Documentation/devicetree/bindings/soc/ti/ | 
| H A D | keystone-navigator-dma.txt | 1 Keystone Navigator DMA Controller3 This document explains the device tree bindings for the packet dma
 4 on keystone devices. The Keystone Navigator DMA driver sets up the dma
 8 CRYPTO Engines etc has its own instance of dma hardware. QMSS has also
 9 an internal packet DMA module which is used as an infrastructure DMA
 12 Navigator DMA cloud layout:
 13 	------------------
 15 	------------------
 17 		|-> DMA instance #0
 19 		|-> DMA instance #1
 [all …]
 
 | 
| /linux/sound/soc/fsl/ | 
| H A D | fsl_ssi.c | 1 // SPDX-License-Identifier: GPL-2.07 // 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 */
 56 #define RX 0  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/include/net/page_pool/ | 
| H A D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */6 #include <linux/dma-direction.h>
 12 #define PP_FLAG_DMA_MAP		BIT(0) /* Should page_pool do the DMA
 17 					* DMA-synced-for-device according to
 20 					* Please note DMA-sync-for-CPU is still
 37 /* Index limit to stay within PP_DMA_INDEX_BITS for DMA indices */
 38 #define PP_DMA_INDEX_LIMIT XA_LIMIT(1, BIT(PP_DMA_INDEX_BITS) - 1)
 44  * use-case.  The NAPI budget is 64 packets.  After a NAPI poll the RX
 48  * Keeping room for more objects, is due to XDP_DROP use-case.  As
 62  * struct page_pool_params - page pool parameters
 [all …]
 
 | 
| /linux/drivers/usb/musb/ | 
| H A D | cppi_dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */2 /* Copyright (C) 2005-2006 by Texas Instruments */
 16 /* CPPI RX/TX state RAM */
 19 	u32 tx_head;			/* "DMA packet" head descriptor */
 32 	u32 rx_sop;			/* "DMA packet" head descriptor */
 45 #define CPPI_ZERO_SET	((u32)(1 << 23))	/* rx saw zlp; tx issues one */
 46 #define CPPI_RXABT_MASK	((u32)(1 << 19))	/* need more rx buffers */
 55 #define	CPPI_DESCRIPTOR_ALIGN	16	/* bytes; 5-dec docs say 4-byte align */
 65 	dma_addr_t	dma;		/* address of this descriptor */  member
 66 	u32		buflen;		/* for RX: original buffer length */
 [all …]
 
 | 
| /linux/drivers/net/ethernet/intel/ice/ | 
| H A D | ice_txrx.c | 1 // SPDX-License-Identifier: GPL-2.026  * ice_prgm_fdir_fltr - Program a Flow Director filter
 40 	dma_addr_t dma;  in ice_prgm_fdir_fltr()  local
 46 		return -ENOENT;  in ice_prgm_fdir_fltr()
 47 	tx_ring = vsi->tx_rings[0];  in ice_prgm_fdir_fltr()
 48 	if (!tx_ring || !tx_ring->desc)  in ice_prgm_fdir_fltr()
 49 		return -ENOENT;  in ice_prgm_fdir_fltr()
 50 	dev = tx_ring->dev;  in ice_prgm_fdir_fltr()
 53 	for (i = ICE_FDIR_CLEAN_DELAY; ICE_DESC_UNUSED(tx_ring) < 2; i--) {  in ice_prgm_fdir_fltr()
 55 			return -EAGAIN;  in ice_prgm_fdir_fltr()
 [all …]
 
 | 
| /linux/drivers/net/ethernet/synopsys/ | 
| H A D | dwc-xlgmac.h | 5  * This program is dual-licensed; you may select either version 2 of21 #include <linux/dma-mapping.h>
 29 #define XLGMAC_DRV_NAME			"dwc-xlgmac"
 47 #define XLGMAC_TX_MAX_BUF_SIZE	(0x3fff & ~(64 - 1))
 93  *  Always use XLGMAC_GET_DESC_DATA to access the descriptor data
 97 	((_ring)->desc_data_head +					\
 98 	 ((idx) & ((_ring)->dma_desc_count - 1)));			\
 104 	((var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos);		\
 111 	((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos);		\
 119 	_val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos);		\
 [all …]
 
 |