Lines Matching refs:msgs
385 while ((msg = msgqueue_getmsg(&info->scsi.msgs, msgnr++)) != NULL) { in fas216_get_last_msg()
527 msgqueue_flush(&info->scsi.msgs); in fas216_handlesync()
528 msgqueue_addmsg(&info->scsi.msgs, 5, in fas216_handlesync()
570 msgqueue_flush(&info->scsi.msgs); in fas216_handlesync()
571 msgqueue_addmsg(&info->scsi.msgs, 1, MESSAGE_REJECT); in fas216_handlesync()
857 msgqueue_flush(&info->scsi.msgs); in fas216_disconnect_intr()
952 msgqueue_flush(&info->scsi.msgs); in fas216_reselected_intr()
994 msgqueue_addmsg(&info->scsi.msgs, 2, ABORT_TAG, tag); in fas216_reselected_intr()
996 msgqueue_addmsg(&info->scsi.msgs, 1, ABORT); in fas216_reselected_intr()
1012 msgqueue_flush(&info->scsi.msgs); in fas216_reselected_intr()
1013 msgqueue_addmsg(&info->scsi.msgs, 1, INITIATOR_ERROR); in fas216_reselected_intr()
1123 msgqueue_flush(&info->scsi.msgs); in fas216_parse_message()
1124 msgqueue_addmsg(&info->scsi.msgs, 1, MESSAGE_REJECT); in fas216_parse_message()
1240 msgqueue_flush(&info->scsi.msgs); in fas216_message()
1241 msgqueue_addmsg(&info->scsi.msgs, 1, MSG_PARITY_ERROR); in fas216_message()
1280 unsigned int tot_msglen = msgqueue_msglength(&info->scsi.msgs); in fas216_send_messageout()
1290 while ((msg = msgqueue_getmsg(&info->scsi.msgs, msgnr++)) != NULL) { in fas216_send_messageout()
1442 if (msgqueue_msglength(&info->scsi.msgs) > 1) in fas216_busservice_intr()
1470 msgqueue_flush(&info->scsi.msgs); in fas216_busservice_intr()
1471 msgqueue_addmsg(&info->scsi.msgs, 1, INITIATOR_ERROR); in fas216_busservice_intr()
1480 msgqueue_flush(&info->scsi.msgs); in fas216_busservice_intr()
1482 msgqueue_addmsg(&info->scsi.msgs, 1, INITIATOR_ERROR); in fas216_busservice_intr()
1559 msgqueue_flush(&info->scsi.msgs); in fas216_bus_reset()
1645 tot_msglen = msgqueue_msglength(&info->scsi.msgs); in __fas216_start_command()
1654 while ((msg = msgqueue_getmsg(&info->scsi.msgs, msgnr++)) != NULL) { in __fas216_start_command()
1674 while ((msg = msgqueue_getmsg(&info->scsi.msgs, msgnr++)) != NULL) { in __fas216_start_command()
1694 struct message *msg = msgqueue_getmsg(&info->scsi.msgs, 0); in __fas216_start_command()
1745 msgqueue_flush(&info->scsi.msgs); in fas216_start_command()
1746 msgqueue_addmsg(&info->scsi.msgs, 1, IDENTIFY(disconnect_ok, SCpnt->lun)); in fas216_start_command()
1752 msgqueue_addmsg(&info->scsi.msgs, 2, SIMPLE_QUEUE_TAG, SCpnt->tag); in fas216_start_command()
1761 msgqueue_addmsg(&info->scsi.msgs, 5, in fas216_start_command()
1821 msgqueue_flush(&info->scsi.msgs); in fas216_do_bus_device_reset()
1822 msgqueue_addmsg(&info->scsi.msgs, 1, BUS_DEVICE_RESET); in fas216_do_bus_device_reset()
1838 msg = msgqueue_getmsg(&info->scsi.msgs, 0); in fas216_do_bus_device_reset()
2822 msgqueue_initialise(&info->scsi.msgs); in fas216_init()