Lines Matching refs:ft

242 	struct	fd_type *ft;	/* pointer to current type descriptor */  member
298 fdprinttype(struct fd_type *ft) in fdprinttype() argument
302 ft->sectrac, ft->secsize, ft->datalen, ft->gap, ft->tracks, in fdprinttype()
303 ft->size, ft->trans, ft->heads, ft->f_gap, ft->f_inter, in fdprinttype()
304 ft->offset_side2, ft->flags); in fdprinttype()
308 fdsettype(struct fd_data *fd, struct fd_type *ft) in fdsettype() argument
310 fd->ft = ft; in fdsettype()
311 ft->size = ft->sectrac * ft->heads * ft->tracks; in fdsettype()
312 fd->sectorsize = 128 << fd->ft->secsize; in fdsettype()
845 fddsr_wr(fdc, fd->ft->trans); in fdc_worker()
847 fdctl_wr(fdc, fd->ft->trans); in fdc_worker()
891 mfm = (fd->ft->flags & FL_MFM)? NE7CMD_MFM: 0; in fdc_worker()
892 steptrac = (fd->ft->flags & FL_2STEP)? 2: 1; in fdc_worker()
893 i = fd->ft->sectrac * fd->ft->heads; in fdc_worker()
898 head = sec / fd->ft->sectrac; in fdc_worker()
899 sec = sec % fd->ft->sectrac + 1; in fdc_worker()
1012 fd->ft->secsize, /* sector size */ in fdc_worker()
1013 fd->ft->sectrac, /* sectors/track */ in fdc_worker()
1014 fd->ft->gap, /* gap size */ in fdc_worker()
1015 fd->ft->datalen, /* data length */ in fdc_worker()
1027 fd->ft->secsize, /* sector size */ in fdc_worker()
1028 fd->ft->sectrac, /* sectors/track */ in fdc_worker()
1029 fd->ft->gap, /* gap size */ in fdc_worker()
1030 fd->ft->datalen, /* data length */ in fdc_worker()
1284 (finfo->cyl * fd->ft->heads + finfo->head) * in fdmisccmd()
1285 fd->ft->sectrac; in fdmisccmd()
1290 (idfield->cyl * fd->ft->heads + idfield->head) * in fdmisccmd()
1291 fd->ft->sectrac; in fdmisccmd()
1323 if (!(fd->ft->flags & FL_AUTO)) in fdautoselect()
1328 if (!(fd->ft->flags & FL_AUTO)) in fdautoselect()
1363 id.head = fd->ft->heads - 1; in fdautoselect()
1382 fd->ft->size / 2); in fdautoselect()
1383 fdprinttype(fd->ft); in fdautoselect()
1457 pp->stripesize = fd->ft->heads * fd->ft->sectrac * fd->sectorsize; in fd_access()
1458 pp->mediasize = pp->stripesize * fd->ft->tracks; in fd_access()
1470 if (g_handleattr_int(bp, "GEOM::fwsectors", fd->ft->sectrac)) in fd_start()
1472 if (g_handleattr_int(bp, "GEOM::fwheads", fd->ft->heads)) in fd_start()
1499 *(struct fd_type *)data = *fd->ft; in fd_ioctl()
1516 fdprinttype(fd->ft); in fd_ioctl()