Home
last modified time | relevance | path

Searched refs:fdraw (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_generic.c224 struct fd_raw fdraw; in _m_raw_read() local
266 fdraw.fdr_nbytes = r_p->size; in _m_raw_read()
267 fdraw.fdr_addr = r_p->buffer; in _m_raw_read()
270 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()
[all …]
/titanic_44/usr/src/lib/libbc/inc/include/sun/
H A Ddkio.h292 struct fdraw { struct
359 #define F_RAW _IOWR('d', 105, struct fdraw) /* ECDstyle genericcmd*/