/linux-6.14.4/drivers/scsi/arm/ |
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 …]
|
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 …]
|
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 …]
|
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 …]
|
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-6.14.4/drivers/ata/ |
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-6.14.4/arch/sh/drivers/dma/ |
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 …]
|
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-6.14.4/drivers/tty/serial/ |
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 …]
|
D | stm32-usart.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Inspired by st-asc.c from STMicroelectronics (c) 16 #include <linux/dma-direction.h> 18 #include <linux/dma-mapping.h> 37 #include "stm32-usart.h" 124 val = readl_relaxed(port->membase + reg); in stm32_usart_set_bits() 126 writel_relaxed(val, port->membase + reg); in stm32_usart_set_bits() 133 val = readl_relaxed(port->membase + reg); in stm32_usart_clr_bits() 135 writel_relaxed(val, port->membase + reg); in stm32_usart_clr_bits() 141 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty() [all …]
|
/linux-6.14.4/arch/sparc/include/asm/ |
D | parport_64.h | 1 /* 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.14.4/drivers/dma/ |
D | bcm2835-dma.c | 1 // 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 …]
|
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-6.14.4/drivers/gpu/drm/xlnx/ |
D | zynqmp_disp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017 - 2020 Xilinx, Inc. 8 * - Hyun Woo Kwon <[email protected]> 9 * - Laurent Pinchart <[email protected]> 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-6.14.4/drivers/net/wireless/realtek/rtw89/ |
D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 25 struct rtw89_pci *rtwpci = (struct rtw89_pci *)rtwdev->priv; in rtw89_pci_get_phy_offset_by_link_speed() 26 struct pci_dev *pdev = rtwpci->pdev; in rtw89_pci_get_phy_offset_by_link_speed() 41 return -EFAULT; in rtw89_pci_get_phy_offset_by_link_speed() 65 const struct rtw89_pci_info *info = rtwdev->pci_info; in rtw89_pci_dma_recalc() local 68 rp = bd_ring->rp; in rtw89_pci_dma_recalc() 69 wp = bd_ring->wp; in rtw89_pci_dma_recalc() 70 len = bd_ring->len; in rtw89_pci_dma_recalc() 74 cnt = cur_rp >= rp ? cur_rp - rp : len - (rp - cur_rp); in rtw89_pci_dma_recalc() 76 if (info->rx_ring_eq_is_full) in rtw89_pci_dma_recalc() [all …]
|
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/ |
D | ia_css_vf.host.c | 1 // SPDX-License-Identifier: GPL-2.0 27 to->vf_downscale_bits = from->vf_downscale_bits; in ia_css_vf_config() 28 to->enable = from->info != NULL; in ia_css_vf_config() 30 if (from->info) { in ia_css_vf_config() 31 ia_css_frame_info_to_frame_sp_info(&to->info, from->info); in ia_css_vf_config() 32 ret = ia_css_dma_configure_from_info(&to->dma.port_b, from->info); in ia_css_vf_config() 35 to->dma.width_a_over_b = elems_a / to->dma.port_b.elems; in ia_css_vf_config() 38 if (elems_a % to->dma.port_b.elems != 0) in ia_css_vf_config() 39 return -EINVAL; in ia_css_vf_config() 57 return -EINVAL; in sh_css_vf_downscale_log2() [all …]
|
/linux-6.14.4/drivers/staging/media/atomisp/pci/runtime/debug/interface/ |
D | ia_css_debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 /*! Level for tracing info messages */ 99 /* Logging macros for non-API functions. These have a lower trace level */ 167 /*! @brief Dump all related binary info data 168 * @param[in] bi Binary info struct. 188 /*! @brief Dump stream-to-memory sp fifo state 189 * Dumps the stream-to-memory block state to tracing output. 194 /*! @brief Dump all fifo state info to the output 200 /*! @brief Dump the frame info to the trace output 201 * Dumps the frame info to tracing output. [all …]
|
/linux-6.14.4/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 1 // 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.14.4/drivers/media/pci/ddbridge/ |
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-6.14.4/drivers/usb/host/ |
D | xhci-trace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #define TRACE_SYSTEM xhci-hcd 26 #include "xhci-dbgcap.h" 31 TP_STRUCT__entry(__vstring(msg, vaf->fmt, vaf->va)), 33 __assign_vstr(msg, vaf->fmt, vaf->va); 84 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 8) * 85 ((ctx->type == XHCI_CTX_TYPE_INPUT) + ep_num + 1)) 89 __entry->ctx_64 = HCC_64BYTE_CONTEXT(xhci->hcc_params); 90 __entry->ctx_type = ctx->type; 91 __entry->ctx_dma = ctx->dma; [all …]
|
/linux-6.14.4/sound/soc/renesas/ |
D | siu_pcm.c | 1 // 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 <[email protected]> 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.14.4/drivers/dma/dw/ |
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-6.14.4/drivers/pci/endpoint/functions/ |
D | pci-epf-mhi.c | 1 // 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"), 145 const struct pci_epf_mhi_ep_info *info; member 163 return addr & (epf_mhi->epc_features->align -1); in get_align_offset() 171 struct pci_epf *epf = epf_mhi->epf; in __pci_epf_mhi_alloc_map() 172 struct pci_epc *epc = epf->epc; in __pci_epf_mhi_alloc_map() 177 return -ENOMEM; in __pci_epf_mhi_alloc_map() [all …]
|
/linux-6.14.4/drivers/mtd/nand/raw/ |
D | omap2.c | 1 // 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.14.4/drivers/net/wireless/broadcom/b43legacy/ |
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 …]
|