Home
last modified time | relevance | path

Searched +full:pio +full:- +full:transfer (Results 1 – 25 of 243) sorted by relevance

12345678910

/Linux-v6.1/drivers/i2c/busses/
Di2c-mxs.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2012-2013 Marek Vasut <marex@denx.de>
6 * Copyright (C) 2011-2012 Wolfram Sang, Pengutronix e.K.
8 * based on a (non-working) driver which was:
10 * Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
26 #include <linux/dma-mapping.h>
28 #include <linux/dma/mxs-dma.h>
30 #define DRIVER_NAME "mxs-i2c"
70 #define MXS_I2C_DATA(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x60 : 0xa0)
72 #define MXS_I2C_DEBUG0_CLR(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x78 : 0xb8)
[all …]
/Linux-v6.1/drivers/net/wireless/broadcom/b43legacy/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Broadcom 43xx-legacy wireless support (mac80211 stack)"
18 b43-fwcutter.
23 # Auto-select SSB PCI-HOST support, if possible
31 # Auto-select SSB PCICORE driver, if possible
46 # This config option automatically enables b43 HW-RNG support,
47 # if the HW-RNG core is enabled.
54 bool "Broadcom 43xx-legacy debugging"
70 prompt "Broadcom 43xx-legacy data transfer mode"
75 bool "DMA + PIO"
[all …]
/Linux-v6.1/include/linux/
Dcb710.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright by Michał Mirosław, 2008-2009
21 /* per-virtual-slot structure */
28 /* per-device structure */
50 /* slot port accessors - so the logic is more clear in the code */
55 iowrite##t(value, slot->iobase + port); \
61 return ioread##t(slot->iobase + port); \
68 (ioread##t(slot->iobase + port) & ~clear)|set, \
69 slot->iobase + port); \
91 return dev_get_drvdata(slot->pdev.dev.parent); in cb710_slot_to_chip()
[all …]
/Linux-v6.1/drivers/net/wireless/broadcom/b43/
Dpio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 PIO data transfer
8 Copyright (c) 2005-2008 Michael Buesch <m@bues.ch>
14 #include "pio.h"
30 * PIO controller ID and store the packet index number in generate_cookie()
37 cookie = (((u16)q->index + 1) << 12); in generate_cookie()
38 cookie |= pack->index; in generate_cookie()
48 struct b43_pio *pio = &dev->pio; in parse_cookie() local
54 q = pio->tx_queue_AC_BK; in parse_cookie()
57 q = pio->tx_queue_AC_BE; in parse_cookie()
[all …]
/Linux-v6.1/arch/mips/include/asm/sgi/
Dhpc3.h40 u32 _unused0[0x1000/4 - 2]; /* padding */
48 #define HPC3_PDMACTRL_SEL 0x00000002 /* little endian transfer */
51 #define HPC3_PDMACTRL_ACT 0x00000010 /* start dma transfer */
54 #define HPC3_PDMACTRL_HW 0x0000ff00 /* DMA High-water mark */
58 u32 _unused1[0x1000/4 - 1]; /* padding */
65 u32 _unused0[0x1000/4 - 2]; /* padding */
67 #define HPC3_SBCD_BCNTMSK 0x00003fff /* bytes to transfer from/to memory */
77 #define HPC3_SCTRL_AMASK 0x20 /* DMA active inhibits PIO */
89 #define HPC3_SDCFG_HW 0x01000 /* Enable 16-bit halfword DMA accesses to scsi */
95 volatile u32 pconfig; /* PIO configuration register */
[all …]
/Linux-v6.1/drivers/ata/
Dpata_pdc202xx_old.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_pdc202xx_old.c - Promise PDC202xx PATA for new ATA layer
29 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc2026x_cable_detect()
33 if (cis & (1 << (10 + ap->port_no))) in pdc2026x_cable_detect()
41 iowrite8(tf->command, ap->ioaddr.command_addr); in pdc202xx_exec_command()
47 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_irq_check()
51 if (ap->port_no) { in pdc202xx_irq_check()
67 * pdc202xx_configure_piomode - set chip PIO timing
70 * @pio: PIO mode
72 * Called to do the PIO mode setup. Our timing registers are shared
[all …]
Dlibata-sff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * libata-sff.c - helper library for PCI IDE BMDMA
5 * Copyright 2003-2006 Red Hat, Inc. All rights reserved.
6 * Copyright 2003-2006 Jeff Garzik
9 * as Documentation/driver-api/libata.rst
12 * http://www.sata-io.org/
54 * ata_sff_check_status - Read device status reg & clear interrupt
57 * Reads ATA taskfile status register for currently-selected device
66 return ioread8(ap->ioaddr.status_addr); in ata_sff_check_status()
71 * ata_sff_altstatus - Read device alternate status reg
[all …]
Dpata_ns87415.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_ns87415.c - NS87415 (and PARISC SUPERIO 87560) PATA
8 * as it requires timing reloads on PIO/DMA transitions but it is otherwise
20 * Implement lazy pio/dma switching for better performance
39 * ns87415_set_mode - Initialize host controller mode timings
46 * for PIO/DMA switches.
54 struct pci_dev *dev = to_pci_dev(ap->host->dev); in ns87415_set_mode()
55 int unit = 2 * ap->port_no + adev->devno; in ns87415_set_mode()
63 /* Timing register format is 17 - low nybble read timing with in ns87415_set_mode()
64 the high nybble being 16 - x for recovery time in PCI clocks */ in ns87415_set_mode()
[all …]
Dpata_arasan_cf.c21 * Tested on arch/arm/mach-spear13xx
120 /* CF Transfer Address */
124 /* Transfer Control */
167 /* ATA Status-Command */
171 /* Extended Write Data Port 0x200-0x3FC */
173 /* Extended Read Data Port 0x400-0x5FC */
199 /* status to be updated to framework regarding DMA transfer */
205 /* Completion for transfer complete interrupt from controller */
207 /* Completion for DMA transfer complete. */
213 /* DMA transfer work */
[all …]
Dpata_atiixp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_atiixp.c - ATI PATA for new ATA layer
5 * (C) 2009-2010 Bartlomiej Zolnierkiewicz
9 * linux/drivers/ide/pci/atiixp.c Version 0.01-bart2 Feb. 26, 2004
39 /* Board has onboard PATA<->SATA converters */
40 .ident = "MSI E350DM-E33",
43 DMI_MATCH(DMI_BOARD_NAME, "E350DM-E33(MS-7720)"),
51 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_cable_detect()
59 pci_read_config_byte(pdev, ATIIXP_IDE_UDMA_MODE + ap->port_no, &udma); in atiixp_cable_detect()
68 * atiixp_prereset - perform reset handling
[all …]
/Linux-v6.1/drivers/scsi/pcmcia/
Dsym53c500_cs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * A rewrite of the pcmcia-cs add-on driver for newer (circa 1997)
8 * The pcmcia-cs add-on version of this driver is not supported
36 * data in PIO mode. Note this can be changed via "sysfs".
72 #define SYNC_MODE 0 /* Synchronous transfer mode */
85 #define TC_LSB 0x00 /* transfer counter lsb */
86 #define TC_MSB 0x01 /* transfer counter msb */
94 #define SYNCPRD 0x06 /* synchronous transfer period */
103 #define TC_HIGH 0x0E /* transfer counter high */
110 #define PIO_FIFO 0x04 /* PIO FIFO registers (r/w) */
[all …]
/Linux-v6.1/drivers/spi/
Dspi-mxs.c1 // SPDX-License-Identifier: GPL-2.0+
15 // Based on code from U-Boot bootloader by:
18 // Based on spi-stmp.c, which is:
28 #include <linux/dma-mapping.h>
40 #include <linux/spi/mxs-spi.h>
43 #define DRIVER_NAME "mxs-spi"
55 #define TXRX_DEASSERT_CS (1<<1) /* De-assert CS at end of txrx */
66 struct mxs_spi *spi = spi_master_get_devdata(dev->master); in mxs_spi_setup_transfer()
67 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_setup_transfer()
68 const unsigned int hz = min(dev->max_speed_hz, t->speed_hz); in mxs_spi_setup_transfer()
[all …]
/Linux-v6.1/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2010-2015 Freescale Semiconductor, Inc.
18 #include <linux/dma/mxs-dma.h>
19 #include "gpmi-nand.h"
20 #include "gpmi-regs.h"
21 #include "bch-regs.h"
24 #define GPMI_NAND_GPMI_REGS_ADDR_RES_NAME "gpmi-nand"
52 while ((readl(addr) & mask) && --timeout) in clear_poll_bit()
96 while ((!(readl(reset_addr) & MODULE_CLKGATE)) && --timeout) in gpmi_reset_block()
116 return -ETIMEDOUT; in gpmi_reset_block()
[all …]
/Linux-v6.1/drivers/scsi/arm/
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.
63 * Purpose : initialises DMA/PIO
[all …]
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 …]
/Linux-v6.1/arch/sparc/kernel/
Dsbus.c1 // SPDX-License-Identifier: GPL-2.0
36 #define IOMMU_CONTROL (0x2400UL - 0x2400UL) /* IOMMU control register */
37 #define IOMMU_TSBBASE (0x2408UL - 0x2400UL) /* TSB base address register */
38 #define IOMMU_FLUSH (0x2410UL - 0x2400UL) /* IOMMU flush register */
39 #define IOMMU_VADIAG (0x4400UL - 0x2400UL) /* SBUS virtual address diagnostic */
40 #define IOMMU_TAGCMP (0x4408UL - 0x2400UL) /* TLB tag compare diagnostics */
41 #define IOMMU_LRUDIAG (0x4500UL - 0x2400UL) /* IOMMU LRU queue diagnostics */
42 #define IOMMU_TAGDIAG (0x4580UL - 0x2400UL) /* TLB tag diagnostics */
43 #define IOMMU_DRAMDIAG (0x4600UL - 0x2400UL) /* TLB data RAM diagnostics */
49 #define STRBUF_CONTROL (0x2800UL - 0x2800UL) /* Control */
[all …]
/Linux-v6.1/Documentation/driver-api/
Dlibata.rst12 transports for ATA and ATAPI devices, and SCSI<->ATA translation for ATA
16 internals, and a couple sample ATA low-level drivers.
22 is defined for every low-level libata
23 hardware driver, and it controls how the low-level driver interfaces
26 FIS-based drivers will hook into the system with ``->qc_prep()`` and
27 ``->qc_issue()`` high-level hooks. Hardware which behaves in a manner
33 ----------------------------------------------------------
51 Post-IDENTIFY device configuration
60 Typically used to apply device-specific fixups prior to issue of SET
61 FEATURES - XFER MODE, and prior to operation.
[all …]
/Linux-v6.1/sound/soc/dwc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 bool "PCM PIO extension for I2S driver"
16 a PCM and uses PIO to transfer data.
/Linux-v6.1/drivers/usb/musb/
Dtusb6010_omap.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/dma-mapping.h>
20 #define to_chdat(c) ((struct tusb_omap_dma_ch *)(c)->private_data)
63 u32 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); in tusb_omap_use_shared_dmareq()
66 dev_dbg(chdat->musb->controller, "ep%i dmareq0 is busy for ep%i\n", in tusb_omap_use_shared_dmareq()
67 chdat->epnum, reg & 0xf); in tusb_omap_use_shared_dmareq()
68 return -EAGAIN; in tusb_omap_use_shared_dmareq()
71 if (chdat->tx) in tusb_omap_use_shared_dmareq()
72 reg = (1 << 4) | chdat->epnum; in tusb_omap_use_shared_dmareq()
74 reg = chdat->epnum; in tusb_omap_use_shared_dmareq()
[all …]
/Linux-v6.1/include/uapi/rdma/hfi/
Dhfi1_ioctl.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
28 * - Redistributions of source code must retain the above copyright
30 * - Redistributions in binary form must reproduce the above copyright
34 * - Neither the name of Intel Corporation nor the names of its
89 __u16 credits; /* number of PIO credits for this context */
100 /* virtual address of first page in transfer */
106 /* length of transfer buffer programmed by this request */
112 * open to get implementation-specific info, and info specific to this
133 /* PIO credit return address, */
136 * Base address of write-only pio buffers for this process.
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Drenesas,rsnd.txt1 Renesas R-Car sound
7 Renesas R-Car and RZ/G sound is constructed from below modules
11 - SRC : Sampling Rate Converter
12 - CMD
13 - CTU : Channel Transfer Unit
14 - MIX : Mixer
15 - DVC : Digital Volume and Mute Function
25 Multi channel is supported by Multi-SSI, or TDM-SSI.
27 Multi-SSI : 6ch case, you can use stereo x 3 SSI
28 TDM-SSI : 6ch case, you can use TDM
[all …]
/Linux-v6.1/drivers/scsi/isci/
Drequest.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
64 * isci_stp_request - extra request infrastructure to handle pio/atapi protocol
65 * @pio_len - number of bytes requested at PIO setup
66 * @status - pio setup ending status value to tell us if we need
67 * to wait for another fis or if the transfer is complete. Upon
69 * @sgl - track pio transfer progress as we iterate through the sgl
103 * - TMF requests are completed in the thread that started them;
104 * - regular requests are completed in the request completion callback
[all …]
/Linux-v6.1/drivers/mmc/host/
Ddw_mmc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
17 #include <linux/fault-inject.h>
59 * struct dw_mci - MMC controller state shared between all slots
64 * @sg: Scatterlist entry currently being processed by PIO code, if any.
65 * @sg_miter: PIO mapping scatterlist iterator.
70 * transfer is in progress.
71 * @stop_abort: The command currently prepared for stoping transfer.
72 * @prev_blksz: The former transfer blksz record.
74 * @use_dma: Which DMA channel is in use for the current transfer, zero
75 * denotes PIO mode.
[all …]
/Linux-v6.1/include/linux/spi/
Dspi_bitbang.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 u16 flags; /* extra spi->mode support */
16 * for this transfer; zeroes restore defaults from spi_device.
26 * already have one (transfer.{tx,rx}_dma is zero), or use PIO
37 /* you can call these default bitbang->master methods from your custom
/Linux-v6.1/Documentation/spi/
Dpxa2xx.rst7 (see Documentation/spi/spi-summary.rst). The driver has the following features
9 - Support for any PXA2xx and compatible SSP.
10 - SSP PIO and SSP DMA data transfers.
11 - External and Internal (SSPFRM) chip selects.
12 - Per slave device (chip) configuration.
13 - Full suspend, freeze, resume support.
21 -----------------------------------
23 arch/.../mach-*/board-*.c as a "platform device". The master configuration
44 ------------------
66 .name = "pxa2xx-spi", /* MUST BE THIS VALUE, so device match driver */
[all …]

12345678910