| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/reserved-memory/ |
| D | shared-dma-pool.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/shared-dma-pool.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: /reserved-memory DMA pool 10 - devicetree-spec@vger.kernel.org 13 - $ref: reserved-memory.yaml 18 - const: shared-dma-pool 21 pool of DMA buffers for a set of devices. It can be used by an 22 operating system to instantiate the necessary pool management [all …]
|
| /kernel/linux/linux-6.6/drivers/of/ |
| D | device.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/dma-direct.h> /* for bus_dma_region */ 9 #include <linux/dma-map-ops.h> 19 * of_match_device - Tell if a struct device matches an of_device_id list 29 if (!matches || !dev->of_node || dev->of_node_reused) in of_match_device() 31 return of_match_node(matches, dev->of_node); in of_match_device() 38 struct device_node *node, *of_node = dev->of_node; in of_dma_set_restricted_buffer() 44 count = of_property_count_elems_of_size(of_node, "memory-region", in of_dma_set_restricted_buffer() 47 * If dev->of_node doesn't exist or doesn't contain memory-region, try in of_dma_set_restricted_buffer() 48 * the OF node having DMA configuration. in of_dma_set_restricted_buffer() [all …]
|
| /kernel/linux/linux-6.6/kernel/dma/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 83 # Select this option if the architecture assumes DMA devices are coherent 94 bool "Dynamic allocation of DMA bounce buffers" 99 starts with one memory pool at boot and it will allocate additional 100 pools as needed. To reduce run-time kernel memory requirements, you 101 may have to specify a smaller size of the initial pool using 111 bool "DMA Restricted Pool" 114 This enables support for restricted DMA pools which provide a level of 115 DMA memory protection on systems with limited hardware protection 119 <Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt> [all …]
|
| D | swiotlb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Dynamic DMA mapping support. 6 * I/O TLBs (aka DMA address translation hardware). 9 * Copyright (C) 2000, 2003 Hewlett-Packard Co 10 * David Mosberger-Tang <davidm@hpl.hp.com> 12 * 03/05/07 davidm Switch from PCI-DMA to generic device DMA API. 14 * unnecessary i-cache flushing. 27 #include <linux/dma-direct.h> 28 #include <linux/dma-map-ops.h> 33 #include <linux/iommu-helper.h> [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
| D | ttm_page_alloc_dma.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 27 * A simple DMA pool losely based on dmapool.c. It has certain advantages 28 * over the DMA pools: 29 * - Pool collects resently freed pages for reuse (and hooks up to 31 * - Tracks currently in use pages 32 * - Tracks whether the page is UC, WB or cached (and reverts to WB 38 #include <linux/dma-mapping.h> 70 * The pool structure. There are up to nine pools: 71 * - generic (not restricted to DMA32): 72 * - write combined, uncached, cached. [all …]
|
| /kernel/linux/linux-5.10/Documentation/core-api/ |
| D | dma-api-howto.rst | 2 Dynamic DMA mapping Guide 9 This is a guide to device driver writers on how to use the DMA API 10 with example pseudo-code. For a concise description of the API, see 11 DMA-API.txt. 13 CPU and DMA addresses 16 There are several kinds of addresses involved in the DMA API, and it's 31 registers at an MMIO address, or if it performs DMA to read or write system 37 From a device's point of view, DMA uses the bus address space, but it may 38 be restricted to a subset of that space. For example, even if a system 39 supports 64-bit addresses for main memory and PCI BARs, it may use an IOMMU [all …]
|
| /kernel/linux/linux-6.6/Documentation/core-api/ |
| D | dma-api-howto.rst | 2 Dynamic DMA mapping Guide 9 This is a guide to device driver writers on how to use the DMA API 10 with example pseudo-code. For a concise description of the API, see 11 DMA-API.txt. 13 CPU and DMA addresses 16 There are several kinds of addresses involved in the DMA API, and it's 31 registers at an MMIO address, or if it performs DMA to read or write system 37 From a device's point of view, DMA uses the bus address space, but it may 38 be restricted to a subset of that space. For example, even if a system 39 supports 64-bit addresses for main memory and PCI BARs, it may use an IOMMU [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/sysctl/ |
| D | vm.rst | 13 ------------------------------------------------------------------------------ 27 - admin_reserve_kbytes 28 - compact_memory 29 - compaction_proactiveness 30 - compact_unevictable_allowed 31 - dirty_background_bytes 32 - dirty_background_ratio 33 - dirty_bytes 34 - dirty_expire_centisecs 35 - dirty_ratio [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/ |
| D | vm.rst | 13 ------------------------------------------------------------------------------ 27 - admin_reserve_kbytes 28 - compact_memory 29 - compaction_proactiveness 30 - compact_unevictable_allowed 31 - dirty_background_bytes 32 - dirty_background_ratio 33 - dirty_bytes 34 - dirty_expire_centisecs 35 - dirty_ratio [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/ |
| D | vxge-traffic.h | 10 * vxge-traffic.h: Driver for Exar Corp's X3100 Series 10GbE PCIe I/O 12 * Copyright(c) 2002-2010 Exar Corp. 17 #include "vxge-reg.h" 18 #include "vxge-version.h" 72 * enum vxge_hw_event- Enumerates slow-path HW events. 83 * @VXGE_HW_EVENT_SLOT_FREEZE: Slot-freeze event. Driver tries to distinguish 84 * slot-freeze from the rest critical events (e.g. ECC) when it is 85 * impossible to PIO read "through" the bus, i.e. when getting all-foxes. 87 * enum vxge_hw_event enumerates slow-path HW eventis. 114 * struct vxge_hw_mempool_dma - Represents DMA objects passed to the [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt8192-asurada.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/spmi/spmi.h> 25 stdout-path = "serial0:115200n8"; 33 backlight_lcd0: backlight-lcd0 { 34 compatible = "pwm-backlight"; 36 power-supply = <&ppvar_sys>; 37 enable-gpios = <&pio 152 0>; 38 brightness-levels = <0 1023>; [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
| D | gr_udc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 * - Andreas Larsson <andreas@gaisler.com> 15 * - Marko Isomaki 21 * only supports cores in DMA mode. 35 #include <linux/dma-mapping.h> 65 /* ---------------------------------------------------------------------- */ 94 int buflen = ep->is_in ? req->req.length : req->req.actual; in gr_dbgprint_request() 98 dev_dbg(ep->dev->dev, "%s: 0x%p, %d bytes data%s:\n", str, req, buflen, in gr_dbgprint_request() 101 rowlen, 4, req->req.buf, plen, false); in gr_dbgprint_request() 107 dev_vdbg(dev->dev, "REQ: %02x.%02x v%04x i%04x l%04x\n", in gr_dbgprint_devreq() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
| D | gr_udc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 * - Andreas Larsson <andreas@gaisler.com> 15 * - Marko Isomaki 21 * only supports cores in DMA mode. 36 #include <linux/dma-mapping.h> 64 /* ---------------------------------------------------------------------- */ 93 int buflen = ep->is_in ? req->req.length : req->req.actual; in gr_dbgprint_request() 97 dev_dbg(ep->dev->dev, "%s: 0x%p, %d bytes data%s:\n", str, req, buflen, in gr_dbgprint_request() 100 rowlen, 4, req->req.buf, plen, false); in gr_dbgprint_request() 106 dev_vdbg(dev->dev, "REQ: %02x.%02x v%04x i%04x l%04x\n", in gr_dbgprint_devreq() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
| D | i915_gem_execbuffer.c | 2 * SPDX-License-Identifier: MIT 7 #include <linux/intel-iommu.h> 8 #include <linux/dma-resv.h> 124 * 1. Validation - Ensure all the pointers, handles and flags are valid. 125 * 2. Reservation - Assign GPU address space for every object 126 * 3. Relocation - Update any addresses to point to the final locations 127 * 4. Serialisation - Order the request with respect to its dependencies 128 * 5. Construction - Construct a request to execute the batchbuffer 156 * object already bound in its current location - so as long as meets the 184 * we do leave the objects pinned in their final locations - which is a [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
| D | i915_gem_ttm.c | 1 // SPDX-License-Identifier: MIT 31 * Size of struct ttm_place vector in on-stack struct ttm_placement allocs 36 * struct i915_ttm_tt - TTM page vector with additional private information 38 * @dev: The struct device used for dma mapping and unmapping. 39 * @cached_rsgt: The cached scatter-gather table. 43 * Note that DMA may be going on right up to the point where the page- 45 * scatter-gather table mapped and cached up to that point. This is 46 * different from the cached gem object io scatter-gather table which 47 * doesn't have an associated dma mapping. 73 * i915_ttm_sys_placement - Return the struct ttm_placement to be [all …]
|
| D | i915_gem_execbuffer.c | 2 * SPDX-License-Identifier: MIT 7 #include <linux/dma-resv.h> 134 * 1. Validation - Ensure all the pointers, handles and flags are valid. 135 * 2. Reservation - Assign GPU address space for every object 136 * 3. Relocation - Update any addresses to point to the final locations 137 * 4. Serialisation - Order the request with respect to its dependencies 138 * 5. Construction - Construct a request to execute the batchbuffer 166 * object already bound in its current location - so as long as meets the 194 * we do leave the objects pinned in their final locations - which is a 214 * time (completing any reads beforehand) - using semaphores where available [all …]
|
| /kernel/linux/linux-5.10/drivers/nvme/host/ |
| D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2011-2014, Intel Corporation. 11 #include <linux/blk-mq.h> 12 #include <linux/blk-mq-pci.h> 23 #include <linux/t10-pi.h> 25 #include <linux/io-64-nonatomic-lo-hi.h> 26 #include <linux/io-64-nonatomic-hi-lo.h> 27 #include <linux/sed-opal.h> 28 #include <linux/pci-p2pdma.h> 33 #define SQ_SIZE(q) ((q)->q_depth << (q)->sqes) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en.h | 2 * Copyright (c) 2015-2016, Mellanox Technologies. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 72 #define MLX5E_HW2SW_MTU(params, hwmtu) ((hwmtu) - ((params)->hard_mtu)) 73 #define MLX5E_SW2HW_MTU(params, swmtu) ((swmtu) + ((params)->hard_mtu)) 97 * These are theoretical maximums, which can be further restricted by 100 * MLX5_SEND_WQE_MAX_SIZE is a bit bigger than the maximum cacheline-aligned WQE 105 (ALIGN_DOWN(MLX5_SEND_WQE_MAX_SIZE - sizeof(struct mlx5e_umr_wqe), \ 112 #define MLX5E_MAX_RQ_NUM_KSMS (U16_MAX - 1) /* So that num_ksms fits into u16. */ 158 (((wqe_size) - sizeof(struct mlx5e_umr_wqe)) / sizeof(struct mlx5_klm)) [all …]
|
| /kernel/linux/linux-6.6/drivers/nvme/host/ |
| D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2011-2014, Intel Corporation. 10 #include <linux/blk-mq.h> 11 #include <linux/blk-mq-pci.h> 12 #include <linux/blk-integrity.h> 25 #include <linux/t10-pi.h> 27 #include <linux/io-64-nonatomic-lo-hi.h> 28 #include <linux/io-64-nonatomic-hi-lo.h> 29 #include <linux/sed-opal.h> 30 #include <linux/pci-p2pdma.h> [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/ |
| D | kernel-parameters.txt | 5 force -- enable ACPI if default was off 6 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 7 off -- disable ACPI if default was on 8 noirq -- do not use ACPI for IRQ routing 9 strict -- Be less tolerant of platforms that are not 11 rsdt -- prefer RSDT over (default) XSDT 12 copy_dsdt -- copy DSDT to memory 26 If set to vendor, prefer vendor-specific driver 58 Documentation/firmware-guide/acpi/debug.rst for more information about 116 Format: <byte> or <bitmap-list> [all …]
|
| /kernel/linux/linux-5.10/drivers/remoteproc/ |
| D | ti_k3_r5_remoteproc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2017-2020 Texas Instruments Incorporated - https://www.ti.com/ 6 * Suman Anna <s-anna@ti.com> 9 #include <linux/dma-mapping.h> 18 #include <linux/omap-mailbox.h> 32 /* R5 TI-SCI Processor Configuration Flags */ 42 /* R5 TI-SCI Processor Control Flags */ 45 /* R5 TI-SCI Processor Status Flags */ 52 * struct k3_r5_mem - internal memory structure 71 * struct k3_r5_cluster - K3 R5F Cluster structure [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/ |
| D | ipw2200.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. 6 802.11 status code portion of this file from ethereal-0.10.6: 8 Ethereal - Network traffic analyzer 15 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 21 #include <net/cfg80211-wext.h> 64 #define DRV_COPYRIGHT "Copyright(c) 2003-2006 Intel Corporation" 73 MODULE_FIRMWARE("ipw2200-ibss.fw"); 75 MODULE_FIRMWARE("ipw2200-sniffer.fw"); 77 MODULE_FIRMWARE("ipw2200-bss.fw"); [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/ipw2x00/ |
| D | ipw2200.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. 6 802.11 status code portion of this file from ethereal-0.10.6: 8 Ethereal - Network traffic analyzer 15 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 21 #include <net/cfg80211-wext.h> 64 #define DRV_COPYRIGHT "Copyright(c) 2003-2006 Intel Corporation" 73 MODULE_FIRMWARE("ipw2200-ibss.fw"); 75 MODULE_FIRMWARE("ipw2200-sniffer.fw"); 77 MODULE_FIRMWARE("ipw2200-bss.fw"); [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | kernel-parameters.txt | 5 force -- enable ACPI if default was off 6 on -- enable ACPI but allow fallback to DT [arm64] 7 off -- disable ACPI if default was on 8 noirq -- do not use ACPI for IRQ routing 9 strict -- Be less tolerant of platforms that are not 11 rsdt -- prefer RSDT over (default) XSDT 12 copy_dsdt -- copy DSDT to memory 26 If set to vendor, prefer vendor-specific driver 58 Documentation/firmware-guide/acpi/debug.rst for more information about 121 Disable auto-serialization of AML methods [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
| D | 0036_linux_drivers_staging.patch | 7 Change-Id: Ibe08cc261b06fe7f07187b5214df34e7cfed2515 9 diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig 11 --- a/drivers/staging/Kconfig 13 @@ -90,6 +90,8 @@ source "drivers/staging/greybus/Kconfig" 21 source "drivers/staging/mt7621-pci/Kconfig" 22 @@ -118,6 +120,8 @@ source "drivers/staging/wfx/Kconfig" 31 diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile 33 --- a/drivers/staging/Makefile 35 @@ -21,7 +21,7 @@ obj-$(CONFIG_IIO) += iio/ 36 obj-$(CONFIG_FB_SM750) += sm750fb/ [all …]
|