Home
last modified time | relevance | path

Searched +full:dma +full:- +full:related (Results 1 – 25 of 1022) sorted by relevance

12345678910>>...41

/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h5 * This program is dual-licensed; you may select either version 2 of
21 #include <linux/dma-mapping.h>
29 #define XLGMAC_DRV_NAME "dwc-xlgmac"
33 /* Descriptor related parameters */
46 #define XLGMAC_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1))
96 ((_ring)->desc_data_head + \
97 ((idx) & ((_ring)->dma_desc_count - 1))); \
103 ((var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
110 ((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
118 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h5 * This program is dual-licensed; you may select either version 2 of
21 #include <linux/dma-mapping.h>
29 #define XLGMAC_DRV_NAME "dwc-xlgmac"
33 /* Descriptor related parameters */
47 #define XLGMAC_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1))
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 …]
/kernel/linux/linux-5.10/arch/sh/include/mach-dreamcast/mach/
Dsysasic.h1 /* SPDX-License-Identifier: GPL-2.0
3 * include/asm-sh/dreamcast/sysasic.h
5 * Definitions for the Dreamcast System ASIC and related peripherals.
8 * Copyright (C) 2003 Paul Mundt <lethal@linux-sh.org>
17 /* Hardware events -
29 #define HW_EVENT_MAPLE_DMA (HW_EVENT_IRQ_BASE + 12) /* Maple DMA complete */
30 #define HW_EVENT_GDROM_DMA (HW_EVENT_IRQ_BASE + 14) /* GD-ROM DMA complete */
31 #define HW_EVENT_G2_DMA (HW_EVENT_IRQ_BASE + 15) /* G2 DMA complete */
32 #define HW_EVENT_PVR2_DMA (HW_EVENT_IRQ_BASE + 19) /* PVR2 DMA complete */
35 #define HW_EVENT_GDROM_CMD (HW_EVENT_IRQ_BASE + 32) /* GD-ROM cmd. complete */
[all …]
/kernel/linux/linux-6.6/arch/sh/include/mach-dreamcast/mach/
Dsysasic.h1 /* SPDX-License-Identifier: GPL-2.0
3 * include/asm-sh/dreamcast/sysasic.h
5 * Definitions for the Dreamcast System ASIC and related peripherals.
8 * Copyright (C) 2003 Paul Mundt <lethal@linux-sh.org>
17 /* Hardware events -
29 #define HW_EVENT_MAPLE_DMA (HW_EVENT_IRQ_BASE + 12) /* Maple DMA complete */
30 #define HW_EVENT_GDROM_DMA (HW_EVENT_IRQ_BASE + 14) /* GD-ROM DMA complete */
31 #define HW_EVENT_G2_DMA (HW_EVENT_IRQ_BASE + 15) /* G2 DMA complete */
32 #define HW_EVENT_PVR2_DMA (HW_EVENT_IRQ_BASE + 19) /* PVR2 DMA complete */
35 #define HW_EVENT_GDROM_CMD (HW_EVENT_IRQ_BASE + 32) /* GD-ROM cmd. complete */
[all …]
/kernel/linux/linux-6.6/Documentation/trace/
Dhisi-ptt.rst1 .. SPDX-License-Identifier: GPL-2.0
23 +--------------Core 0-------+
25 | | [Root Port]---[Endpoint]
26 | | [Root Port]---[Endpoint]
27 | | [Root Port]---[Endpoint]
28 Root Complex |------Core 1-------+
30 | | [Root Port]---[ Switch ]---[Endpoint]
31 | | [Root Port]---[Endpoint] `-[Endpoint]
32 | | [Root Port]---[Endpoint]
33 +---------------------------+
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe.h9 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
59 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
120 #include <linux/dma-mapping.h>
137 #define XGBE_DRV_NAME "amd-xgbe"
140 /* Descriptor related defines */
151 #define XGBE_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1))
157 * - Maximum number of SKB frags
158 * - Maximum descriptors for contiguous TSO/GSO packet
159 * - Possible context descriptor
160 * - Possible TSO header descriptor
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/
Dxgbe.h9 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
59 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
120 #include <linux/dma-mapping.h>
137 #define XGBE_DRV_NAME "amd-xgbe"
140 /* Descriptor related defines */
151 #define XGBE_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1))
158 * - Maximum number of SKB frags
159 * - Maximum descriptors for contiguous TSO/GSO packet
160 * - Possible context descriptor
161 * - Possible TSO header descriptor
[all …]
/kernel/linux/linux-6.6/drivers/crypto/ccp/
Dccp-dev.h1 /* SPDX-License-Identifier: GPL-2.0-only */
19 #include <linux/dma-direction.h>
27 #include "sp-dev.h"
63 /* ------------------------ CCP Version 5 Specifics ------------------------ */
103 #define QUEUE_SIZE_VAL ((ffs(COMMANDS_PER_QUEUE) - 2) & \
105 #define Q_PTR_MASK (2 << (QUEUE_SIZE_VAL + 5) - 1)
125 /* ------------------------ CCP Version 3 Specifics ------------------------ */
133 /****** REQ1 Related Values ******/
141 /* AES Related Values */
147 /* XTS-AES Related Values */
[all …]
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dccp-dev.h1 /* SPDX-License-Identifier: GPL-2.0-only */
19 #include <linux/dma-direction.h>
27 #include "sp-dev.h"
63 /* ------------------------ CCP Version 5 Specifics ------------------------ */
103 #define QUEUE_SIZE_VAL ((ffs(COMMANDS_PER_QUEUE) - 2) & \
105 #define Q_PTR_MASK (2 << (QUEUE_SIZE_VAL + 5) - 1)
125 /* ------------------------ CCP Version 3 Specifics ------------------------ */
133 /****** REQ1 Related Values ******/
141 /* AES Related Values */
147 /* XTS-AES Related Values */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/
Di2c-at91.txt4 - compatible : Must be one of:
5 "atmel,at91rm9200-i2c",
6 "atmel,at91sam9261-i2c",
7 "atmel,at91sam9260-i2c",
8 "atmel,at91sam9g20-i2c",
9 "atmel,at91sam9g10-i2c",
10 "atmel,at91sam9x5-i2c",
11 "atmel,sama5d4-i2c",
12 "atmel,sama5d2-i2c",
13 "microchip,sam9x60-i2c".
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/icssg/
Dicssg_prueth.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (C) 2018-2022 Texas Instruments Incorporated - https://www.ti.com/
31 #include <linux/dma-mapping.h>
32 #include <linux/dma/ti-cppi5.h>
33 #include <linux/dma/k3-udma-glue.h>
41 #define PRUETH_MAX_MTU (2000 - ETH_HLEN - ETH_FCS_LEN)
53 /* Number of ICSSG related stats */
56 #define ICSSG_NUM_ETHTOOL_STATS (ICSSG_NUM_STATS - ICSSG_NUM_STANDARD_STATS)
121 /* There are 4 Tx DMA channels, but the highest priority is CH3 (thread 3)
149 /* DMA related */
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/
Dfpga-dfl.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 * Copyright (C) 2017-2018 Intel Corporation, Inc.
38 * DFL_FPGA_GET_API_VERSION - _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 0)
47 * DFL_FPGA_CHECK_EXTENSION - _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 1)
58 * DFL_FPGA_PORT_RESET - _IO(DFL_FPGA_MAGIC, DFL_PORT_BASE + 0)
61 * Userspace can do Port reset at any time, e.g. during DMA or PR. But
63 * (e.g. DMA or PR operation failure) and be recoverable from the failure.
64 * Return: 0 on success, -errno of failure
70 * DFL_FPGA_PORT_GET_INFO - _IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 1,
75 * Return: 0 on success, -errno on failure.
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dfpga-dfl.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 * Copyright (C) 2017-2018 Intel Corporation, Inc.
38 * DFL_FPGA_GET_API_VERSION - _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 0)
47 * DFL_FPGA_CHECK_EXTENSION - _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 1)
58 * DFL_FPGA_PORT_RESET - _IO(DFL_FPGA_MAGIC, DFL_PORT_BASE + 0)
61 * Userspace can do Port reset at any time, e.g. during DMA or PR. But
63 * (e.g. DMA or PR operation failure) and be recoverable from the failure.
64 * Return: 0 on success, -errno of failure
70 * DFL_FPGA_PORT_GET_INFO - _IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 1,
75 * Return: 0 on success, -errno on failure.
[all …]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/
Dcdns2-gadget.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * USBHS-DEV device controller driver header file
14 #include <linux/dma-direction.h>
22 * struct cdns2_ep0_regs - endpoint 0 related registers.
45 /* EP0CS - bitmasks. */
59 /* EP0FIFO - bitmasks. */
70 * struct cdns2_epx_base - base endpoint registers.
87 /* rxcon/txcon - endpoint control register bitmasks. */
88 /* Endpoint buffering: 0 - single buffering ... 3 - quad buffering. */
106 /* rxcs/txcs - endpoint control and status bitmasks. */
[all …]
/kernel/linux/linux-6.6/arch/x86/kernel/
Di8237.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * 8237A DMA controller suspend functions.
12 #include <asm/dma.h>
17 * 8237A DMA controller (used for ISA and LPC).
18 * Allocation is handled in kernel/dma.c and normal usage is
19 * in asm/dma.h.
34 /* DMA count is a bit weird so this is not 0 */ in i8237A_resume()
38 /* Enable cascade DMA or channel 0-3 won't work */ in i8237A_resume()
51 * From SKL PCH onwards, the legacy DMA device is removed in which the in i8237A_init_ops()
52 * I/O ports (81h-83h, 87h, 89h-8Bh, 8Fh) related to it are removed in i8237A_init_ops()
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Di8237.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * 8237A DMA controller suspend functions.
12 #include <asm/dma.h>
17 * 8237A DMA controller (used for ISA and LPC).
18 * Allocation is handled in kernel/dma.c and normal usage is
19 * in asm/dma.h.
34 /* DMA count is a bit weird so this is not 0 */ in i8237A_resume()
38 /* Enable cascade DMA or channel 0-3 won't work */ in i8237A_resume()
51 * From SKL PCH onwards, the legacy DMA device is removed in which the in i8237A_init_ops()
52 * I/O ports (81h-83h, 87h, 89h-8Bh, 8Fh) related to it are removed in i8237A_init_ops()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dfsl,esai.txt3 The Enhanced Serial Audio Interface (ESAI) provides a full-duplex serial port
10 - compatible : Compatible list, should contain one of the following
12 "fsl,imx35-esai",
13 "fsl,vf610-esai",
14 "fsl,imx6ull-esai",
15 "fsl,imx8qm-esai",
17 - reg : Offset and length of the register set for the device.
19 - interrupts : Contains the spdif interrupt.
21 - dmas : Generic dma devicetree binding as described in
22 Documentation/devicetree/bindings/dma/dma.txt.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dfsl,esai.txt3 The Enhanced Serial Audio Interface (ESAI) provides a full-duplex serial port
10 - compatible : Compatible list, should contain one of the following
12 "fsl,imx35-esai",
13 "fsl,vf610-esai",
14 "fsl,imx6ull-esai",
15 "fsl,imx8qm-esai",
17 - reg : Offset and length of the register set for the device.
19 - interrupts : Contains the spdif interrupt.
21 - dmas : Generic dma devicetree binding as described in
22 Documentation/devicetree/bindings/dma/dma.txt.
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/deprecated/atmel/
Datmel-isc.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2016-2019 Microchip Technology, Inc.
13 #include <linux/clk-provider.h>
16 #include <media/v4l2-ctrls.h>
17 #include <media/v4l2-device.h>
18 #include <media/videobuf2-dma-contig.h>
57 * struct isc_format - ISC media bus format information
97 * struct fmt_config - ISC format configuration and internal pipeline
109 * @dcfg_imode: Configuration of the input of the DMA module
110 * @dctrl_dview: Configuration of the output of the DMA module
[all …]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dhabanalabs.h1 /* SPDX-License-Identifier: GPL-2.0
3 * Copyright 2016-2019 HabanaLabs, Ltd.
18 #include <linux/dma-direction.h>
26 * bits[63:62] - Encode mmap type
27 * bits[45:0] - mmap offset value
32 #define HL_MMAP_TYPE_SHIFT (62 - PAGE_SHIFT)
76 #define IS_POWER_OF_2(n) (n != 0 && ((n & (n - 1)) == 0))
84 * struct pgt_info - MMU hop page info.
85 * @node: hash linked-list node for the pgts shadow hash of pgts.
108 * enum hl_pci_match_mode - pci match mode per region
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/blockdev/
Dfloppy.rst19 Example: If your kernel is called linux-2.6.9, type the following line
22 linux-2.6.9 floppy=thinkpad
25 of linux-2.6.9::
29 Several floppy related options may be given, example::
31 linux-2.6.9 floppy=daring floppy=two_fdc
59 The floppy driver related options are:
91 Tells the floppy driver not to use Dma for data transfers.
93 DMA channel for the floppy driver. This option is also useful
94 if you frequently get "Unable to allocate DMA memory" messages.
95 Indeed, dma memory needs to be continuous in physical memory,
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/blockdev/
Dfloppy.rst19 Example: If your kernel is called linux-2.6.9, type the following line
22 linux-2.6.9 floppy=thinkpad
25 of linux-2.6.9::
29 Several floppy related options may be given, example::
31 linux-2.6.9 floppy=daring floppy=two_fdc
59 The floppy driver related options are:
91 Tells the floppy driver not to use Dma for data transfers.
93 DMA channel for the floppy driver. This option is also useful
94 if you frequently get "Unable to allocate DMA memory" messages.
95 Indeed, dma memory needs to be continuous in physical memory,
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dxilinx_axienet.txt2 --------------------------------------------------------
11 sent and received through means of an AXI DMA controller. This driver
12 includes the DMA driver code, so this driver is incompatible with AXI DMA
18 - compatible : Must be one of "xlnx,axi-ethernet-1.00.a",
19 "xlnx,axi-ethernet-1.01.a", "xlnx,axi-ethernet-2.01.a"
20 - reg : Address and length of the IO space, as well as the address
21 and length of the AXI DMA controller IO space, unless
22 axistream-connected is specified, in which case the reg
24 - interrupts : Should be a list of 2 or 3 interrupts: TX DMA, RX DMA,
25 and optionally Ethernet core. If axistream-connected is
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
5 * Samsung MFC (Multi Function Codec - FIMV) driver
6 * This file contains hw related functions.
23 dev->warn_start = S5P_FIMV_ERR_WARNINGS_START_V6; in s5p_mfc_init_hw_ops()
26 dev->warn_start = S5P_FIMV_ERR_WARNINGS_START; in s5p_mfc_init_hw_ops()
28 dev->mfc_ops = s5p_mfc_ops; in s5p_mfc_init_hw_ops()
34 dev->mfc_regs = s5p_mfc_init_regs_v6_plus(dev); in s5p_mfc_init_regs()
40 unsigned int bits = dev->mem_size >> PAGE_SHIFT; in s5p_mfc_alloc_priv_buf()
41 unsigned int count = b->size >> PAGE_SHIFT; in s5p_mfc_alloc_priv_buf()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_opr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr.c
5 * Samsung MFC (Multi Function Codec - FIMV) driver
6 * This file contains hw related functions.
23 dev->warn_start = S5P_FIMV_ERR_WARNINGS_START_V6; in s5p_mfc_init_hw_ops()
26 dev->warn_start = S5P_FIMV_ERR_WARNINGS_START; in s5p_mfc_init_hw_ops()
28 dev->mfc_ops = s5p_mfc_ops; in s5p_mfc_init_hw_ops()
34 dev->mfc_regs = s5p_mfc_init_regs_v6_plus(dev); in s5p_mfc_init_regs()
40 unsigned int bits = dev->mem_size >> PAGE_SHIFT; in s5p_mfc_alloc_priv_buf()
41 unsigned int count = b->size >> PAGE_SHIFT; in s5p_mfc_alloc_priv_buf()
[all …]

12345678910>>...41