Lines Matching refs: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)
79 if (speed < XFER_SW_DMA_0) {
83 cmd = pioa = speed - XFER_PIO_0;
92 /* Write the speed of the current drive */
97 /* And if nessesary - change the speed of the other drive */
116 if (speed >= XFER_UDMA_0 && speed <= XFER_UDMA_4)
117 reg |= cs5535_udma_timings[speed - XFER_UDMA_0];
118 else if (speed >= XFER_MW_DMA_0 && speed <= XFER_MW_DMA_2)
119 reg |= cs5535_mwdma_timings[speed - XFER_MW_DMA_0];