• Home
  • Raw
  • Download

Lines Matching +full:ultra +full:- +full:low

2  * Copyright (C) 1999-2002	Andre Hedrick <andre@linux-ide.org>
68 for ( ; chipset_table->xfer_speed ; chipset_table++) in pci_bus_clock_list()
69 if (chipset_table->xfer_speed == speed) { in pci_bus_clock_list()
70 return chipset_table->chipset_settings; in pci_bus_clock_list()
72 return chipset_table->chipset_settings; in pci_bus_clock_list()
77 for ( ; chipset_table->xfer_speed ; chipset_table++) in pci_bus_clock_list_ultra()
78 if (chipset_table->xfer_speed == speed) { in pci_bus_clock_list_ultra()
79 return chipset_table->ultra_settings; in pci_bus_clock_list_ultra()
81 return chipset_table->ultra_settings; in pci_bus_clock_list_ultra()
86 struct pci_dev *dev = to_pci_dev(hwif->dev); in aec6210_set_mode()
88 struct chipset_bus_clock_list_entry *bus_clock = host->host_priv; in aec6210_set_mode()
90 u8 ultra = 0, ultra_conf = 0; in aec6210_set_mode() local
92 const u8 speed = drive->dma_mode; in aec6210_set_mode()
96 /* 0x40|(2*drive->dn): Active, 0x41|(2*drive->dn): Recovery */ in aec6210_set_mode()
97 pci_read_config_word(dev, 0x40|(2*drive->dn), &d_conf); in aec6210_set_mode()
100 pci_write_config_word(dev, 0x40|(2*drive->dn), d_conf); in aec6210_set_mode()
104 pci_read_config_byte(dev, 0x54, &ultra); in aec6210_set_mode()
105 tmp1 = ((0x00 << (2*drive->dn)) | (ultra & ~(3 << (2*drive->dn)))); in aec6210_set_mode()
107 tmp2 = ((ultra_conf << (2*drive->dn)) | (tmp1 & ~(3 << (2*drive->dn)))); in aec6210_set_mode()
114 struct pci_dev *dev = to_pci_dev(hwif->dev); in aec6260_set_mode()
116 struct chipset_bus_clock_list_entry *bus_clock = host->host_priv; in aec6260_set_mode()
117 u8 unit = drive->dn & 1; in aec6260_set_mode()
119 u8 ultra = 0, drive_conf = 0, ultra_conf = 0; in aec6260_set_mode() local
120 const u8 speed = drive->dma_mode; in aec6260_set_mode()
124 /* high 4-bits: Active, low 4-bits: Recovery */ in aec6260_set_mode()
125 pci_read_config_byte(dev, 0x40|drive->dn, &drive_conf); in aec6260_set_mode()
127 pci_write_config_byte(dev, 0x40|drive->dn, drive_conf); in aec6260_set_mode()
129 pci_read_config_byte(dev, (0x44|hwif->channel), &ultra); in aec6260_set_mode()
130 tmp1 = ((0x00 << (4*unit)) | (ultra & ~(7 << (4*unit)))); in aec6260_set_mode()
133 pci_write_config_byte(dev, (0x44|hwif->channel), tmp2); in aec6260_set_mode()
139 drive->dma_mode = drive->pio_mode; in aec_set_pio_mode()
140 hwif->port_ops->set_dma_mode(hwif, drive); in aec_set_pio_mode()
146 if ((dev->device == PCI_DEVICE_ID_ARTOP_ATP865) || in init_chipset_aec62xx()
147 (dev->device == PCI_DEVICE_ID_ARTOP_ATP865R)) { in init_chipset_aec62xx()
165 struct pci_dev *dev = to_pci_dev(hwif->dev); in atp86x_cable_detect()
166 u8 ata66 = 0, mask = hwif->channel ? 0x02 : 0x01; in atp86x_cable_detect()
243 * aec62xx_init_one - called when a AEC is found
250 * NOTE: since we're going to modify the 'name' field for AEC-6[26]80[R]
258 u8 idx = id->driver_data; in aec62xx_init_one()