Lines Matching refs:udma
96 u16 udma[2]; /* Cached UDMA values (per drive) */
233 if (pair && itdev->udma[1-unit] != UDMA_OFF) {
234 it821x_program_udma(ap, pair, itdev->udma[1-unit]);
241 if (itdev->udma[unit] != UDMA_OFF) {
242 it821x_program_udma(ap, adev, itdev->udma[unit]);
290 static const u16 udma[] = { 0x4433, 0x4231, 0x3121, 0x2121, 0x1111, 0x2211, 0x1111 };
305 itdev->udma[unit] = udma[mode_wanted];
307 itdev->udma[unit] |= 0x8080; /* UDMA 5/6 select on */
317 it821x_program_udma(ap, adev, itdev->udma[unit]);
324 itdev->udma[unit] = UDMA_OFF;
355 else if (itdev->udma[unit] != UDMA_OFF && itdev->timing10)
356 it821x_program_udma(ap, adev, itdev->udma[unit]);