Lines Matching defs:message

29  *  26-08-1998	RMK	Improved message support wrt MESSAGE_REJECT
72 * > RESET message is received, until a hard reset condition occurs, or until one
75 * > mode is entered at power on, after a BUS DEVICE RESET message, or after a hard
270 [PHASE_MSGIN] = "message in",
272 [PHASE_MSGOUT_EXPECT] = "expect message out",
273 [PHASE_MSGOUT] = "message out",
408 * fas216_get_last_msg - retrive last message from the list
412 * Retrieve a last message from the list, using position in fifo.
418 struct message *msg;
490 * not accept an SDTR message, some targets may not initiate synchronous
497 * SDTR message with a MESSAGE REJECT message if the either the
504 * every INQUIRY or REQUEST SENSE message, unless the target itself has
510 * fas216_handlesync - Handle a synchronous transfer message
512 * @msg: message from target
514 * Handle a synchronous transfer message from the target
529 * message with a MESSAGE REJECT message.
553 * message containing our capability, limited by
570 * until this message is accepted by the device
580 * bounds, we must reject the message.
902 case PHASE_MSGIN_DISCONNECT: /* message in - disconnecting */
916 case PHASE_MSGOUT: /* message out - possible ABORT message */
1024 * an INITIATOR DETECTED ERROR message.
1055 static void fas216_parse_message(FAS216_Info *info, unsigned char *message, int msglen)
1060 switch (message[0]) {
1116 fas216_handlesync(info, message);
1120 fas216_log(info, 0, "reject, last message 0x%04x",
1132 switch (message[2]) {
1134 fas216_handlesync(info, message);
1148 fas216_log(info, 0, "unrecognised message, rejecting");
1149 printk("scsi%d.%c: message was", info->host->host_no, fas216_target(info));
1151 printk("%s%02X", i & 31 ? " " : "\n ", message[i]);
1213 fas216_log(info, LOG_ERROR, "timed out waiting for message byte");
1221 fas216_log(info, LOG_ERROR, "parity error during message in phase");
1233 unsigned char *message = info->scsi.message;
1239 message[0] = fas216_readb(info, REG_FF);
1241 if (message[0] == EXTENDED_MESSAGE) {
1245 message[1] = msgbyte;
1247 for (msglen = 2; msglen < message[1] + 2; msglen++) {
1251 message[msglen] = msgbyte;
1265 printk("scsi%d.%c: message in: ",
1268 printk("%02X ", message[i]);
1273 fas216_parse_message(info, message, msglen);
1287 * fas216_send_command - send command after all message bytes have been sent
1290 * Send a command to a target after all message bytes have been sent
1311 * fas216_send_messageout - handle bus service to send a message
1314 * Handle bus service to send a message.
1326 struct message *msg;
1471 * If we get another message out phase, this usually
1521 printk(KERN_ERR "scsi%d.%c: disconnect message received, but bus service %s?\n",
1571 * Read status then message byte.
1584 case PHASE_MSGIN: /* message in phase */
1697 struct message *msg;
1700 printk("scsi%d.%c: message out: ",
1714 * We have an easy message length to send...
1716 struct message *msg;
1721 /* load message bytes */
1738 * We have an unusual number of message bytes to send.
1742 struct message *msg = msgqueue_getmsg(&info->scsi.msgs, 0);
1754 * information transfer phase (message out) for test purposes.
1791 * build outgoing message bytes
1797 * add tag message if required
1848 struct message *msg;
1981 * Clean up from issuing a BUS DEVICE RESET message to a device.
2376 * an abort message.
2453 * ABORT or ABORT_TAG message. We can only do this
2517 * a bus device reset message to this device.