Lines Matching full:speed
67 * cs5535_set_speed - Configure the chipset to the new speed
69 * @speed: desired speed
71 * cs5535_set_speed() configures the chipset to a new speed.
73 static void cs5535_set_speed(ide_drive_t *drive, const u8 speed) in cs5535_set_speed() argument
79 if (speed < XFER_SW_DMA_0) { in cs5535_set_speed()
83 cmd = pioa = speed - XFER_PIO_0; in cs5535_set_speed()
92 /* Write the speed of the current drive */ in cs5535_set_speed()
97 /* And if nessesary - change the speed of the other drive */ in cs5535_set_speed()
116 if (speed >= XFER_UDMA_0 && speed <= XFER_UDMA_4) in cs5535_set_speed()
117 reg |= cs5535_udma_timings[speed - XFER_UDMA_0]; in cs5535_set_speed()
118 else if (speed >= XFER_MW_DMA_0 && speed <= XFER_MW_DMA_2) in cs5535_set_speed()
119 reg |= cs5535_mwdma_timings[speed - XFER_MW_DMA_0]; in cs5535_set_speed()