Lines Matching refs:udma
95 u16 udma[2]; /* Cached UDMA values (per drive) */
232 if (pair && itdev->udma[1-unit] != UDMA_OFF) {
233 it821x_program_udma(ap, pair, itdev->udma[1-unit]);
240 if (itdev->udma[unit] != UDMA_OFF) {
241 it821x_program_udma(ap, adev, itdev->udma[unit]);
289 static const u16 udma[] = { 0x4433, 0x4231, 0x3121, 0x2121, 0x1111, 0x2211, 0x1111 };
304 itdev->udma[unit] = udma[mode_wanted];
306 itdev->udma[unit] |= 0x8080; /* UDMA 5/6 select on */
316 it821x_program_udma(ap, adev, itdev->udma[unit]);
323 itdev->udma[unit] = UDMA_OFF;
354 else if (itdev->udma[unit] != UDMA_OFF && itdev->timing10)
355 it821x_program_udma(ap, adev, itdev->udma[unit]);