| /linux/drivers/scsi/arm/ |
| H A D | cumana_2.c | 1 // 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 D | powertec.c | 1 // 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 D | eesox.c | 1 // 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 D | arxescsi.c | 1 // 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 D | fas216.c | 1 // 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/drivers/ata/ |
| H A D | pata_icside.c | 1 // 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/drivers/tty/serial/ |
| H A D | samsung_tty.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Ben Dooks, Copyright (c) 2003-2008 Simtec Electronics 21 * BJD, 04-Nov-2004 28 #include <linux/dma-mapping.h> 96 const struct s3c24xx_uart_info info; member 145 const struct s3c24xx_uart_info *info; member 154 struct s3c24xx_uart_dma *dma; member 165 #define portaddr(port, reg) ((port)->membase + (reg)) 167 ((unsigned long *)(unsigned long)((port)->membase + (reg))) 171 switch (port->iotype) { in rd_reg() [all …]
|
| /linux/arch/sh/drivers/dma/ |
| H A D | dma-api.c | 1 // 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, ®istered_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_nr_channels() local [all …]
|
| H A D | dma-sysfs.c | 1 // 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/drivers/gpu/drm/xlnx/ |
| H A D | zynqmp_disp.c | 1 // 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> 21 #include <linux/media-bus-format.h> 34 * -------- 39 * +------------------------------------------------------------+ 40 * +--------+ | +----------------+ +-----------+ | [all …]
|
| /linux/drivers/media/pci/ddbridge/ |
| H A D | ddbridge-core.c | 1 // 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/drivers/dma/ |
| H A D | of-dma.c | 1 // 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 returned. 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/drivers/dma/dw/ |
| H A D | acpi.c | 1 // 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 …]
|
| /linux/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | dma.c | 1 // 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/drivers/net/ethernet/microchip/fdma/ |
| H A D | fdma_api.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 db->status = status; in __fdma_db_add() 18 return cb(fdma, dcb_idx, db_idx, &db->dataptr); in __fdma_db_add() 28 fdma->ops.dataptr_cb); in fdma_db_add() 32 int __fdma_dcb_add(struct fdma *fdma, int dcb_idx, u64 info, u64 status, in __fdma_dcb_add() argument 40 for (i = 0; i < fdma->n_dbs; i++) { in __fdma_dcb_add() 46 err = dcb_cb(fdma, dcb_idx, &fdma->last_dcb->nextptr); in __fdma_dcb_add() 50 fdma->last_dcb = dcb; in __fdma_dcb_add() 52 dcb->nextptr = FDMA_DCB_INVALID_DATA; in __fdma_dcb_add() 53 dcb->info = info; in __fdma_dcb_add() [all …]
|
| H A D | fdma_api.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 11 * with the Frame DMA engine on multiple Microchip switchcores. 13 * Frame DMA DCB format: 15 * +---------------------------+ 17 * +---------------------------+ 18 * | Reserved | Info | 19 * +---------------------------+ 21 * +---------------------------+ 23 * +---------------------------+ 25 * +---------------------------+ [all …]
|
| /linux/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | dma.h | 1 /* 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/sound/sparc/ |
| H A D | dbri.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (C) 1997 Rudolf Koenig (rfkoenig@immd4.informatik.uni-erlangen.de) 15 * - DBRI: AT&T T5900FX Dual Basic Rates ISDN Interface. It is a 32 channel 20 * - "STP 4000SBus Dual Basic Rate ISDN (DBRI) Transceiver" from 22 * - Data sheet of the T7903, a newer but very similar ISA bus equivalent 25 * - https://www.freesoft.org/Linux/DBRI/ 26 * - MMCODE 307 struct dbri_dma *dma; /* Pointer to our DMA block */ global() member 1088 struct dbri_streaminfo *info = &dbri->stream_info[streamno]; setup_descs() local 1394 struct dbri_streaminfo *info = &dbri->stream_info[DBRI_PLAY]; cs4215_setdata() local 1709 struct dbri_streaminfo *info; xmit_descs() local 1783 struct dbri_streaminfo *info = &dbri->stream_info[DBRI_PLAY]; transmission_complete_intr() local 1814 struct dbri_streaminfo *info; reception_complete_intr() local 2048 struct dbri_streaminfo *info = DBRI_STREAM(dbri, substream); snd_dbri_open() local 2077 struct dbri_streaminfo *info = DBRI_STREAM(dbri, substream); snd_dbri_close() local 2091 struct dbri_streaminfo *info = DBRI_STREAM(dbri, substream); snd_dbri_hw_params() local 2126 struct dbri_streaminfo *info = DBRI_STREAM(dbri, substream); snd_dbri_hw_free() local 2154 struct dbri_streaminfo *info = DBRI_STREAM(dbri, substream); snd_dbri_prepare() local 2181 struct dbri_streaminfo *info = DBRI_STREAM(dbri, substream); snd_dbri_trigger() local 2205 struct dbri_streaminfo *info = DBRI_STREAM(dbri, substream); snd_dbri_pointer() local 2271 struct dbri_streaminfo *info; snd_cs4215_get_volume() local 2286 struct dbri_streaminfo *info = snd_cs4215_put_volume() local [all...] |
| /linux/drivers/net/wan/ |
| H A D | farsync.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Actually sync driver for X.21, V.35 and V.24 on FarSync T-series cards 6 * Copyright (C) 2001-2004 FarSite Communications Ltd. 32 /* Module info 35 MODULE_DESCRIPTION("FarSync T-Series WAN driver. FarSite Communications Ltd."); 71 #define ARPHRD_MYTYPE ARPHRD_HDLC /* Cisco-HDLC (keepalives etc) */ 94 * file. Unfortunately various name clashes and the non-portability of the 110 #define BFM_BASE 0x00010000L /* Base offset of the shared memory window DMA 163 #define cnv_bcnt(len) (-(len)) 268 /* DMA descriptor rings */ [all …]
|
| /linux/sound/pci/au88x0/ |
| H A D | au88x0_pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Supports ADB and WT DMA. Unfortunately, WT channels do not run yet. 9 * It remains stuck,and DMA transfers do not happen. 18 #define VORTEX_PCM_TYPE(x) (x->name[40]) 22 .info = 43 .info = 63 .info = 86 .info = (SNDRV_PCM_INFO_MMAP | 118 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change() 120 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change() [all …]
|
| /linux/include/sound/sof/ |
| H A D | trace.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 16 * DMA for Trace 21 /* DMA for Trace params info - SOF_IPC_DEBUG_DMA_PARAMS */ 22 /* Deprecated - use sof_ipc_dma_trace_params_ext */ 29 /* DMA for Trace params info - SOF_IPC_DEBUG_DMA_PARAMS_EXT */ 38 /* DMA for Trace params info - SOF_IPC_DEBUG_DMA_PARAMS */ 41 uint32_t host_offset; /* Offset of DMA host buffer */ 65 /** Runtime tracing filtration data - SOF_IPC_TRACE_FILTER_UPDATE, ABI3.17 */ 97 /* panic info include filename and line number
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_rw.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2016-2018 Oracle. All rights reserved. 5 * Use the core R/W API to move RPC-over-RDMA Read and Write chunks. 23 * Each WR chain handles a single contiguous server-side buffer, 27 * Each WR chain handles only one R_key. Each RPC-over-RDMA segment 33 * smaller I/O requests without disabling bottom-halve 204 struct svc_rdma_write_info *info; svc_rdma_write_info_alloc() local 220 struct svc_rdma_write_info *info; svc_rdma_write_info_free_async() local 227 svc_rdma_write_info_free(struct svc_rdma_write_info * info) svc_rdma_write_info_free() argument 289 struct svc_rdma_write_info *info = svc_rdma_write_done() local 419 svc_rdma_vec_to_sg(struct svc_rdma_write_info * info,unsigned int len,struct svc_rdma_rw_ctxt * ctxt) svc_rdma_vec_to_sg() argument 433 svc_rdma_pagelist_to_sg(struct svc_rdma_write_info * info,unsigned int remaining,struct svc_rdma_rw_ctxt * ctxt) svc_rdma_pagelist_to_sg() argument 468 svc_rdma_build_writes(struct svc_rdma_write_info * info,void (* constructor)(struct svc_rdma_write_info * info,unsigned int len,struct svc_rdma_rw_ctxt * ctxt),unsigned int remaining) svc_rdma_build_writes() argument 469 svc_rdma_build_writes(struct svc_rdma_write_info * info,void (* constructor)(struct svc_rdma_write_info * info,unsigned int len,struct svc_rdma_rw_ctxt * ctxt),unsigned int remaining) svc_rdma_build_writes() argument 534 svc_rdma_iov_write(struct svc_rdma_write_info * info,const struct kvec * iov) svc_rdma_iov_write() argument 555 svc_rdma_pages_write(struct svc_rdma_write_info * info,const struct xdr_buf * xdr,unsigned int offset,unsigned long length) svc_rdma_pages_write() argument 579 struct svc_rdma_write_info *info = data; svc_rdma_xb_write() local 608 struct svc_rdma_write_info *info; svc_rdma_send_write_chunk() local 684 struct svc_rdma_write_info *info = &sctxt->sc_reply_info; svc_rdma_prepare_reply_chunk() local [all...] |
| /linux/drivers/tty/ |
| H A D | synclink_gt.c | 1 // SPDX-License-Identifier: GPL-1.0+ 28 * DBGINFO information - most verbose output 33 * DBGTBUF output transmit DMA buffers and registers 34 * DBGRBUF output receive DMA buffers and registers 41 #define DBGDATA(info, buf, size, label) if (debug_level >= DEBUG_LEVEL_DATA) trace_block((info), (b… argument 42 /*#define DBGTBUF(info) dump_tbufs(info)*/ 43 /*#define DBGRBUF(info) dump_rbufs(info)*/ 77 #include <asm/dma.h> 146 #define dev_to_port(D) (dev_to_hdlc(D)->priv) 168 * DMA buffer descriptor and access macros [all …]
|
| /linux/Documentation/devicetree/bindings/display/tilcdc/ |
| H A D | panel.txt | 1 Device-Tree bindings for tilcdc DRM generic panel output driver 4 - compatible: value should be "ti,tilcdc,panel". 5 - panel-info: configuration info to configure LCDC correctly for the panel 6 - ac-bias: AC Bias Pin Frequency 7 - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt 8 - dma-burst-sz: DMA burst size 9 - bpp: Bits per pixel 10 - fdd: FIFO DMA Request Delay 11 - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling 12 - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore [all …]
|
| /linux/drivers/media/pci/smipcie/ |
| H A D | smipcie-main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 184 i2c_set_adapdata(&dev->i2c_bus[0], dev); in smi_i2c_init() 185 strscpy(dev->i2c_bus[0].name, "SMI-I2C0", sizeof(dev->i2c_bus[0].name)); in smi_i2c_init() 186 dev->i2c_bus[0].owner = THIS_MODULE; in smi_i2c_init() 187 dev->i2c_bus[0].dev.parent = &dev->pci_dev->dev; in smi_i2c_init() 188 dev->i2c_bus[0].algo_data = &dev->i2c_bit[0]; in smi_i2c_init() 189 dev->i2c_bit[0].data = dev; in smi_i2c_init() 190 dev->i2c_bit[0].setsda = smi_i2c0_setsda; in smi_i2c_init() 191 dev->i2c_bit[0].setscl = smi_i2c0_setscl; in smi_i2c_init() 192 dev->i2c_bit[0].getsda = smi_i2c0_getsda; in smi_i2c_init() [all …]
|