Lines Matching refs:dtp
1592 struct atari_disk_type *dtp; in fd_locked_ioctl() local
1606 dtp = &atari_disk_type[type]; in fd_locked_ioctl()
1609 drive, dtp, dtp->name); in fd_locked_ioctl()
1615 dtp = UDT; in fd_locked_ioctl()
1618 getprm.size = dtp->blocks; in fd_locked_ioctl()
1619 getprm.sect = dtp->spt; in fd_locked_ioctl()
1621 getprm.track = dtp->blocks/dtp->spt/2; in fd_locked_ioctl()
1622 getprm.stretch = dtp->stretch; in fd_locked_ioctl()
1677 dtp = &atari_disk_type[setidx]; in fd_locked_ioctl()
1680 if ( dtp->blocks == setprm.size in fd_locked_ioctl()
1681 && dtp->spt == setprm.sect in fd_locked_ioctl()
1682 && dtp->stretch == setprm.stretch ) { in fd_locked_ioctl()
1685 drive, dtp->name, dtp); in fd_locked_ioctl()
1686 UDT = dtp; in fd_locked_ioctl()
1691 default_params[drive].name = dtp->name; in fd_locked_ioctl()
1692 default_params[drive].spt = dtp->spt; in fd_locked_ioctl()
1693 default_params[drive].blocks = dtp->blocks; in fd_locked_ioctl()
1694 default_params[drive].fdc_speed = dtp->fdc_speed; in fd_locked_ioctl()
1695 default_params[drive].stretch = dtp->stretch; in fd_locked_ioctl()
1707 dtp = &default_params[drive]; in fd_locked_ioctl()
1710 dtp = &user_params[drive]; in fd_locked_ioctl()
1712 dtp->name = "user format"; in fd_locked_ioctl()
1713 dtp->blocks = setprm.size; in fd_locked_ioctl()
1714 dtp->spt = setprm.sect; in fd_locked_ioctl()
1716 dtp->fdc_speed = 3; in fd_locked_ioctl()
1718 dtp->fdc_speed = 0; in fd_locked_ioctl()
1719 dtp->stretch = setprm.stretch; in fd_locked_ioctl()
1723 drive, dtp->blocks, dtp->spt, dtp->stretch); in fd_locked_ioctl()
1726 if (setprm.track != dtp->blocks/dtp->spt/2 || in fd_locked_ioctl()
1732 UDT = dtp; in fd_locked_ioctl()