Lines Matching refs:UDT
227 #define UDT unit[drive].disktype macro
450 if (UDT) in fd_select_drive()
452 dma_wd.fdc_speed = UDT->fdc_speed; in fd_select_drive()
668 UDT = &atari_disk_type[type]; in do_format()
671 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format()
676 nsect = UDT->spt; in do_format()
760 else if (UD.track != ReqTrack << UDT->stretch) in do_fd_action()
1360 printk(KERN_ERR "floppy: clear format %p!\n", UDT); in floppy_revalidate()
1368 UDT = NULL; in floppy_revalidate()
1370 UDT = &default_params[drive]; in floppy_revalidate()
1382 ReqTrack = block / UDT->spt; in setup_req_params()
1383 ReqSector = block - ReqTrack * UDT->spt + 1; in setup_req_params()
1453 if (!UDT) { in redo_fd_request()
1455 UDT = atari_disk_type + StartDiskType[DriveType]; in redo_fd_request()
1456 set_capacity(floppy->disk, UDT->blocks); in redo_fd_request()
1473 UDT = &atari_disk_type[type]; in redo_fd_request()
1474 set_capacity(floppy->disk, UDT->blocks); in redo_fd_request()
1478 if (blk_rq_pos(fd_request) + 1 > UDT->blocks) { in redo_fd_request()
1539 if (!UDT) in fd_locked_ioctl()
1542 dtp = UDT; in fd_locked_ioctl()
1613 UDT = dtp; in fd_locked_ioctl()
1614 set_capacity(floppy->disk, UDT->blocks); in fd_locked_ioctl()
1659 UDT = dtp; in fd_locked_ioctl()
1660 set_capacity(floppy->disk, UDT->blocks); in fd_locked_ioctl()
1680 UDT = NULL; in fd_locked_ioctl()
1713 UDT = NULL; in fd_probe()