Home
last modified time | relevance | path

Searched refs:fdr_cmd (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_generic.c270 fdraw.fdr_cmd[0] = (uint8_t)0xE0 | FDRAW_RDCMD; /* command */ in _m_raw_read()
272 fdraw.fdr_cmd[1] = (head << 2); /* using head 1 */ in _m_raw_read()
273 fdraw.fdr_cmd[2] = cyl; /* track number */ in _m_raw_read()
274 fdraw.fdr_cmd[3] = head; /* drive head number */ in _m_raw_read()
275 fdraw.fdr_cmd[4] = start_sector; /* start sector number */ in _m_raw_read()
276 fdraw.fdr_cmd[5] = (sector_size == 512) ? 2 : 3; in _m_raw_read()
277 fdraw.fdr_cmd[6] = fdchar.fdc_secptrack; in _m_raw_read()
278 fdraw.fdr_cmd[7] = 0x1B; /* GPLN, GAP length */ in _m_raw_read()
279 fdraw.fdr_cmd[8] = (uchar_t)0xFF; /* SSSDTL, data length */ in _m_raw_read()
343 fdraw.fdr_cmd[0] = (uint8_t)0xE0| FDRAW_WRCMD; /* command */ in _m_raw_write()
[all …]
H A Df_format.c401 fdr_seek.fdr_cmd[2] = cyl; in format_floppy()
428 fdr_form.fdr_cmd[1] = hd << 2; in format_floppy()
429 fdr_form.fdr_cmd[2] = (sec_size == 1024) ? 3 : 2; in format_floppy()
430 fdr_form.fdr_cmd[3] = spt; in format_floppy()
431 fdr_form.fdr_cmd[4] = gap; in format_floppy()
/titanic_50/usr/src/uts/common/sys/
H A Dfdio.h150 char fdr_cmd[10]; /* user-supplied command bytes */ member
160 char fdr_cmd[10]; /* user-supplied command bytes */ member
/titanic_50/usr/src/uts/common/io/
H A Dfd.c2015 (CE_CONT, "fd_rawioctl: cmd[0]=0x%x\n", fdr.fdr_cmd[0])); in fd_rawioctl()
2031 bcopy(fdr32.fdr_cmd, fdr.fdr_cmd, sizeof (fdr.fdr_cmd)); in fd_rawioctl()
2062 switch (fdr.fdr_cmd[0] & 0x0f) { in fd_rawioctl()
2075 fdr.fdr_cmd[1] = (fdr.fdr_cmd[1] & ~3) | unit; in fd_rawioctl()
2103 fdr.fdr_cmd[1] = (fdr.fdr_cmd[1] & ~3) | unit; in fd_rawioctl()
2111 fdr.fdr_cmd[1] = (fdr.fdr_cmd[1] & ~3) | unit; in fd_rawioctl()
2115 fdr.fdr_cmd[2] &= 0xfe; /* keep NoDMA bit clear */ in fd_rawioctl()
2140 if (ddi_copyout(fdr.fdr_result, arg_result, sizeof (fdr.fdr_cmd), mode)) in fd_rawioctl()
H A Dfdc.c1388 (CE_NOTE, "fdrawioctl: cmd[0]=0x%x", fdrp->fdr_cmd[0])); in fdrawioctl()
1394 csb->csb_cmd[i] = fdrp->fdr_cmd[i]; in fdrawioctl()
1402 switch (fdrp->fdr_cmd[0] & 0x0f) { in fdrawioctl()
1568 if ((fdrp->fdr_cmd[0] & 0x0f) == FO_SDRV) { in fdrawioctl()
/titanic_50/usr/src/cmd/fdformat/
H A Dfdformat.c871 fdr_seek.fdr_cmd[2] = cyl; in format_diskette()
898 fdr_form.fdr_cmd[1] = hd << 2; in format_diskette()
899 fdr_form.fdr_cmd[2] = (sec_size == 1024) ? 3 : 2; in format_diskette()
900 fdr_form.fdr_cmd[3] = spt; in format_diskette()
901 fdr_form.fdr_cmd[4] = gap; in format_diskette()
/titanic_50/usr/src/uts/sun/io/
H A Dfd.c2599 bcopy(fdr32.fdr_cmd, fdr.fdr_cmd, sizeof (fdr.fdr_cmd)); in fdrawioctl()
2619 (C, "fdrawioctl: cmd[0]=0x%x\n", fdr.fdr_cmd[0])); in fdrawioctl()
2644 csb->csb_cmds[i] = fdr.fdr_cmd[i]; in fdrawioctl()
2650 switch (fdr.fdr_cmd[0] & 0x0f) { in fdrawioctl()
2780 if ((fdr.fdr_cmd[0] & 0x0f) != FDRAW_FORMAT) { in fdrawioctl()
2878 if ((fdr.fdr_cmd[0] & 0x0f) != FDRAW_FORMAT && fc && in fdrawioctl()
2908 bcopy(fdr.fdr_cmd, fdr32.fdr_cmd, sizeof (fdr32.fdr_cmd)); in fdrawioctl()