Home
last modified time | relevance | path

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

12345678910>>...42

/openbmc/linux/drivers/scsi/arm/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/ata/
H A 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 …]
/openbmc/linux/arch/sh/drivers/dma/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/tty/serial/
H A 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>
95 const struct s3c24xx_uart_info info; member
146 const struct s3c24xx_uart_info *info; member
155 struct s3c24xx_uart_dma *dma; member
166 #define portaddr(port, reg) ((port)->membase + (reg))
168 ((unsigned long *)(unsigned long)((port)->membase + (reg)))
172 switch (port->iotype) { in rd_reg()
[all …]
H A 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 …]
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/debug/interface/
H A 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 */
183 /*! @brief Dump dma controller state.
184 * Dumps the dma controller state to tracing output.
207 /*! @brief Dump all related binary info data
208 * @param[in] bi Binary info struct.
222 /*! @brief Dump dma isp fifo state
223 * Dumps the dma isp fifo state to tracing output.
228 /*! @brief Dump dma sp fifo state
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A Dparport_64.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 …]
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dpci.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
35 return -EBUSY; in rtw89_pci_rst_bdram_pcie()
46 rp = bd_ring->rp; in rtw89_pci_dma_recalc()
47 wp = bd_ring->wp; in rtw89_pci_dma_recalc()
48 len = bd_ring->len; in rtw89_pci_dma_recalc()
52 cnt = cur_rp >= rp ? cur_rp - rp : len - (rp - cur_rp); in rtw89_pci_dma_recalc()
54 cnt = cur_rp >= wp ? cur_rp - wp : len - (wp - cur_rp); in rtw89_pci_dma_recalc()
56 bd_ring->rp = cur_rp; in rtw89_pci_dma_recalc()
64 struct rtw89_pci_dma_ring *bd_ring = &tx_ring->bd_ring; in rtw89_pci_txbd_recalc()
65 u32 addr_idx = bd_ring->addr.idx; in rtw89_pci_txbd_recalc()
[all …]
/openbmc/linux/drivers/dma/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/media/platform/xilinx/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/xlnx/
H A 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 …]
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/
H A 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 …]
/openbmc/linux/drivers/media/pci/ddbridge/
H A 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 …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand.c1 // SPDX-License-Identifier: GPL-2.0+
24 #include <asm/arch/imx-regs.h>
25 #include <asm/mach-imx/regs-bch.h>
26 #include <asm/mach-imx/regs-gpmi.h>
54 static void mxs_nand_flush_data_buf(struct mxs_nand_info *info) in mxs_nand_flush_data_buf() argument
56 uint32_t addr = (uint32_t)info->data_buf; in mxs_nand_flush_data_buf()
58 flush_dcache_range(addr, addr + info->data_buf_size); in mxs_nand_flush_data_buf()
61 static void mxs_nand_inval_data_buf(struct mxs_nand_info *info) in mxs_nand_inval_data_buf() argument
63 uint32_t addr = (uint32_t)info->data_buf; in mxs_nand_inval_data_buf()
65 invalidate_dcache_range(addr, addr + info->data_buf_size); in mxs_nand_inval_data_buf()
[all …]
/openbmc/linux/drivers/dma/dw/
H A Dacpi.c1 // SPDX-License-Identifier: GPL-2.0
11 struct dw_dma *dw = to_dw_dma(chan->device); in dw_dma_acpi_filter()
12 struct dw_dma_chip_pdata *data = dev_get_drvdata(dw->dma.dev); in dw_dma_acpi_filter()
15 .dma_dev = dma_spec->dev, in dw_dma_acpi_filter()
16 .src_id = dma_spec->slave_id, in dw_dma_acpi_filter()
17 .dst_id = dma_spec->slave_id, in dw_dma_acpi_filter()
18 .m_master = data->m_master, in dw_dma_acpi_filter()
19 .p_master = data->p_master, in dw_dma_acpi_filter()
27 struct device *dev = dw->dma.dev; in dw_dma_acpi_controller_register()
28 struct acpi_dma_filter_info *info; in dw_dma_acpi_controller_register() local
[all …]
/openbmc/linux/sound/soc/sh/
H A 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 …]
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A 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 …]
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A 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 …]
/openbmc/linux/drivers/mtd/nand/raw/
H A 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 …]

12345678910>>...42