Lines Matching +full:multi +full:- +full:word
1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_sch.c - Intel SCH PATA controllers
10 * Intel SCH (AF82US15W, AF82US15L, AF82UL11L) chipsets -- see spec at:
32 MDM = (0x03 << 8), /* Multi-word DMA Mode Bit Mask */
80 MODULE_DESCRIPTION("SCSI low-level driver for Intel SCH PATA controllers");
86 * sch_set_piomode - Initialize host controller PATA PIO timings
98 unsigned int pio = adev->pio_mode - XFER_PIO_0; in sch_set_piomode()
99 struct pci_dev *dev = to_pci_dev(ap->host->dev); in sch_set_piomode()
100 unsigned int port = adev->devno ? D1TIM : D0TIM; in sch_set_piomode()
109 if (adev->class == ATA_DEV_ATA) in sch_set_piomode()
115 * sch_set_dmamode - Initialize host controller PATA DMA timings
127 unsigned int dma_mode = adev->dma_mode; in sch_set_dmamode()
128 struct pci_dev *dev = to_pci_dev(ap->host->dev); in sch_set_dmamode()
129 unsigned int port = adev->devno ? D1TIM : D0TIM; in sch_set_dmamode()
138 data |= (dma_mode - XFER_UDMA_0) << 16; in sch_set_dmamode()
141 data |= (dma_mode - XFER_MW_DMA_0) << 8; in sch_set_dmamode()
147 * sch_init_one - Register SCH ATA PCI device with kernel services
155 * Zero on success, or -ERRNO value.
162 ata_print_version_once(&pdev->dev, DRV_VERSION); in sch_init_one()