Home
last modified time | relevance | path

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

12345678910>>...44

/linux-6.8/drivers/scsi/arm/
Dcumana_2.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1997-2005 Russell King
8 * 30-08-1997 RMK 0.0.0 Created, READONLY version.
9 * 22-01-1998 RMK 0.0.1 Updated to 2.1.80.
10 * 15-04-1998 RMK 0.0.1 Only do PIO if FAS216 will allow it.
11 * 02-05-1998 RMK 0.0.2 Updated & added DMA support.
12 * 27-06-1998 RMK Changed asm/delay.h to linux/delay.h
13 * 18-08-1998 RMK 0.0.3 Fixed synchronous transfer depth.
14 * 02-04-2000 RMK 0.0.4 Updated for new error handling code.
25 #include <linux/dma-mapping.h>
[all …]
Dpowertec.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1997-2005 Russell King
16 #include <linux/dma-mapping.h>
19 #include <asm/dma.h>
61 FAS216_Info info; member
70 * Params : ec - expansion card structure
71 * : irqnr - interrupt number
76 struct powertec_info *info = ec->irq_data; in powertecscsi_irqenable() local
77 writeb(POWERTEC_INTR_ENABLE, info->base + POWERTEC_INTR_CONTROL); in powertecscsi_irqenable()
82 * Params : ec - expansion card structure
[all …]
Deesox.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1997-2005 Russell King
12 * 01-10-1997 RMK Created, READONLY version
13 * 15-02-1998 RMK READ/WRITE version
14 * added DMA support and hardware definitions
15 * 14-03-1998 RMK Updated DMA support
17 * 15-04-1998 RMK Only do PIO if FAS216 will allow it.
18 * 27-06-1998 RMK Changed asm/delay.h to linux/delay.h
19 * 02-04-2000 RMK 0.0.3 Fixed NO_IRQ/NO_DMA problem, updated for new
31 #include <linux/dma-mapping.h>
[all …]
Darxescsi.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1997-2000 Russell King, Stefan Hanske
12 * 30-08-1997 RMK 0.0.0 Created, READONLY version as cumana_2.c
13 * 22-01-1998 RMK 0.0.1 Updated to 2.1.80
14 * 15-04-1998 RMK 0.0.1 Only do PIO if FAS216 will allow it.
15 * 11-06-1998 SH 0.0.2 Changed to support ARXE 16-bit SCSI card
17 * 01-01-2000 SH 0.1.0 Added *real* pseudo dma writing
19 * 02-04-2000 RMK 0.1.1 Updated for new error handling code.
20 * 22-10-2000 SH Updated for new registering scheme.
34 #include <asm/dma.h>
[all …]
Dfas216.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1997-2003 Russell King
15 * FAS216_Info info;
20 * 30-08-1997 RMK Created
21 * 14-09-1997 RMK Started disconnect support
22 * 08-02-1998 RMK Corrected real DMA support
23 * 15-02-1998 RMK Started sync xfer support
24 * 06-04-1998 RMK Tightened conditions for printing incomplete
26 * 02-05-1998 RMK Added extra checks in fas216_reset
27 * 24-05-1998 RMK Fixed synchronous transfers with period >= 200ns
[all …]
/linux-6.8/drivers/ata/
Dpata_icside.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <asm/dma.h>
54 unsigned int dma; member
80 #define ICS_TYPE_NOTYPE ((unsigned int)-1)
82 /* ---------------- Version 5 PCB Support Functions --------------------- */
88 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v5()
90 writeb(0, state->irq_port + ICS_ARCIN_V5_INTROFFSET); in pata_icside_irqenable_arcin_v5()
98 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqdisable_arcin_v5()
100 readb(state->irq_port + ICS_ARCIN_V5_INTROFFSET); in pata_icside_irqdisable_arcin_v5()
109 /* ---------------- Version 6 PCB Support Functions --------------------- */
[all …]
/linux-6.8/arch/sh/drivers/dma/
Ddma-api.c1 // SPDX-License-Identifier: GPL-2.0
3 * arch/sh/drivers/dma/dma-api.c
5 * SuperH-specific DMA management API
19 #include <asm/dma.h>
26 struct dma_info *info; in get_dma_info() local
32 list_for_each_entry(info, &registered_dmac_list, list) { in get_dma_info()
33 if ((chan < info->first_vchannel_nr) || in get_dma_info()
34 (chan >= info->first_vchannel_nr + info->nr_channels)) in get_dma_info()
37 return info; in get_dma_info()
46 struct dma_info *info; in get_dma_info_by_name() local
[all …]
Ddma-sysfs.c1 // SPDX-License-Identifier: GPL-2.0
3 * arch/sh/drivers/dma/dma-sysfs.c
5 * sysfs interface for SH DMA API
7 * Copyright (C) 2004 - 2006 Paul Mundt
16 #include <asm/dma.h>
19 .name = "dma",
20 .dev_name = "dma",
30 struct dma_info *info = get_dma_info(i); in dma_show_devices() local
33 if (unlikely(!info) || !channel) in dma_show_devices()
37 channel->chan, info->name, in dma_show_devices()
[all …]
/linux-6.8/drivers/tty/serial/
Dsamsung_tty.c1 // SPDX-License-Identifier: GPL-2.0
5 * Ben Dooks, Copyright (c) 2003-2008 Simtec Electronics
21 * BJD, 04-Nov-2004
25 #include <linux/dma-mapping.h>
94 const struct s3c24xx_uart_info info; member
143 const struct s3c24xx_uart_info *info; member
152 struct s3c24xx_uart_dma *dma; member
163 #define portaddr(port, reg) ((port)->membase + (reg))
165 ((unsigned long *)(unsigned long)((port)->membase + (reg)))
169 switch (port->iotype) { in rd_reg()
[all …]
Dstm32-usart.c1 // SPDX-License-Identifier: GPL-2.0
9 * Inspired by st-asc.c from STMicroelectronics (c)
15 #include <linux/dma-direction.h>
17 #include <linux/dma-mapping.h>
36 #include "stm32-usart.h"
120 val = readl_relaxed(port->membase + reg); in stm32_usart_set_bits()
122 writel_relaxed(val, port->membase + reg); in stm32_usart_set_bits()
129 val = readl_relaxed(port->membase + reg); in stm32_usart_clr_bits()
131 writel_relaxed(val, port->membase + reg); in stm32_usart_clr_bits()
137 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty()
[all …]
/linux-6.8/arch/sparc/include/asm/
Dparport.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* parport.h: sparc64 specific parport initialization and dma.
20 * While sparc64 doesn't have an ISA DMA API, we provide something that looks
39 struct ebus_dma_info info; member
52 return -EINVAL; in request_dma()
54 return -EBUSY; in request_dma()
61 printk(KERN_WARNING "Trying to free DMA%d\n", dmanr); in free_dma()
65 printk(KERN_WARNING "Trying to free free DMA%d\n", dmanr); in free_dma()
72 ebus_dma_enable(&sparc_ebus_dmas[dmanr].info, 1); in enable_dma()
74 if (ebus_dma_request(&sparc_ebus_dmas[dmanr].info, in enable_dma()
[all …]
/linux-6.8/drivers/dma/
Dbcm2835-dma.c1 // SPDX-License-Identifier: GPL-2.0+
3 * BCM2835 DMA engine support
11 * BCM2708 DMA Driver
17 * MARVELL MMP Peripheral DMA Driver
21 #include <linux/dma-mapping.h>
35 #include "virt-dma.h"
41 * struct bcm2835_dmadev - BCM2835 DMA controller
42 * @ddev: DMA device
54 uint32_t info; member
108 /* DMA CS Control and Status bits */
[all …]
Dof-dma.c1 // 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 retuned. 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 …]
/linux-6.8/drivers/net/wireless/realtek/rtw89/
Dpci.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
40 const struct rtw89_pci_info *info = rtwdev->pci_info; in rtw89_pci_dma_recalc() local
43 rp = bd_ring->rp; in rtw89_pci_dma_recalc()
44 wp = bd_ring->wp; in rtw89_pci_dma_recalc()
45 len = bd_ring->len; in rtw89_pci_dma_recalc()
49 cnt = cur_rp >= rp ? cur_rp - rp : len - (rp - cur_rp); in rtw89_pci_dma_recalc()
51 if (info->rx_ring_eq_is_full) in rtw89_pci_dma_recalc()
54 cnt = cur_rp >= wp ? cur_rp - wp : len - (wp - cur_rp); in rtw89_pci_dma_recalc()
57 bd_ring->rp = cur_rp; in rtw89_pci_dma_recalc()
65 struct rtw89_pci_dma_ring *bd_ring = &tx_ring->bd_ring; in rtw89_pci_txbd_recalc()
[all …]
/linux-6.8/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2017 - 2020 Xilinx, Inc.
8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com>
9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
18 #include <linux/dma/xilinx_dpdma.h>
19 #include <linux/dma-mapping.h>
33 * --------
38 * +------------------------------------------------------------+
39 * +--------+ | +----------------+ +-----------+ |
40 * | DPDMA | --->| | --> | Video | Video +-------------+ |
[all …]
/linux-6.8/drivers/staging/media/atomisp/pci/runtime/debug/interface/
Dia_css_debug.h1 /* SPDX-License-Identifier: GPL-2.0 */
47 /*! Level for tracing info messages */
108 /* Logging macros for non-API functions. These have a lower trace level */
176 /*! @brief Dump all related binary info data
177 * @param[in] bi Binary info struct.
197 /*! @brief Dump stream-to-memory sp fifo state
198 * Dumps the stream-to-memory block state to tracing output.
203 /*! @brief Dump all fifo state info to the output
209 /*! @brief Dump the frame info to the trace output
210 * Dumps the frame info to tracing output.
[all …]
/linux-6.8/drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/
Dia_css_vf.host.c1 // SPDX-License-Identifier: GPL-2.0
36 to->vf_downscale_bits = from->vf_downscale_bits; in ia_css_vf_config()
37 to->enable = from->info != NULL; in ia_css_vf_config()
39 if (from->info) { in ia_css_vf_config()
40 ia_css_frame_info_to_frame_sp_info(&to->info, from->info); in ia_css_vf_config()
41 ret = ia_css_dma_configure_from_info(&to->dma.port_b, from->info); in ia_css_vf_config()
44 to->dma.width_a_over_b = elems_a / to->dma.port_b.elems; in ia_css_vf_config()
47 if (elems_a % to->dma.port_b.elems != 0) in ia_css_vf_config()
48 return -EINVAL; in ia_css_vf_config()
66 return -EINVAL; in sh_css_vf_downscale_log2()
[all …]
/linux-6.8/drivers/media/platform/xilinx/
Dxilinx-dma.c1 // SPDX-License-Identifier: GPL-2.0
3 * Xilinx Video DMA
5 * Copyright (C) 2013-2015 Ideas on Board
6 * Copyright (C) 2013-2015 Xilinx, Inc.
12 #include <linux/dma/xilinx_dma.h>
19 #include <media/v4l2-dev.h>
20 #include <media/v4l2-fh.h>
21 #include <media/v4l2-ioctl.h>
22 #include <media/videobuf2-v4l2.h>
23 #include <media/videobuf2-dma-contig.h>
[all …]
/linux-6.8/drivers/media/pci/ddbridge/
Dddbridge-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * ddbridge-core.c: Digital Devices bridge core functions
5 * Copyright (C) 2010-2017 Digital Devices GmbH
25 #include "ddbridge-i2c.h"
26 #include "ddbridge-regs.h"
27 #include "ddbridge-max.h"
28 #include "ddbridge-ci.h"
29 #include "ddbridge-io.h"
44 #include "ddbridge-dummy-fe.h"
57 "0-one adapter per io, 1-one per tab with io, 2-one per tab, 3-one for all");
[all …]
/linux-6.8/sound/soc/sh/
Dsiu_pcm.c1 // SPDX-License-Identifier: GPL-2.0+
3 // siu_pcm.c - ALSA driver for Renesas SH7343, SH7722 SIU peripheral.
5 // Copyright (C) 2009-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de>
9 #include <linux/dma-mapping.h>
25 #define DRV_NAME "siu-i2s"
36 /* transfersize is number of u32 dma transfers per period */
39 struct siu_info *info = siu_i2s_data; in siu_pcm_stmwrite_stop() local
40 u32 __iomem *base = info->reg; in siu_pcm_stmwrite_stop()
41 struct siu_stream *siu_stream = &port_info->playback; in siu_pcm_stmwrite_stop()
44 if (!siu_stream->rw_flg) in siu_pcm_stmwrite_stop()
[all …]
/linux-6.8/drivers/net/wireless/broadcom/b43legacy/
Ddma.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 DMA ringbuffer and descriptor allocation/management
18 #include "dma.h"
23 #include <linux/dma-mapping.h>
30 /* 32bit DMA ops. */
38 *meta = &(ring->meta[slot]); in op32_idx2desc()
39 desc = ring->descbase; in op32_idx2desc()
50 struct b43legacy_dmadesc32 *descbase = ring->descbase; in op32_fill_descriptor()
56 slot = (int)(desc - descbase); in op32_fill_descriptor()
57 B43legacy_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op32_fill_descriptor()
[all …]
/linux-6.8/drivers/mtd/nand/raw/
Domap2.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/dma-mapping.h>
18 #include <linux/mtd/nand-ecc-sw-bch.h>
21 #include <linux/omap-dma.h>
29 #include <linux/omap-gpmc.h>
30 #include <linux/platform_data/mtd-nand-omap2.h>
32 #define DRIVER_NAME "omap2-nand"
156 struct dma_chan *dma; member
198 * omap_prefetch_enable - configures and starts prefetch transfer
201 * @dma_mode: dma mode enable (1) or disable (0)
[all …]
/linux-6.8/drivers/pci/endpoint/functions/
Dpci-epf-mhi.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <linux/pci-epc.h>
15 #include <linux/pci-epf.h>
75 MHI_EP_CHANNEL_CONFIG_UL(18, "IP-CTRL-1"),
76 MHI_EP_CHANNEL_CONFIG_DL(19, "IP-CTRL-1"),
128 const struct pci_epf_mhi_ep_info *info; member
146 return addr & (epf_mhi->epc_features->align -1); in get_align_offset()
154 struct pci_epf *epf = epf_mhi->epf; in __pci_epf_mhi_alloc_map()
155 struct pci_epc *epc = epf->epc; in __pci_epf_mhi_alloc_map()
160 return -ENOMEM; in __pci_epf_mhi_alloc_map()
[all …]
/linux-6.8/drivers/net/wireless/mediatek/mt7601u/
Ddma.h1 /* SPDX-License-Identifier: GPL-2.0-only */
18 /* Common Tx DMA descriptor fields */
38 /* Tx DMA packet specific flags */
54 /* Tx DMA MCU command specific flags */
62 u32 info; in mt7601u_dma_skb_wrap() local
71 info = flags | in mt7601u_dma_skb_wrap()
72 FIELD_PREP(MT_TXD_INFO_LEN, round_up(skb->len, 4)) | in mt7601u_dma_skb_wrap()
76 put_unaligned_le32(info, skb_push(skb, sizeof(info))); in mt7601u_dma_skb_wrap()
77 return skb_put_padto(skb, round_up(skb->len, 4) + 4); in mt7601u_dma_skb_wrap()
87 /* Common Rx DMA descriptor fields */
[all …]
/linux-6.8/drivers/crypto/marvell/octeontx2/
Dotx2_cpt_reqmgr.h1 /* SPDX-License-Identifier: GPL-2.0-only
20 /* DMA mode direct or SG */
56 * Words EI (0-3)
85 void *info; member
114 u32 dma_mode:2; /* DMA mode */
118 u32 dma_mode:2; /* DMA mode */
182 struct otx2_cpt_inst_info *info) in otx2_cpt_info_destroy() argument
187 if (info->dptr_baddr) in otx2_cpt_info_destroy()
188 dma_unmap_single(&pdev->dev, info->dptr_baddr, in otx2_cpt_info_destroy()
189 info->dma_len, DMA_BIDIRECTIONAL); in otx2_cpt_info_destroy()
[all …]

12345678910>>...44