Lines Matching refs:fwreq
545 snic_icmnd_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq)
558 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx);
559 icmnd_cmpl = &fwreq->u.icmnd_cmpl;
579 "Icmnd_cmpl: Scsi Cmnd Not found, sc = NULL Hdr Status = %s tag = 0x%x fwreq = 0x%p\n",
582 fwreq);
587 (ulong) fwreq, le32_to_cpu(icmnd_cmpl->resid), ctx);
649 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq,
675 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq,
687 struct snic_fw_req *fwreq,
705 (ulong) fwreq, 0, SNIC_TRC_CMD_STATE_FLAGS(sc));
720 (ulong) fwreq, 0, SNIC_TRC_CMD_STATE_FLAGS(sc));
774 struct snic_fw_req *fwreq,
861 (ulong) fwreq, SNIC_TRC_CMD(sc),
871 snic_proc_dr_cmpl_locked(snic, fwreq, cmpl_stat, cmnd_id, sc);
920 snic_itmf_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq)
931 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx);
936 itmf_cmpl = &fwreq->u.itmf_cmpl;
971 snic_process_itmf_cmpl(snic, fwreq, cmnd_id, hdr_stat, sc);
1002 snic_hba_reset_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq)
1015 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx);
1122 snic_msg_ack_handler(struct snic *snic, struct snic_fw_req *fwreq)
1130 snic_aen_handler(struct snic *snic, struct snic_fw_req *fwreq)
1135 struct snic_async_evnotify *aen = &fwreq->u.async_ev;
1138 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx);
1202 struct snic_fw_req *fwreq)
1207 snic_print_desc(__func__, (char *)fwreq, sizeof(*fwreq));
1210 if ((fwreq->hdr.type >= SNIC_RSP_REPORT_TGTS_CMPL) &&
1211 (fwreq->hdr.type <= SNIC_RSP_BOOT_LUNS_CMPL))
1214 SNIC_BUG_ON((fwreq->hdr.type > SNIC_RSP_BOOT_LUNS_CMPL) &&
1215 (fwreq->hdr.type < SNIC_MSG_ASYNC_EVNOTIFY));
1218 switch (fwreq->hdr.status) {
1230 switch (fwreq->hdr.type) {
1232 snic_io_exch_ver_cmpl_handler(snic, fwreq);
1236 snic_report_tgt_cmpl_handler(snic, fwreq);
1240 snic_icmnd_cmpl_handler(snic, fwreq);
1244 snic_itmf_cmpl_handler(snic, fwreq);
1248 snic_hba_reset_cmpl_handler(snic, fwreq);
1252 snic_msg_ack_handler(snic, fwreq);
1256 snic_aen_handler(snic, fwreq);
1263 fwreq->hdr.type);