Lines Matching +full:mode +full:- +full:recovery
7 * PIO mode and smarter silicon.
10 * drive for the right PIO mode. We must also ignore all the blacklists
41 #include <linux/dma-mapping.h>
49 int recovery; member
62 struct pci_dev *pdev = to_pci_dev(hwif->dev); in cs5520_set_pio_mode()
63 int controller = drive->dn > 1 ? 1 : 0; in cs5520_set_pio_mode()
64 const u8 pio = drive->pio_mode - XFER_PIO_0; in cs5520_set_pio_mode()
66 /* 8bit CAT/CRT - 8bit command timing for channel */ in cs5520_set_pio_mode()
68 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_pio_mode()
71 /* 0x64 - 16bit Primary, 0x68 - 16bit Secondary */ in cs5520_set_pio_mode()
75 pci_write_config_byte(pdev, 0x64 + 4*controller + (drive->dn&1), in cs5520_set_pio_mode()
76 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_pio_mode()
79 pci_write_config_byte(pdev, 0x66 + 4*controller + (drive->dn&1), in cs5520_set_pio_mode()
80 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_pio_mode()
88 drive->pio_mode = XFER_PIO_0 + 0; in cs5520_set_dma_mode()
122 printk(KERN_WARNING "%s: Unable to enable 55x0.\n", d->name); in cs5520_init_one()
123 return -ENODEV; in cs5520_init_one()
126 if (dma_set_mask(&dev->dev, DMA_BIT_MASK(32))) { in cs5520_init_one()
128 d->name); in cs5520_init_one()
129 return -ENODEV; in cs5520_init_one()