Lines Matching refs:tp_sense
821 static int tp_sense(int ignore) in tp_sense() function
943 if (tp_sense(TP_WRP | TP_BOM | TP_EOM | TP_FIL) != TE_OK) in ll_do_qic_cmd()
984 if (tp_sense(TP_WRP | TP_BOM | TP_EOM | TP_FIL) != TE_OK) { in ll_do_qic_cmd()
1006 if (tp_sense((cmd == QCMD_SEEK_EOD ? /*****************************/ in ll_do_qic_cmd()
1069 if (tp_sense(TP_FIL | TP_EOM | TP_WRP) != TE_OK) { in terminate_read()
1073 if (tp_sense in terminate_read()
1097 (void) tp_sense(0); in terminate_write()
1247 return (tp_sense(-1) == TE_OK) ? 0 : -EIO; /**** check return codes ****/ in do_ioctl_cmd()
1343 return (tp_sense(0) == TE_OK) ? 0 : -EIO; /* get_ext_status3(); */ in do_ioctl_cmd()
1356 return (tp_sense(0) == TE_OK) ? 0 : -EIO; /* get_ext_status3(); */ in do_ioctl_cmd()
1488 tp_sense(((mode == in start_dma()
1515 (void) tp_sense(0); in start_dma()
1605 stat = tp_sense((dma_mode == READ) ? TP_WRP : 0); in end_dma()
2244 s = tp_sense(TP_WRP | TP_EOM | TP_BOM | TP_CNI | TP_EOR); in qic02_tape_open_no_use_count()
2249 s = tp_sense(TP_WRP | TP_EOM | TP_BOM | TP_CNI | in qic02_tape_open_no_use_count()
2310 if (tp_sense(~(TP_ST1 | TP_ILL)) != TE_OK) { in qic02_tape_open_no_use_count()
2798 || tp_sense(TP_WRP | TP_POR | TP_CNI) != TE_OK) { in qic02_get_resources()
2898 || tp_sense(TP_WRP | TP_POR | TP_CNI) != TE_OK) { in qic02_tape_init()
2908 (void) tp_sense(TP_WRP | TP_POR | TP_CNI); in qic02_tape_init()