Lines Matching defs:speed
70 * cs5535_set_speed - Configure the chipset to the new speed
72 * @speed: desired speed
74 * cs5535_set_speed() configures the chipset to a new speed.
76 static void cs5535_set_speed(ide_drive_t *drive, const u8 speed)
82 if (speed < XFER_SW_DMA_0) {
86 cmd = pioa = speed - XFER_PIO_0;
95 /* Write the speed of the current drive */
100 /* And if nessesary - change the speed of the other drive */
119 if (speed >= XFER_UDMA_0 && speed <= XFER_UDMA_4)
120 reg |= cs5535_udma_timings[speed - XFER_UDMA_0];
121 else if (speed >= XFER_MW_DMA_0 && speed <= XFER_MW_DMA_2)
122 reg |= cs5535_mwdma_timings[speed - XFER_MW_DMA_0];