| /kernel/linux/linux-5.10/drivers/ide/ |
| D | ide-xfer-mode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * ide_xfer_verbose - return IDE mode names 22 * @mode: transfer mode 42 s = "PIO SLOW"; in ide_xfer_verbose() 51 * ide_get_best_pio_mode - get PIO mode from drive 56 * This routine returns the recommended PIO settings for a given drive, 57 * based on the drive->id information and the ide_pio_blacklist[]. 59 * Drive PIO mode is auto-selected if 255 is passed as mode_wanted. 60 * This is used by most chipset support modules when "auto-tuning". 65 u16 *id = drive->id; in ide_get_best_pio_mode() [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-mxs.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-mxs.c | 1 // 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. 25 #include <linux/dma-mapping.h> 27 #include <linux/dma/mxs-dma.h> 29 #define DRIVER_NAME "mxs-i2c" 69 #define MXS_I2C_DATA(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x60 : 0xa0) 71 #define MXS_I2C_DEBUG0_CLR(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x78 : 0xb8) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/ |
| D | Kconfig | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
| D | Kconfig | 1 # 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | cb710.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | cb710.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
| D | pio.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
| D | pio.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/sgi/ |
| D | hpc3.h | 40 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 …]
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/sgi/ |
| D | hpc3.h | 40 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 …]
|
| /kernel/linux/linux-5.10/drivers/ata/ |
| D | pata_pdc202xx_old.c | 1 // 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 DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command); in pdc202xx_exec_command() 43 iowrite8(tf->command, ap->ioaddr.command_addr); in pdc202xx_exec_command() 49 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_irq_check() 53 if (ap->port_no) { in pdc202xx_irq_check() 69 * pdc202xx_configure_piomode - set chip PIO timing 72 * @pio: PIO mode [all …]
|
| D | libata-sff.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/ata/ |
| D | pata_pdc202xx_old.c | 1 // 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 …]
|
| D | libata-sff.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/scsi/pcmcia/ |
| D | sym53c500_cs.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/scsi/pcmcia/ |
| D | sym53c500_cs.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/gpmi-nand/ |
| D | gpmi-nand.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/ata/ |
| D | ata-generic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/ata-generic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 Generic Parallel ATA controllers supporting PIO modes only. 18 - enum: 19 - arm,vexpress-cf 20 - fsl,mpc8349emitx-pata 21 - const: ata-generic [all …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-mxs.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | spi-mxs.c | 1 // 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> 42 #include <linux/dma/mxs-dma.h> 44 #define DRIVER_NAME "mxs-spi" 56 #define TXRX_DEASSERT_CS (1<<1) /* De-assert CS at end of txrx */ 67 struct mxs_spi *spi = spi_master_get_devdata(dev->master); in mxs_spi_setup_transfer() 68 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_setup_transfer() [all …]
|
| /kernel/linux/linux-6.6/drivers/mtd/nand/raw/gpmi-nand/ |
| D | gpmi-nand.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/sound/soc/dwc/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 bool "PCM PIO extension for I2S driver" 16 a PCM and uses PIO to transfer data.
|
| /kernel/linux/linux-5.10/sound/soc/dwc/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 bool "PCM PIO extension for I2S driver" 16 a PCM and uses PIO to transfer data.
|
| /kernel/linux/linux-5.10/drivers/scsi/arm/ |
| 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. 59 * Purpose : initialises DMA/PIO [all …]
|