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()
750 UDT = &atari_disk_type[type]; in do_format()
753 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format()
758 nsect = UDT->spt; in do_format()
844 else if (UD.track != ReqTrack << UDT->stretch) in do_fd_action()
1441 printk(KERN_ERR "floppy: clear format %p!\n", UDT); in floppy_revalidate()
1449 UDT = NULL; in floppy_revalidate()
1451 UDT = &default_params[drive]; in floppy_revalidate()
1463 ReqTrack = block / UDT->spt; in setup_req_params()
1464 ReqSector = block - ReqTrack * UDT->spt + 1; in setup_req_params()
1518 if (!UDT) { in ataflop_queue_rq()
1520 UDT = atari_disk_type + StartDiskType[DriveType]; in ataflop_queue_rq()
1521 set_capacity(bd->rq->rq_disk, UDT->blocks); in ataflop_queue_rq()
1538 UDT = &atari_disk_type[type]; in ataflop_queue_rq()
1539 set_capacity(bd->rq->rq_disk, UDT->blocks); in ataflop_queue_rq()
1590 if (!UDT) in fd_locked_ioctl()
1593 dtp = UDT; in fd_locked_ioctl()
1663 UDT = dtp; in fd_locked_ioctl()
1664 set_capacity(disk, UDT->blocks); in fd_locked_ioctl()
1707 UDT = dtp; in fd_locked_ioctl()
1708 set_capacity(disk, UDT->blocks); in fd_locked_ioctl()
1728 UDT = NULL; in fd_locked_ioctl()
1763 UDT = NULL; in fd_probe()