Lines Matching full:udma
49 * non UDMA devices restrict each others performance. It also has a
57 * - ATAPI UDMA is ok but not MWDMA it seems
83 u16 udma[2]; /* Cached UDMA values (per drive) */ member
130 * it821x_program_udma - program the UDMA registers
134 * Program the UDMA timing for this drive according to the
146 /* Program UDMA timing bits */ in it821x_program_udma()
213 * Reprogram the UDMA/PIO of the pair drive for the switch in it821x_clock_strategy()
216 if(pair && itdev->udma[1-unit] != UDMA_OFF) { in it821x_clock_strategy()
217 it821x_program_udma(pair, itdev->udma[1-unit]); in it821x_clock_strategy()
221 * Reprogram the UDMA/PIO of our drive for the switch. in it821x_clock_strategy()
224 if(itdev->udma[unit] != UDMA_OFF) { in it821x_clock_strategy()
225 it821x_program_udma(drive, itdev->udma[unit]); in it821x_clock_strategy()
294 itdev->udma[unit] = UDMA_OFF; in it821x_tune_mwdma()
296 /* UDMA bits off - Revision 0x10 do them in pairs */ in it821x_tune_mwdma()
310 * it821x_tune_udma - tune a channel for UDMA
315 * controller when doing UDMA modes in pass through.
325 static u16 udma[] = { 0x4433, 0x4231, 0x3121, 0x2121, 0x1111, 0x2211, 0x1111 }; in it821x_tune_udma() local
329 itdev->want[unit][0] = 3; /* UDMA is high priority */ in it821x_tune_udma()
331 itdev->udma[unit] = udma[mode_wanted]; in it821x_tune_udma()
333 itdev->udma[unit] |= 0x8080; /* UDMA 5/6 select on */ in it821x_tune_udma()
335 /* UDMA on. Again revision 0x10 must do the pair */ in it821x_tune_udma()
344 it821x_program_udma(drive, itdev->udma[unit]); in it821x_tune_udma()
355 * timing value is loaded into the master and slave UDMA clock
369 else if(itdev->udma[unit] != UDMA_OFF && itdev->timing10) in it821x_dma_start()
370 it821x_program_udma(drive, itdev->udma[unit]); in it821x_dma_start()