Lines Matching defs:reply
201 mptctl_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply)
211 "(0x%02X), req=%p, reply=%p\n", ioc->name, req->u.hdr.Function,
212 req, reply));
215 * Handling continuation of the same reply. Processing the first
216 * reply, and eating the other replys that come later.
223 if (!reply)
227 sz = min(ioc->reply_sz, 4*reply->u.reply.MsgLength);
228 memcpy(ioc->ioctl_cmds.reply, reply, sz);
230 if (reply->u.reply.IOCStatus || reply->u.reply.IOCLogInfo)
233 le16_to_cpu(reply->u.reply.IOCStatus),
234 le32_to_cpu(reply->u.reply.IOCLogInfo)));
240 if (reply->u.sreply.SCSIStatus || reply->u.sreply.SCSIState)
244 reply->u.sreply.SCSIStatus,
245 reply->u.sreply.SCSIState,
246 le16_to_cpu(reply->u.sreply.TaskTag),
247 le32_to_cpu(reply->u.sreply.TransferCount)));
249 if (reply->u.sreply.SCSIState &
278 if (reply && (reply->u.reply.MsgFlags &
301 memcpy(ioc->taskmgmt_cmds.reply, mr,
302 min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength));
427 pScsiTmReply = (SCSITaskMgmtReply_t *) ioc->taskmgmt_cmds.reply;
961 ReplyMsg = (pFWDownloadReply_t)iocp->ioctl_cmds.reply;
2230 /* If a valid reply frame, copy to the user.
2231 * Offset 2: reply length in U32's
2236 4*ioc->ioctl_cmds.reply[2]);
2238 sz = min(ioc->reply_sz, 4*ioc->ioctl_cmds.reply[2]);
2242 ioc->ioctl_cmds.reply, sz)){
2245 "Unable to write out reply frame %p\n",