| /kernel/linux/linux-5.10/drivers/dma/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # DMA engine configuration 7 bool "DMA Engine support" 10 DMA engines can do asynchronous data transfers without 14 DMA Device drivers supported by the configured arch, it may 18 bool "DMA Engine debugging" 22 say N here. This enables DMA engine core and driver debugging. 25 bool "DMA Engine verbose debugging" 30 the DMA engine core and drivers. 35 comment "DMA Devices" [all …]
|
| /kernel/linux/linux-6.6/drivers/dma/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # DMA engine configuration 7 bool "DMA Engine support" 10 DMA engines can do asynchronous data transfers without 14 DMA Device drivers supported by the configured arch, it may 18 bool "DMA Engine debugging" 22 say N here. This enables DMA engine core and driver debugging. 25 bool "DMA Engine verbose debugging" 30 the DMA engine core and drivers. 35 comment "DMA Devices" [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
| D | Kbuild | 1 # SPDX-License-Identifier: MIT 2 nvkm-y += nvkm/engine/dma/base.o 3 nvkm-y += nvkm/engine/dma/nv04.o 4 nvkm-y += nvkm/engine/dma/nv50.o 5 nvkm-y += nvkm/engine/dma/gf100.o 6 nvkm-y += nvkm/engine/dma/gf119.o 7 nvkm-y += nvkm/engine/dma/gv100.o 9 nvkm-y += nvkm/engine/dma/user.o 10 nvkm-y += nvkm/engine/dma/usernv04.o 11 nvkm-y += nvkm/engine/dma/usernv50.o [all …]
|
| D | base.c | 27 #include <engine/fifo.h> 36 struct nvkm_dma *dma = nvkm_dma(oclass->engine); in nvkm_dma_oclass_new() local 40 ret = dma->func->class_new(dma, oclass, data, size, &dmaobj); in nvkm_dma_oclass_new() 42 *pobject = &dmaobj->object; in nvkm_dma_oclass_new() 55 return nvkm_dma_oclass_new(oclass->engine->subdev.device, in nvkm_dma_oclass_fifo_new() 73 sclass->base = oclass[0]; in nvkm_dma_oclass_base_get() 74 sclass->engn = oclass; in nvkm_dma_oclass_base_get() 86 oclass->base = nvkm_dma_sclass[index]; in nvkm_dma_oclass_fifo_get() 93 nvkm_dma_dtor(struct nvkm_engine *engine) in nvkm_dma_dtor() argument 95 return nvkm_dma(engine); in nvkm_dma_dtor() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
| D | Kbuild | 1 # SPDX-License-Identifier: MIT 2 nvkm-y += nvkm/engine/dma/base.o 3 nvkm-y += nvkm/engine/dma/nv04.o 4 nvkm-y += nvkm/engine/dma/nv50.o 5 nvkm-y += nvkm/engine/dma/gf100.o 6 nvkm-y += nvkm/engine/dma/gf119.o 7 nvkm-y += nvkm/engine/dma/gv100.o 9 nvkm-y += nvkm/engine/dma/user.o 10 nvkm-y += nvkm/engine/dma/usernv04.o 11 nvkm-y += nvkm/engine/dma/usernv50.o [all …]
|
| D | base.c | 27 #include <engine/fifo.h> 36 struct nvkm_dma *dma = nvkm_dma(oclass->engine); in nvkm_dma_oclass_new() local 40 ret = dma->func->class_new(dma, oclass, data, size, &dmaobj); in nvkm_dma_oclass_new() 42 *pobject = &dmaobj->object; in nvkm_dma_oclass_new() 55 return nvkm_dma_oclass_new(oclass->engine->subdev.device, in nvkm_dma_oclass_fifo_new() 73 sclass->base = oclass[0]; in nvkm_dma_oclass_base_get() 74 sclass->engn = oclass; in nvkm_dma_oclass_base_get() 86 oclass->base = nvkm_dma_sclass[index]; in nvkm_dma_oclass_fifo_get() 93 nvkm_dma_dtor(struct nvkm_engine *engine) in nvkm_dma_dtor() argument 95 return nvkm_dma(engine); in nvkm_dma_dtor() [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/dmaengine/ |
| D | client.rst | 2 DMA Engine API Guide 7 .. note:: For DMA Engine usage in async_tx please see: 8 ``Documentation/crypto/async-tx-api.rst`` 11 Below is a guide to device driver writers on how to use the Slave-DMA API of the 12 DMA Engine. This is applicable only for slave DMA usage only. 14 DMA usage 17 The slave DMA usage consists of following steps: 19 - Allocate a DMA slave channel 21 - Set slave and controller specific parameters 23 - Get a descriptor for transaction [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/dmaengine/ |
| D | client.rst | 2 DMA Engine API Guide 7 .. note:: For DMA Engine usage in async_tx please see: 8 ``Documentation/crypto/async-tx-api.rst`` 11 Below is a guide to device driver writers on how to use the Slave-DMA API of the 12 DMA Engine. This is applicable only for slave DMA usage only. 14 DMA usage 17 The slave DMA usage consists of following steps: 19 - Allocate a DMA slave channel 21 - Set slave and controller specific parameters 23 - Get a descriptor for transaction [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/ |
| D | cesa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Support for Marvell's Cryptographic Engine and Security Accelerator (CESA) 5 * driver supports the TDMA engine on platforms on which it is available. 7 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 15 #include <linux/dma-mapping.h> 38 mv_cesa_dequeue_req_locked(struct mv_cesa_engine *engine, in mv_cesa_dequeue_req_locked() argument 43 *backlog = crypto_get_backlog(&engine->queue); in mv_cesa_dequeue_req_locked() 44 req = crypto_dequeue_request(&engine->queue); in mv_cesa_dequeue_req_locked() 52 static void mv_cesa_rearm_engine(struct mv_cesa_engine *engine) in mv_cesa_rearm_engine() argument 58 spin_lock_bh(&engine->lock); in mv_cesa_rearm_engine() [all …]
|
| D | cesa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <linux/dma-direction.h> 70 * in Errata 4.12. It looks like that it was part of an IRQ-controller in FPGA 124 * /-----------\ 0 126 * |-----------| 0x20 128 * |-----------| 0x40 130 * |-----------| 0x40 (inplace) 132 * |-----------| 0x80 133 * | DATA IN | 16 * x (max ->max_req_size) 134 * |-----------| 0x80 (inplace operation) [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/marvell/cesa/ |
| D | cesa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Support for Marvell's Cryptographic Engine and Security Accelerator (CESA) 5 * driver supports the TDMA engine on platforms on which it is available. 7 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 15 #include <linux/dma-mapping.h> 38 mv_cesa_dequeue_req_locked(struct mv_cesa_engine *engine, in mv_cesa_dequeue_req_locked() argument 43 *backlog = crypto_get_backlog(&engine->queue); in mv_cesa_dequeue_req_locked() 44 req = crypto_dequeue_request(&engine->queue); in mv_cesa_dequeue_req_locked() 52 static void mv_cesa_rearm_engine(struct mv_cesa_engine *engine) in mv_cesa_rearm_engine() argument 58 spin_lock_bh(&engine->lock); in mv_cesa_rearm_engine() [all …]
|
| D | cesa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <linux/dma-direction.h> 70 * in Errata 4.12. It looks like that it was part of an IRQ-controller in FPGA 124 * /-----------\ 0 126 * |-----------| 0x20 128 * |-----------| 0x40 130 * |-----------| 0x40 (inplace) 132 * |-----------| 0x80 133 * | DATA IN | 16 * x (max ->max_req_size) 134 * |-----------| 0x80 (inplace operation) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mips/cavium/ |
| D | dma-engine.txt | 1 * DMA Engine. 3 The Octeon DMA Engine transfers between the Boot Bus and main memory. 4 The DMA Engine will be referred to by phandle by any device that is 8 - compatible: "cavium,octeon-5750-bootbus-dma" 12 - reg: The base address of the DMA Engine's register bank. 14 - interrupts: A single interrupt specifier. 17 dma0: dma-engine@1180000000100 { 18 compatible = "cavium,octeon-5750-bootbus-dma";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mips/cavium/ |
| D | dma-engine.txt | 1 * DMA Engine. 3 The Octeon DMA Engine transfers between the Boot Bus and main memory. 4 The DMA Engine will be referred to by phandle by any device that is 8 - compatible: "cavium,octeon-5750-bootbus-dma" 12 - reg: The base address of the DMA Engine's register bank. 14 - interrupts: A single interrupt specifier. 17 dma0: dma-engine@1180000000100 { 18 compatible = "cavium,octeon-5750-bootbus-dma";
|
| /kernel/linux/linux-6.6/drivers/soc/sunxi/ |
| D | sunxi_mbus.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/dma-map-ops.h> 13 * The display engine virtual devices are not strictly speaking 15 * memory allocations and DMA operations through that device, we 18 "allwinner,sun4i-a10-display-engine", 19 "allwinner,sun5i-a10s-display-engine", 20 "allwinner,sun5i-a13-display-engine", 21 "allwinner,sun6i-a31-display-engine", 22 "allwinner,sun6i-a31s-display-engine", 23 "allwinner,sun7i-a20-display-engine", [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | r600_dma.c | 31 * DMA 33 * DMA engine. The programming model is very similar 34 * to the 3D engine (ring buffer, IBs, etc.), but the 35 * DMA controller has it's own packet format that is 36 * different form the PM4 format used by the 3D engine. 43 * r600_dma_get_rptr - get the current read pointer 55 if (rdev->wb.enabled) in r600_dma_get_rptr() 56 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr() 64 * r600_dma_get_wptr - get the current write pointer 78 * r600_dma_set_wptr - commit the write pointer [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | r600_dma.c | 32 * DMA 34 * DMA engine. The programming model is very similar 35 * to the 3D engine (ring buffer, IBs, etc.), but the 36 * DMA controller has it's own packet format that is 37 * different form the PM4 format used by the 3D engine. 44 * r600_dma_get_rptr - get the current read pointer 56 if (rdev->wb.enabled) in r600_dma_get_rptr() 57 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr() 65 * r600_dma_get_wptr - get the current write pointer 79 * r600_dma_set_wptr - commit the write pointer [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ti/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Texas Instruments DMA drivers 7 tristate "Texas Instruments CPPI 4.1 DMA support" 11 The Communications Port Programming Interface (CPPI) 4.1 DMA engine 22 Enable support for the TI EDMA (Enhanced DMA) controller. This DMA 23 engine is found on TI DaVinci, AM33xx, AM43xx, DRA7xx and Keystone 2 27 tristate "Texas Instruments sDMA (omap-dma) support" 34 Enable support for the TI sDMA (System DMA or DMA4) controller. This 35 DMA engine is found on OMAP and DRA7xx parts. 47 Enable support for the TI UDMA (Unified DMA) controller. This [all …]
|
| /kernel/linux/linux-6.6/drivers/dma/ti/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Texas Instruments DMA drivers 7 tristate "Texas Instruments CPPI 4.1 DMA support" 11 The Communications Port Programming Interface (CPPI) 4.1 DMA engine 22 Enable support for the TI EDMA (Enhanced DMA) controller. This DMA 23 engine is found on TI DaVinci, AM33xx, AM43xx, DRA7xx and Keystone 2 27 tristate "Texas Instruments sDMA (omap-dma) support" 34 Enable support for the TI sDMA (System DMA or DMA4) controller. This 35 DMA engine is found on OMAP and DRA7xx parts. 47 Enable support for the TI UDMA (Unified DMA) controller. This [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
| D | opal-hmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 62 "Hypervisor Resource error - core check stop" }, in print_core_checkstop_reason() 74 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_core_checkstop_reason() 80 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason() 82 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_core_checkstop_reason() 84 printk("%s [Unit: %-3s] %s\n", level, in print_core_checkstop_reason() 94 { NX_CHECKSTOP_SHM_INVAL_STATE_ERR, "DMA & Engine", in print_nx_checkstop_reason() 96 { NX_CHECKSTOP_DMA_INVAL_STATE_ERR_1, "DMA & Engine", in print_nx_checkstop_reason() 97 "DMA invalid state error bit 15" }, in print_nx_checkstop_reason() 98 { NX_CHECKSTOP_DMA_INVAL_STATE_ERR_2, "DMA & Engine", in print_nx_checkstop_reason() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
| D | opal-hmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 62 "Hypervisor Resource error - core check stop" }, in print_core_checkstop_reason() 74 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_core_checkstop_reason() 80 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason() 82 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_core_checkstop_reason() 84 printk("%s [Unit: %-3s] %s\n", level, in print_core_checkstop_reason() 94 { NX_CHECKSTOP_SHM_INVAL_STATE_ERR, "DMA & Engine", in print_nx_checkstop_reason() 96 { NX_CHECKSTOP_DMA_INVAL_STATE_ERR_1, "DMA & Engine", in print_nx_checkstop_reason() 97 "DMA invalid state error bit 15" }, in print_nx_checkstop_reason() 98 { NX_CHECKSTOP_DMA_INVAL_STATE_ERR_2, "DMA & Engine", in print_nx_checkstop_reason() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/via/ |
| D | via_dmablit.c | 1 /* via_dmablit.c -- PCI DMA BitBlt support for the VIA Unichrome/Pro 18 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 31 * Unmaps the DMA mappings. 34 * the same DMA mappings? 61 * Unmap a DMA mapping. 69 int num_desc = vsg->num_desc; in via_unmap_blit_from_device() 70 unsigned cur_descriptor_page = num_desc / vsg->descriptors_per_page; in via_unmap_blit_from_device() 71 unsigned descriptor_this_page = num_desc % vsg->descriptors_per_page; in via_unmap_blit_from_device() 72 drm_via_descriptor_t *desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device() 74 dma_addr_t next = vsg->chain_start; in via_unmap_blit_from_device() [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/qcom/ |
| D | qcom-geni-se.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. 10 #include <linux/dma-mapping.h> 17 #include <linux/soc/qcom/geni-se.h> 22 * Generic Interface (GENI) Serial Engine (SE) Wrapper driver is introduced 31 * GENI based QUP is a highly-flexible and programmable module for supporting 36 * determined by the firmware loaded to the serial engine. Each SE consists 37 * of a DMA Engine and GENI sub modules which enable serial engines to 38 * support FIFO and DMA modes of operation. 41 * +-----------------------------------------+ [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/sh/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # DMA engine configuration for sh 11 # DMA Engine Helpers 15 bool "Renesas SuperH DMA Engine support" 22 Enable support for the Renesas SuperH DMA controllers. 25 # DMA Controllers 32 Enable support for the Renesas SuperH DMA controllers. 35 tristate "Renesas R-Car Gen{2,3} and RZ/G{1,2} DMA Controller" 39 This driver supports the general purpose DMA controller found in the 40 Renesas R-Car Gen{2,3} and RZ/G{1,2} SoCs. [all …]
|
| /kernel/linux/linux-6.6/drivers/dma/sh/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # DMA engine configuration for sh 11 # DMA Engine Helpers 15 bool "Renesas SuperH DMA Engine support" 22 Enable support for the Renesas SuperH DMA controllers. 25 # DMA Controllers 32 Enable support for the Renesas SuperH DMA controllers. 35 tristate "Renesas R-Car Gen{2,3} and RZ/G{1,2} DMA Controller" 39 This driver supports the general purpose DMA controller found in the 40 Renesas R-Car Gen{2,3} and RZ/G{1,2} SoCs. [all …]
|