Lines Matching refs:UDT
307 #define UDT unit[drive].disktype macro
529 if (UDT) in fd_select_drive()
531 dma_wd.fdc_speed = UDT->fdc_speed; in fd_select_drive()
747 UDT = &atari_disk_type[type]; in do_format()
750 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format()
755 nsect = UDT->spt; in do_format()
841 else if (UD.track != ReqTrack << UDT->stretch) in do_fd_action()
1438 printk(KERN_ERR "floppy: clear format %p!\n", UDT); in floppy_revalidate()
1446 UDT = NULL; in floppy_revalidate()
1448 UDT = &default_params[drive]; in floppy_revalidate()
1460 ReqTrack = block / UDT->spt; in setup_req_params()
1461 ReqSector = block - ReqTrack * UDT->spt + 1; in setup_req_params()
1515 if (!UDT) { in ataflop_queue_rq()
1517 UDT = atari_disk_type + StartDiskType[DriveType]; in ataflop_queue_rq()
1518 set_capacity(floppy->disk, UDT->blocks); in ataflop_queue_rq()
1535 UDT = &atari_disk_type[type]; in ataflop_queue_rq()
1536 set_capacity(floppy->disk, UDT->blocks); in ataflop_queue_rq()
1587 if (!UDT) in fd_locked_ioctl()
1590 dtp = UDT; in fd_locked_ioctl()
1660 UDT = dtp; in fd_locked_ioctl()
1661 set_capacity(floppy->disk, UDT->blocks); in fd_locked_ioctl()
1704 UDT = dtp; in fd_locked_ioctl()
1705 set_capacity(floppy->disk, UDT->blocks); in fd_locked_ioctl()
1725 UDT = NULL; in fd_locked_ioctl()
1760 UDT = NULL; in fd_probe()