Lines Matching +full:udma +full:- +full:c
2 * pata_piccolo.c - Toshiba Piccolo PATA/SATA controller driver.
4 * This is basically an update to ata_generic.c to add Toshiba Piccolo support
9 * Elements from ide/pci/generic.c
10 * Copyright (C) 2001-2002 Andre Hedrick <andre@linux-ide.org>
11 * Portions (C) Copyright 2002 Red Hat Inc <alan@redhat.com>
36 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in tosh_set_piomode()
40 conf |= pio[adev->pio_mode - XFER_PIO_0]; in tosh_set_piomode()
46 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in tosh_set_dmamode()
50 if (adev->dma_mode >= XFER_UDMA_0) { in tosh_set_dmamode()
51 int udma = adev->dma_mode - XFER_UDMA_0; in tosh_set_dmamode() local
53 conf |= (udma + 2) << 28; in tosh_set_dmamode()
54 conf |= (2 - udma) * 0x111; /* spread into three nibbles */ in tosh_set_dmamode()
59 conf |= mwdma[adev->dma_mode - XFER_MW_DMA_0]; in tosh_set_dmamode()
77 * ata_tosh_init_one - attach generic IDE