Lines Matching refs:tag
816 NCR_TRACE(("[%s(t%d,l%d,cmd:%x,tag:%x,%x)] ", __func__, target, lun,
817 ecb->cmd.cmd.opcode, ecb->tag[0], ecb->tag[1]));
853 if (ecb->tag[0] != 0) {
855 /* Use SELATN3 to send tag messages. */
877 cmd[1] = ecb->tag[0]; /* msg[1] */
878 cmd[2] = ecb->tag[1]; /* msg[2] */
1251 int lun, tag;
1268 /* Select type of tag for this command */
1270 tag = 0;
1272 tag = 0;
1274 tag = 0;
1276 tag = 0;
1278 tag = ecb->ccb->csio.tag_action;
1293 if (tag == 0) {
1299 tag = 0;
1311 ecb->tag[0] = tag;
1312 if (tag != 0) {
1314 ecb->tag[1] = ecb->tag_id;
1325 if (li->untagged == NULL && tag != 0) {
1512 if (ecb->tag[0] && li->queued[ecb->tag[1]] != NULL) {
1514 if (li->queued[ecb->tag[1]] != NULL &&
1515 (li->queued[ecb->tag[1]] != ecb))
1517 "%p", __func__, ecb->tag[1], (long long)lun,
1518 li->queued[ecb->tag[1]], ecb);
1520 li->queued[ecb->tag[1]] = NULL;
1523 ecb->tag[0] = ecb->tag[1] = 0;
1694 * and wait for a tag message.
1700 /* Wait for tag to come by. */
1708 "tag %x:%x with no nexus; sending ABORT\n",
1883 NCR_MSGS(("(rejected sent tag)"));
1889 if (ecb->tag[0] &&
1890 li->queued[ecb->tag[1]] != NULL) {
1891 li->queued[ecb->tag[1]] = NULL;
1894 ecb->tag[0] = ecb->tag[1] = 0;
2076 * IDENTIFY message was received and queue tag is expected
2214 sc->sc_omess[0] = ecb->tag[0];
2215 sc->sc_omess[1] = ecb->tag[1];
2648 device_printf(sc->sc_dev, "target didn't send tag: %d "
2784 ecb->tag[0] == 0) {
2787 "or tag to send\n");
2821 if (ecb->tag[0] != 0)