Lines Matching +full:m +full:- +full:mode
54 the name of the no-rewind devices.
68 will over write the second end-of-file marker.
80 .Bd -literal
93 /* structure for MTIOCTOP - mag tape op command */
100 #define MTWEOF 0 /* write an end-of-file record */
120 /* Set density values for device. Sets the value for the opened mode only. */
126 #define MTCOMP 14 /* select compression mode 0=off, 1=def */
127 #define MTRETENS 15 /* re-tension tape */
132 #define MTWEOFI 20 /* write an end-of-file record without waiting*/
158 /* structure for MTIOCGET - mag tape get status command */
165 /* end device-dependent registers */
169 * exceed 32 K-bytes. Use the MTIOCERRSTAT ioctl to get a
177 int32_t mt_blksiz0; /* blocksize for mode 0 */
178 int32_t mt_blksiz1; /* blocksize for mode 1 */
179 int32_t mt_blksiz2; /* blocksize for mode 2 */
180 int32_t mt_blksiz3; /* blocksize for mode 3 */
181 int32_t mt_density0; /* density for mode 0 */
182 int32_t mt_density1; /* density for mode 1 */
183 int32_t mt_density2; /* density for mode 2 */
184 int32_t mt_density3; /* density for mode 3 */
186 uint32_t mt_comp0; /* compression type for mode 0 */
187 uint32_t mt_comp1; /* compression type for mode 1 */
188 uint32_t mt_comp2; /* compression type for mode 2 */
189 uint32_t mt_comp3; /* compression type for mode 3 */
196 /* structure for MTIOCERRSTAT - tape get error status command */
339 #define MT_ISTS 0x01 /* TS-11 */
343 #define MT_ISUT 0x05 /* SI TU-45 emulation on Unibus */
351 #define MT_ISEXA8200 0x0c /* Exabyte EXB-8200 */
352 #define MT_ISEXA8500 0x0d /* Exabyte EXB-8500 */
353 #define MT_ISVIPER1 0x0e /* Archive Viper-150 */
361 #define MTIOCTOP _IOW('m', 1, struct mtop) /* do a mag tape op */
362 #define MTIOCGET _IOR('m', 2, struct mtget) /* get tape status */
364 #define MTIOCIEOT _IO('m', 3) /* ignore EOT error */
365 #define MTIOCEEOT _IO('m', 4) /* enable EOT error */
367 * When more SCSI-3 SSC (streaming device) devices are out there
372 #define MTIOCRDSPOS _IOR('m', 5, uint32_t) /* get logical blk addr */
373 #define MTIOCRDHPOS _IOR('m', 6, uint32_t) /* get hardware blk addr */
374 #define MTIOCSLOCATE _IOW('m', 5, uint32_t) /* seek to logical blk addr */
375 #define MTIOCHLOCATE _IOW('m', 6, uint32_t) /* seek to hardware blk addr */
376 #define MTIOCERRSTAT _IOR('m', 7, union mterrstat) /* get tape errors */
378 * Set EOT model- argument is number of filemarks to end a tape with.
381 #define MTIOCSETEOTMODEL _IOW('m', 8, uint32_t)
383 #define MTIOCGETEOTMODEL _IOR('m', 8, uint32_t)
384 #define MTIOCRBLIM _IOR('m', 9, struct mtrblim) /* get block limits */
385 #define MTIOCEXTLOCATE _IOW('m', 10, struct mtlocate) /* seek to position */
386 #define MTIOCEXTGET _IOWR('m', 11, struct mtextget) /* get tape status */
387 #define MTIOCPARAMGET _IOWR('m', 12, struct mtextget) /* get tape params */
388 #define MTIOCPARAMSET _IOWR('m', 13, struct mtparamset) /* set tape params */
389 #define MTIOCSETLIST _IOWR('m', 14, struct mtsetlist) /* set N params */
398 .Bl -tag -width /dev/[en]sa* -compact