Lines Matching defs:timings
50 * Here are the standard PIO mode 0-4 timings for each "format".
51 * Format-0 uses fast data reg timings, with slower command reg timings.
52 * Format-1 uses fast timings for all registers, but won't work with all drives.
60 * After chip reset, the PIO timings are set to 0x0000e132, which is not valid.
62 #define CS5530_BAD_PIO(timings) (((timings)&~0x80000000)==0x0000e132)
80 * will have valid default PIO timings set up before we get here.
100 * different timings can still be chosen for each drive. We could
149 unsigned int reg, timings = 0;
163 case XFER_UDMA_0: timings = 0x00921250; break;
164 case XFER_UDMA_1: timings = 0x00911140; break;
165 case XFER_UDMA_2: timings = 0x00911030; break;
166 case XFER_MW_DMA_0: timings = 0x00077771; break;
167 case XFER_MW_DMA_1: timings = 0x00012121; break;
168 case XFER_MW_DMA_2: timings = 0x00002020; break;
182 timings |= reg & 0x80000000; /* preserve PIO format bit */
184 outl(timings, basereg + 4); /* write drive0 config register */
186 if (timings & 0x00100000)
187 reg |= 0x00100000; /* enable UDMA timings for both drives */
189 reg &= ~0x00100000; /* disable UDMA timings for both drives */
191 outl(timings, basereg + 12); /* write drive1 config register */
314 /* PIO timings not initialized? */
321 /* PIO timings not initialized? */