/linux/Documentation/devicetree/bindings/dma/ |
H A D | dma-router.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/dma/dma-router.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DMA Router Common Properties 10 - Vinod Koul <vkoul@kernel.org> 13 - $ref: dma-common.yaml# 16 DMA routers are transparent IP blocks used to route DMA request 17 lines from devices to the DMA controller. Some SoCs (like TI DRA7x) 18 have more peripherals integrated with DMA requests than what the DMA [all …]
|
H A D | nxp,lpc3220-dmamux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/nxp,lpc3220-dmamux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DMA multiplexer for LPC32XX SoC (DMA request router) 10 - J.M.B. Downing <jonathan.downing@nautel.com> 11 - Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com> 14 - $ref: dma-router.yaml# 18 const: nxp,lpc3220-dmamux 23 dma-masters: [all …]
|
H A D | sophgo,cv1800b-dmamux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sophgo CV1800/SG200 Series DMA multiplexer 10 - Inochi Amaoto <inochiama@gmail.com> 13 The DMA multiplexer of CV1800 is a subdevice of the system 18 - $ref: dma-router.yaml# 22 const: sophgo,cv1800b-dmamux 26 - description: DMA channal remapping register [all …]
|
H A D | renesas,rzn1-dmamux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/renesas,rzn1-dmamux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas RZ/N1 DMA mux 10 - Miquel Raynal <miquel.raynal@bootlin.com> 13 - $ref: dma-router.yaml# 17 const: renesas,rzn1-dmamux 21 description: DMA mux first register offset within the system control parent. 23 '#dma-cells': [all …]
|
H A D | ti-dma-crossbar.txt | 1 Texas Instruments DMA Crossbar (DMA request router) 4 - compatible: "ti,dra7-dma-crossbar" for DRA7xx DMA crossbar 5 "ti,am335x-edma-crossbar" for AM335x and AM437x 6 - reg: Memory map for accessing module 7 - #dma-cells: Should be set to match with the DMA controller's dma-cells 8 for ti,dra7-dma-crossbar and <3> for ti,am335x-edma-crossbar. 9 - dma-requests: Number of DMA requests the crossbar can receive 10 - dma-masters: phandle pointing to the DMA controller 12 The DMA controller node need to have the following poroperties: 13 - dma-requests: Number of DMA requests the controller can handle [all …]
|
/linux/drivers/dma/ |
H A D | of-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device tree helpers for DMA request / controller 7 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 24 * of_dma_find_controller - Get a DMA controller in DT DMA helpers list 25 * @dma_spec: pointer to DMA specifier as found in the device tree 27 * Finds a DMA controller with matching device node and number for dma cells 28 * in a list of registered DMA controllers. If a match is found a valid pointer 29 * to the DMA data stored is returned. A NULL pointer is returned if no match is 37 if (ofdma->of_node == dma_spec->np) in of_dma_find_controller() 40 pr_debug("%s: can't find DMA controller %pOF\n", __func__, in of_dma_find_controller() [all …]
|
H A D | dmaengine.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved. 7 * This code implements the DMA subsystem. It provides a HW-neutral interface 9 * if present, and allows different HW DMA drivers to register as providing 29 * See Documentation/driver-api/dmaengine for more details 35 #include <linux/dma-mapping.h> 65 /* --- debugfs implementation --- */ 73 dma_dev->dbg_dev_root = debugfs_create_dir(dev_name(dma_dev->dev), in dmaengine_debug_register() 75 if (IS_ERR(dma_dev->dbg_dev_root)) in dmaengine_debug_register() 76 dma_dev->dbg_dev_root = NULL; in dmaengine_debug_register() [all …]
|
H A D | lpc18xx-dmamux.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * DMA Router driver for LPC18xx/43xx DMA MUX 7 * Based on TI DMA Crossbar driver by: 8 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com 48 spin_lock_irqsave(&dmamux->lock, flags); in lpc18xx_dmamux_free() 49 mux->busy = false; in lpc18xx_dmamux_free() 50 spin_unlock_irqrestore(&dmamux->lock, flags); in lpc18xx_dmamux_free() 56 struct platform_device *pdev = of_find_device_by_node(ofdma->of_node); in lpc18xx_dmamux_reserve() 61 if (dma_spec->args_count != 3) { in lpc18xx_dmamux_reserve() 62 dev_err(&pdev->dev, "invalid number of dma mux args\n"); in lpc18xx_dmamux_reserve() [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 15 * Use separate card based DMA buffer for periods table list. 50 * Implement support for Line-in capture on SB Live 24bit. 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ 88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */ 93 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 94 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ [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/drivers/dma/stm32/ |
H A D | stm32-dmamux.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Pierre-Yves Mordret <pierre-yves.mordret@st.com> 8 * DMA Router driver for STM32 DMA MUX 10 * Based on TI DMA Crossbar driver 41 u32 dma_requests; /* Number of DMA requests connected to DMAMUX */ 42 u32 dmamux_requests; /* Number of DMA requests routed toward DMAs */ 44 DECLARE_BITMAP(dma_inuse, STM32_DMAMUX_MAX_DMA_REQUESTS); /* Used DMA channel */ 48 u32 dma_reqs[]; /* Number of DMA Request per DMA masters. 49 * [0] holds number of DMA Masters. 70 /* Clear dma request */ in stm32_dmamux_free() [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | renesas,r9a06g032-sysctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/renesas,r9a06g032-sysctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Fabrizio Castro <fabrizio.castro.jz@renesas.com> 11 - Geert Uytterhoeven <geert+renesas@glider.be> 15 const: renesas,r9a06g032-sysctrl 23 - description: External 40 MHz crystal 24 - description: Optional external 32.768 kHz crystal 25 - description: Optional external JTAG input [all …]
|
/linux/Documentation/networking/device_drivers/fddi/ |
H A D | skfp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 SysKonnect driver - SKFP 9 |copy| Copyright 1998-2000 SysKonnect, 11 skfp.txt created 11-May-2000 53 - SK-5521 (SK-NET FDDI-UP) 54 - SK-5522 (SK-NET FDDI-UP DAS) 55 - SK-5541 (SK-NET FDDI-FP) 56 - SK-5543 (SK-NET FDDI-LP) 57 - SK-5544 (SK-NET FDDI-LP DAS) 58 - SK-5821 (SK-NET FDDI-UP64) [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra-audio-graph-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-graph-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Jon Hunter <jonathanh@nvidia.com> 16 - Sameer Pujar <spujar@nvidia.com> 19 - $ref: audio-graph.yaml# 24 - nvidia,tegra210-audio-graph-card 25 - nvidia,tegra186-audio-graph-card 26 - nvidia,tegra264-audio-graph-card [all …]
|
/linux/drivers/net/ipa/ |
H A D | ipa_table.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 10 #include <linux/dma-mapping.h> 27 * The IPA has tables defined in its local (IPA-resident) memory that define 29 * endian 64-bit "slot" that holds the address of a rule definition. (The 30 * size of these slots is 64 bits regardless of the host DMA address size.) 38 * an object (such as a route or filter table) in IPA-resident memory must 39 * 128-byte aligned. An object in system memory (such as a route or filter 40 * rule) must be at an 8-byte aligned address. We currently only place [all …]
|
/linux/arch/arm/boot/dts/renesas/ |
H A D | r9a06g032.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r9a06g032-sysctrl.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 23 compatible = "arm,cortex-a7"; 30 compatible = "arm,cortex-a7"; 33 enable-method = "renesas,r9a06g032-smp"; [all …]
|
/linux/Documentation/arch/arm/stm32/ |
H A D | stm32-dma-mdma-chaining.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 STM32 DMA-MDMA chaining 9 ------------ 11 This document describes the STM32 DMA-MDMA chaining feature. But before going 15 direct memory access controllers (DMA). 17 STM32MP1 SoCs embed both STM32 DMA and STM32 MDMA controllers. STM32 DMA 18 request routing capabilities are enhanced by a DMA request multiplexer 23 STM32 DMAMUX routes any DMA request from a given peripheral to any STM32 DMA 24 controller (STM32MP1 counts two STM32 DMA controllers) channels. 26 **STM32 DMA** [all …]
|
/linux/Documentation/admin-guide/ |
H A D | thunderbolt.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 manager is an entity running on the host router (host controller) 22 is expected to be accompanied with an IOMMU based DMA protection. 25 ----------------------------------- 27 should be a userspace tool that handles all the low-level details, keeps 31 found in Documentation/ABI/testing/sysfs-bus-thunderbolt. 35 ``/etc/udev/rules.d/99-local.rules``:: 41 vulnerable to DMA attacks. 46 be DMA masters and thus read contents of the host memory without CPU and OS 102 ----------------------------------------------------------------- [all …]
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <asm/pci-bridge.h> 17 #include <asm/ppc-pci.h> 25 __be16 rid; /* Input: Virtual Function Router ID */ 39 return -EINVAL; in pseries_send_map_pe() 42 addr = rtas_config_addr(pdn->busno, pdn->devfn, 0); in pseries_send_map_pe() 43 buid = pdn->phb->buid; in pseries_send_map_pe() 55 dev_err(&pdev->dev, in pseries_send_map_pe() 67 pdn->pe_num_map[vf_index] = be16_to_cpu(pe_num); in pseries_set_pe_num() 68 dev_dbg(&pdev->dev, "VF %04x:%02x:%02x.%x associated with PE#%x\n", in pseries_set_pe_num() [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stm32h743.dtsi | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 43 #include "../armv7-m.dtsi" 44 #include <dt-bindings/clock/stm32h7-clks.h> 45 #include <dt-bindings/mfd/stm32h7-rcc.h> 46 #include <dt-bindings/interrupt-controller/irq.h> 49 #address-cells = <1>; 50 #size-cells = <1>; 53 clk_hse: clk-hse { 54 #clock-cells = <0>; [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_display.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 52 * amdgpu_display_hotplug_work_func - work handler for display hotplug event 72 struct drm_mode_config *mode_config = &dev->mode_config; in amdgpu_display_hotplug_work_func() 76 mutex_lock(&mode_config->mutex); in amdgpu_display_hotplug_work_func() 81 mutex_unlock(&mode_config->mutex); in amdgpu_display_hotplug_work_func() 98 schedule_work(&work->flip_work.work); in amdgpu_display_flip_callback() 111 if (!dma_fence_add_callback(fence, &work->cb, in amdgpu_display_flip_handle_fence() 125 struct amdgpu_device *adev = work->adev; in amdgpu_display_flip_work_func() 126 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[work->crtc_id]; in amdgpu_display_flip_work_func() 128 struct drm_crtc *crtc = &amdgpu_crtc->base; in amdgpu_display_flip_work_func() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/cirrus/ |
H A D | cs89x0.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 2.1 CS8900-based Adapter Configuration 34 2.2 CS8920-based Adapter Configuration 41 4.3 Compiling the driver to support Rx DMA 46 5.2.1 Diagnostic Self-Test 66 The CS8900-based ISA Ethernet Adapters from Cirrus Logic follow 67 IEEE 802.3 standards and support half or full-duplex operation in ISA bus 69 in 16-bit ISA or EISA bus expansion slots and are available in 70 10BaseT-only or 3-media configurations (10BaseT, 10Base2, and AUI for 10Base-5 73 CS8920-based adapters are similar to the CS8900-based adapter with additional [all …]
|
/linux/include/uapi/linux/ |
H A D | if_link.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 43 * struct rtnl_link_stats64 - The main device statistics structure. 93 * - 30.3.1.1.21 aMulticastFramesReceivedOK 103 * - 30.3.1.1.23 aInRangeLengthErrors 104 * - 30.3.1.1.24 aOutOfRangeLengthField 105 * - 30. 274 __u8 dma; global() member [all...] |
/linux/drivers/bcma/ |
H A D | scan.c | 15 #include <linux/dma-mapping.h> 31 { BCMA_CORE_OOB_ROUTER, "OOB Router" }, 36 { BCMA_CORE_NS_DMA, "DMA" }, 78 { BCMA_CORE_SATA_XORDMA, "SATA XOR-DMA" }, 119 switch (id->manuf) { in bcma_device_name() 137 if (names[i].id == id->id) in bcma_device_name() 146 return readl(bus->mmio + offset); in bcma_scan_read32() 151 if (bus->hosttype == BCMA_HOSTTYPE_PCI) in bcma_scan_switch_core() 152 pci_write_config_dword(bus->host_pci, BCMA_PCI_BAR0_WIN, in bcma_scan_switch_core() 165 (*eromptr)--; in bcma_erom_push_ent() [all …]
|
/linux/include/linux/ssb/ |
H A D | ssb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <linux/dma-mapping.h> 70 u8 itssi_a; /* Idle TSSI Target for A-PHY */ 71 u8 itssi_bg; /* Idle TSSI Target for B/G-PHY */ 77 u8 txpid5gl[4]; /* 4.9 - 5.1GHz TX power index */ 78 u8 txpid5g[4]; /* 5.1 - 5.5GHz TX power index */ 79 u8 txpid5gh[4]; /* 5.5 - ...GHz TX power index */ 99 u16 boardflags_lo; /* Board flags (bits 0-15) */ 100 u16 boardflags_hi; /* Board flags (bits 16-31) */ 101 u16 boardflags2_lo; /* Board flags (bits 32-47) */ [all …]
|