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