Searched refs:fdr_cmd (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_generic.c | 268 fdraw.fdr_cmd[0] = (uint8_t)0xE0 | FDRAW_RDCMD; /* command */ in _m_raw_read() 270 fdraw.fdr_cmd[1] = (head << 2); /* using head 1 */ in _m_raw_read() 271 fdraw.fdr_cmd[2] = cyl; /* track number */ in _m_raw_read() 272 fdraw.fdr_cmd[3] = head; /* drive head number */ in _m_raw_read() 273 fdraw.fdr_cmd[4] = start_sector; /* start sector number */ in _m_raw_read() 274 fdraw.fdr_cmd[5] = (sector_size == 512) ? 2 : 3; in _m_raw_read() 275 fdraw.fdr_cmd[6] = fdchar.fdc_secptrack; in _m_raw_read() 276 fdraw.fdr_cmd[7] = 0x1B; /* GPLN, GAP length */ in _m_raw_read() 277 fdraw.fdr_cmd[8] = (uchar_t)0xFF; /* SSSDTL, data length */ in _m_raw_read() 341 fdraw.fdr_cmd[0] = (uint8_t)0xE0| FDRAW_WRCMD; /* command */ in _m_raw_write() [all …]
|
H A D | f_format.c | 399 fdr_seek.fdr_cmd[2] = cyl; in format_floppy() 426 fdr_form.fdr_cmd[1] = hd << 2; in format_floppy() 427 fdr_form.fdr_cmd[2] = (sec_size == 1024) ? 3 : 2; in format_floppy() 428 fdr_form.fdr_cmd[3] = spt; in format_floppy() 429 fdr_form.fdr_cmd[4] = gap; in format_floppy()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fdio.h | 148 char fdr_cmd[10]; /* user-supplied command bytes */ member 158 char fdr_cmd[10]; /* user-supplied command bytes */ member
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fd.c | 2021 (CE_CONT, "fd_rawioctl: cmd[0]=0x%x\n", fdr.fdr_cmd[0])); in fd_rawioctl() 2037 bcopy(fdr32.fdr_cmd, fdr.fdr_cmd, sizeof (fdr.fdr_cmd)); in fd_rawioctl() 2068 switch (fdr.fdr_cmd[0] & 0x0f) { in fd_rawioctl() 2081 fdr.fdr_cmd[1] = (fdr.fdr_cmd[1] & ~3) | unit; in fd_rawioctl() 2109 fdr.fdr_cmd[1] = (fdr.fdr_cmd[1] & ~3) | unit; in fd_rawioctl() 2117 fdr.fdr_cmd[1] = (fdr.fdr_cmd[1] & ~3) | unit; in fd_rawioctl() 2121 fdr.fdr_cmd[2] &= 0xfe; /* keep NoDMA bit clear */ in fd_rawioctl() 2146 if (ddi_copyout(fdr.fdr_result, arg_result, sizeof (fdr.fdr_cmd), mode)) in fd_rawioctl()
|
H A D | fdc.c | 1388 (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()
|
/illumos-gate/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 871 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()
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | fd.c | 2602 bcopy(fdr32.fdr_cmd, fdr.fdr_cmd, sizeof (fdr.fdr_cmd)); in fdrawioctl() 2622 (C, "fdrawioctl: cmd[0]=0x%x\n", fdr.fdr_cmd[0])); in fdrawioctl() 2647 csb->csb_cmds[i] = fdr.fdr_cmd[i]; in fdrawioctl() 2653 switch (fdr.fdr_cmd[0] & 0x0f) { in fdrawioctl() 2783 if ((fdr.fdr_cmd[0] & 0x0f) != FDRAW_FORMAT) { in fdrawioctl() 2881 if ((fdr.fdr_cmd[0] & 0x0f) != FDRAW_FORMAT && fc && in fdrawioctl() 2911 bcopy(fdr.fdr_cmd, fdr32.fdr_cmd, sizeof (fdr32.fdr_cmd)); in fdrawioctl()
|