Lines Matching refs:UDT
310 #define UDT unit[drive].disktype macro
542 if (UDT) in fd_select_drive()
544 dma_wd.fdc_speed = UDT->fdc_speed; in fd_select_drive()
771 UDT = &atari_disk_type[type]; in do_format()
774 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format()
780 nsect = UDT->spt; in do_format()
868 else if (UD.track != ReqTrack << UDT->stretch) in do_fd_action()
1466 printk(KERN_ERR "floppy: clear format %p!\n", UDT); in floppy_revalidate()
1474 UDT = NULL; in floppy_revalidate()
1476 UDT = &default_params[drive]; in floppy_revalidate()
1488 ReqTrack = block / UDT->spt; in setup_req_params()
1489 ReqSector = block - ReqTrack * UDT->spt + 1; in setup_req_params()
1540 if (!UDT) { in ataflop_queue_rq()
1542 UDT = atari_disk_type + StartDiskType[DriveType]; in ataflop_queue_rq()
1543 set_capacity(bd->rq->q->disk, UDT->blocks); in ataflop_queue_rq()
1562 UDT = &atari_disk_type[type]; in ataflop_queue_rq()
1563 set_capacity(bd->rq->q->disk, UDT->blocks); in ataflop_queue_rq()
1612 if (!UDT) in fd_locked_ioctl()
1615 dtp = UDT; in fd_locked_ioctl()
1686 UDT = dtp; in fd_locked_ioctl()
1687 set_capacity(disk, UDT->blocks); in fd_locked_ioctl()
1732 UDT = dtp; in fd_locked_ioctl()
1733 set_capacity(disk, UDT->blocks); in fd_locked_ioctl()
1753 UDT = NULL; in fd_locked_ioctl()
1788 UDT = NULL; in fd_probe()