| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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> 57 FAS216_Info info; member 66 * Params : ec - expansion card structure 67 * : irqnr - interrupt number 72 struct powertec_info *info = ec->irq_data; in powertecscsi_irqenable() local 73 writeb(POWERTEC_INTR_ENABLE, info->base + POWERTEC_INTR_CONTROL); in powertecscsi_irqenable() 78 * 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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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_dma_info_by_name() 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 …]
|
| /kernel/linux/linux-6.6/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_dma_info_by_name() local [all …]
|
| /kernel/linux/linux-5.10/drivers/net/hamradio/ |
| D | dmascc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for high-speed SCC boards (those with DMA support) 4 * Copyright (C) 1997-2000 Klaus Kudielka 6 * S5SCC/DMA support by Janko Koleznik S52HI 27 #include <asm/dma.h> 50 #define HW_S5 { "S5SCC/DMA", 0x200, 0x10, 0x10, 32, \ 162 int dma; /* -1 (disable), 0, 1, 3 */ member 185 struct scc_info *info; member 238 static inline void z8530_isr(struct scc_info *info); 263 MODULE_DESCRIPTION("Driver for high-speed SCC boards"); [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/ |
| D | synclink.c | 1 // SPDX-License-Identifier: GPL-1.0+ 90 #include <asm/dma.h> 96 #include <linux/dma-mapping.h> 105 #define COPY_FROM_USER(error,dest,src,size) error = copy_from_user(dest,src,size) ? -EFAULT : 0 107 #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 136 u32 phys_addr; /* 32-bit flat physical address of data buffer */ 141 u32 link; /* 32-bit flat link to next buffer entry */ 227 int num_tx_dma_buffers; /* number of tx dma frames required */ 231 int start_tx_dma_buffer; /* tx dma buffer to start tx dma operation */ 232 int current_tx_buffer; /* next tx dma buffer to be loaded */ [all …]
|
| /kernel/linux/linux-6.6/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 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 …]
|
| /kernel/linux/linux-5.10/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 25 #include <linux/dma-mapping.h> 80 struct s3c24xx_uart_info *info; member 131 struct s3c24xx_uart_info *info; member 140 struct s3c24xx_uart_dma *dma; member 153 #define portaddr(port, reg) ((port)->membase + (reg)) 155 ((unsigned long *)(unsigned long)((port)->membase + (reg))) 159 switch (port->iotype) { in rd_reg() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/debug/interface/ |
| D | ia_css_debug.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/debug/interface/ |
| D | ia_css_debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 46 /*! Level for tracing info messages */ 107 /* Logging macros for non-API functions. These have a lower trace level */ 182 /*! @brief Dump dma controller state. 183 * Dumps the dma controller state to tracing output. 206 /*! @brief Dump all related binary info data 207 * @param[in] bi Binary info struct. 221 /*! @brief Dump dma isp fifo state 222 * Dumps the dma isp fifo state to tracing output. 227 /*! @brief Dump dma sp fifo state [all …]
|
| /kernel/linux/linux-5.10/arch/sparc/include/asm/ |
| D | parport.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* parport.h: sparc64 specific parport initialization and dma. 19 * While sparc64 doesn't have an ISA DMA API, we provide something that looks 38 struct ebus_dma_info info; member 51 return -EINVAL; in request_dma() 53 return -EBUSY; in request_dma() 60 printk(KERN_WARNING "Trying to free DMA%d\n", dmanr); in free_dma() 64 printk(KERN_WARNING "Trying to free free DMA%d\n", dmanr); in free_dma() 71 ebus_dma_enable(&sparc_ebus_dmas[dmanr].info, 1); in enable_dma() 73 if (ebus_dma_request(&sparc_ebus_dmas[dmanr].info, in enable_dma() [all …]
|
| /kernel/linux/linux-6.6/arch/sparc/include/asm/ |
| D | parport.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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
| D | pci.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|