Home
last modified time | relevance | path

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

/netbsd-src/sys/dev/gpib/
H A Dmt.c149 int mtcommand(dev_t, int, int);
360 error = mtcommand(dev, MTRESET, 0); in mtopen()
364 (void) mtcommand(dev, MTREW, 0); in mtopen()
367 if ((error = mtcommand(dev, MTNOP, 0)) != 0) in mtopen()
433 if (mtcommand(dev, mtset_density, 0) == 0) in mtopen()
453 (void) mtcommand(dev, MTWEOF, 2); in mtclose()
454 (void) mtcommand(dev, MTBSF, 0); in mtclose()
457 (void) mtcommand(dev, MTREW, 0); in mtclose()
464 mtcommand(dev_t dev, int cmd, int cnt) in mtcommand() function
1011 return (mtcommand(dev, op->mt_op, cnt)); in mtioctl()
/netbsd-src/sys/arch/hp300/dev/
H A Dmt.c173 static int mtcommand(dev_t, int, int);
342 error = mtcommand(dev, MTRESET, 0); in mtopen()
346 (void) mtcommand(dev, MTREW, 0); in mtopen()
349 if ((error = mtcommand(dev, MTNOP, 0)) != 0) in mtopen()
414 if (mtcommand(dev, mtset_density, 0) == 0) in mtopen()
430 (void)mtcommand(dev, MTWEOF, 2); in mtclose()
431 (void)mtcommand(dev, MTBSF, 0); in mtclose()
434 (void)mtcommand(dev, MTREW, 0); in mtclose()
441 mtcommand(dev_t dev, int cmd, int cnt) in mtcommand() function
974 return mtcommand(dev, op->mt_op, cnt); in mtioctl()