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()
772 UDT = &atari_disk_type[type]; in do_format()
775 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format()
781 nsect = UDT->spt; in do_format()
869 else if (UD.track != ReqTrack << UDT->stretch) in do_fd_action()
1467 printk(KERN_ERR "floppy: clear format %p!\n", UDT); in floppy_revalidate()
1475 UDT = NULL; in floppy_revalidate()
1477 UDT = &default_params[drive]; in floppy_revalidate()
1489 ReqTrack = block / UDT->spt; in setup_req_params()
1490 ReqSector = block - ReqTrack * UDT->spt + 1; in setup_req_params()
1541 if (!UDT) { in ataflop_queue_rq()
1543 UDT = atari_disk_type + StartDiskType[DriveType]; in ataflop_queue_rq()
1544 set_capacity(bd->rq->q->disk, UDT->blocks); in ataflop_queue_rq()
1563 UDT = &atari_disk_type[type]; in ataflop_queue_rq()
1564 set_capacity(bd->rq->q->disk, UDT->blocks); in ataflop_queue_rq()
1613 if (!UDT) in fd_locked_ioctl()
1616 dtp = UDT; in fd_locked_ioctl()
1687 UDT = dtp; in fd_locked_ioctl()
1688 set_capacity(disk, UDT->blocks); in fd_locked_ioctl()
1733 UDT = dtp; in fd_locked_ioctl()
1734 set_capacity(disk, UDT->blocks); in fd_locked_ioctl()
1754 UDT = NULL; in fd_locked_ioctl()
1791 UDT = NULL; in fd_probe()