Home
last modified time | relevance | path

Searched +full:restricted +full:- +full:dma +full:- +full:pool (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/Documentation/devicetree/bindings/reserved-memory/
H A Dshared-dma-pool.yaml1 # 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 …]
/openbmc/linux/drivers/of/
H A Ddevice.c1 // 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 …]
/openbmc/linux/kernel/dma/
H A DKconfig1 # 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 …]
H A Dswiotlb.c1 // 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 …]
/openbmc/linux/Documentation/core-api/
H A Ddma-api-howto.rst2 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 …]
/openbmc/linux/Documentation/admin-guide/sysctl/
H A Dvm.rst13 ------------------------------------------------------------------------------
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 …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8192-asurada.dtsi1 // 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 …]
/openbmc/linux/drivers/usb/gadget/udc/
H A Dgr_udc.c1 // 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 …]
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.c1 // 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 …]
H A Di915_gem_execbuffer.c2 * 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 …]
/openbmc/u-boot/drivers/usb/host/
H A Dxhci-mem.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Based on xHCI host controller driver in linux-kernel
38 flush_dcache_range(addr & ~(CACHELINE_SIZE - 1), in xhci_flush_cache()
53 invalidate_dcache_range(addr & ~(CACHELINE_SIZE - 1), in xhci_inval_cache()
66 free(seg->trbs); in xhci_segment_free()
67 seg->trbs = NULL; in xhci_segment_free()
85 first_seg = ring->first_seg; in xhci_ring_free()
86 seg = first_seg->next; in xhci_ring_free()
88 struct xhci_segment *next = seg->next; in xhci_ring_free()
105 if (!ctrl->scratchpad) in xhci_scratchpad_free()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h2 * 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))
99 * These are theoretical maximums, which can be further restricted by
102 * MLX5_SEND_WQE_MAX_SIZE is a bit bigger than the maximum cacheline-aligned WQE
107 (ALIGN_DOWN(MLX5_SEND_WQE_MAX_SIZE - sizeof(struct mlx5e_umr_wqe), \
114 #define MLX5E_MAX_RQ_NUM_KSMS (U16_MAX - 1) /* So that num_ksms fits into u16. */
160 (((wqe_size) - sizeof(struct mlx5e_umr_wqe)) / sizeof(struct mlx5_klm))
[all …]
/openbmc/linux/drivers/nvme/host/
H A Dpci.c1 // 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 …]
/openbmc/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt5 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 …]
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.c1 // 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 …]
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2003 - 2009 NetXen, Inc.
4 * Copyright (C) 2009 - QLogic Corporation.
15 #include <linux/dma-mapping.h>
33 /* Default to restricted 1G auto-neg mode */
105 NXWRIO(adapter, tx_ring->crb_cmd_producer, tx_ring->producer); in netxen_nic_update_cmd_producer()
117 NXWRIO(adapter, tx_ring->crb_cmd_consumer, tx_ring->sw_consumer); in netxen_nic_update_cmd_consumer()
131 struct netxen_adapter *adapter = sds_ring->adapter; in netxen_nic_disable_int()
133 NXWRIO(adapter, sds_ring->crb_intr_mask, 0); in netxen_nic_disable_int()
138 struct netxen_adapter *adapter = sds_ring->adapter; in netxen_nic_enable_int()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcommon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
19 #include <linux/dma-mapping.h>
39 return -ETIMEDOUT; in _il_poll_bit()
48 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_set_bit()
50 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_set_bit()
59 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_clear_bit()
61 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_clear_bit()
79 * to/from host DRAM when sleeping/waking for power-saving. in _il_grab_nic_access()
[all …]
/openbmc/linux/drivers/remoteproc/
H A Dti_k3_r5_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2017-2022 Texas Instruments Incorporated - https://www.ti.com/
6 * Suman Anna <s-anna@ti.com>
9 #include <linux/dma-mapping.h>
19 #include <linux/omap-mailbox.h>
33 /* R5 TI-SCI Processor Configuration Flags */
47 /* R5 TI-SCI Processor Control Flags */
50 /* R5 TI-SCI Processor Status Flags */
59 * struct k3_r5_mem - internal memory structure
77 * Single-CPU mode : AM64x SoCs only
[all …]
/openbmc/linux/Documentation/sound/kernel-api/
H A Dwriting-an-alsa-driver.rst11 Architecture) <http://www.alsa-project.org/>`__ driver. The document
19 low-level driver implementation details. It only describes the standard
26 -------
56 --------------
60 sub-directories contain different modules and are dependent upon the
74 This directory and its sub-directories are for the ALSA sequencer. This
76 as snd-seq-midi, snd-seq-virmidi, etc. They are compiled only when
85 -----------------
88 to be exported to user-space, or included by several files in different
94 -----------------
[all …]
/openbmc/linux/arch/x86/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 bool "64-bit kernel" if "$(ARCH)" = "x86"
7 Say yes to build a 64-bit kernel - formerly known as x86_64
8 Say no to build a 32-bit kernel - formerly known as i386
13 # Options that are inherently 32-bit kernel only:
27 # Options that are inherently 64-bit kernel only:
54 # ported to 32-bit as well. )
141 # Word-size accesses may read uninitialized data past the trailing \0
315 default "elf32-i386" if X86_32
316 default "elf64-x86-64" if X86_64
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dmcdi_pcol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2009-2018 Solarflare Communications Inc.
5 * Copyright 2019-2020 Xilinx Inc.
13 /* Power-on reset state */
35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */
38 /* The rest of these are firmware-defined */
46 /* Values to be written to the per-port status dword in shared
71 * | | \--- Response
72 * | \------- Error
73 * \------------------------------ Resync (always set)
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi_pcol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2009-2018 Solarflare Communications Inc.
5 * Copyright 2019-2020 Xilinx Inc.
13 /* Power-on reset state */
35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */
38 /* The rest of these are firmware-defined */
46 /* Values to be written to the per-port status dword in shared
71 * | | \--- Response
72 * | \------- Error
73 * \------------------------------ Resync (always set)
[all …]
/openbmc/linux/
H A DCREDITS1 This is at least a partial credits-file of people that have
4 scripts. The fields are: name (N), email (E), web-address
6 snail-mail address (S).
10 ----------
51 D: in-kernel DRM Maintainer
71 E: tim_alpaerts@toyota-motor-europe.com
75 S: B-2610 Wilrijk-Antwerpen
80 W: http://www-stu.christs.cam.ac.uk/~aia21/
101 D: Maintainer of ide-cd and Uniform CD-ROM driver,
102 D: ATAPI CD-Changer support, Major 2.1.x CD-ROM update.
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c7 * Copyright (C) 2005-2016 Broadcom Corporation.
8 * Copyright (C) 2016-2017 Broadcom Limited.
14 * Copyright (C) 2000-2016 Broadcom Corporation.
15 * Copyright (C) 2016-2017 Broadcom Ltd.
52 #include <linux/dma-mapping.h>
56 #include <linux/hwmon-sysfs.h>
93 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags)
95 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags)
97 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags)
123 * and dev->tx_timeout() should be called to fix the problem
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c1 // SPDX-License-Identifier: GPL-2.0
41 static int debug = -1;
53 * ice_hw_to_dev - Get device pointer from the hardware structure
64 return &pf->pdev->dev; in ice_hw_to_dev()
87 return dev && (dev->netdev_ops == &ice_netdev_ops || in netif_is_ice()
88 dev->netdev_ops == &ice_netdev_safe_mode_ops); in netif_is_ice()
92 * ice_get_tx_pending - returns number of Tx descriptors not processed
99 head = ring->next_to_clean; in ice_get_tx_pending()
100 tail = ring->next_to_use; in ice_get_tx_pending()
104 tail - head : (tail + ring->count - head); in ice_get_tx_pending()
[all …]

12