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()
643 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler()
669 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler()
681 struct snic_fw_req *fwreq, in snic_proc_dr_cmpl_locked() argument
699 (ulong) fwreq, 0, SNIC_TRC_CMD_STATE_FLAGS(sc)); in snic_proc_dr_cmpl_locked()
714 (ulong) fwreq, 0, SNIC_TRC_CMD_STATE_FLAGS(sc)); in snic_proc_dr_cmpl_locked()
768 struct snic_fw_req *fwreq, in snic_process_itmf_cmpl() argument
850 (ulong) fwreq, SNIC_TRC_CMD(sc), in snic_process_itmf_cmpl()
860 snic_proc_dr_cmpl_locked(snic, fwreq, cmpl_stat, cmnd_id, sc); in snic_process_itmf_cmpl()
909 snic_itmf_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_itmf_cmpl_handler() argument
920 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_itmf_cmpl_handler()
925 itmf_cmpl = &fwreq->u.itmf_cmpl; in snic_itmf_cmpl_handler()
960 snic_process_itmf_cmpl(snic, fwreq, cmnd_id, hdr_stat, sc); in snic_itmf_cmpl_handler()
991 snic_hba_reset_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_hba_reset_cmpl_handler() argument
1007 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_hba_reset_cmpl_handler()
1103 snic_msg_ack_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_msg_ack_handler() argument
1111 snic_aen_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_aen_handler() argument
1116 struct snic_async_evnotify *aen = &fwreq->u.async_ev; in snic_aen_handler()
1119 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_aen_handler()
1183 struct snic_fw_req *fwreq) in snic_io_cmpl_handler() argument
1188 snic_print_desc(__func__, (char *)fwreq, sizeof(*fwreq)); in snic_io_cmpl_handler()
1191 if ((fwreq->hdr.type >= SNIC_RSP_REPORT_TGTS_CMPL) && in snic_io_cmpl_handler()
1192 (fwreq->hdr.type <= SNIC_RSP_BOOT_LUNS_CMPL)) in snic_io_cmpl_handler()
1195 SNIC_BUG_ON((fwreq->hdr.type > SNIC_RSP_BOOT_LUNS_CMPL) && in snic_io_cmpl_handler()
1196 (fwreq->hdr.type < SNIC_MSG_ASYNC_EVNOTIFY)); in snic_io_cmpl_handler()
1199 switch (fwreq->hdr.status) { in snic_io_cmpl_handler()
1211 switch (fwreq->hdr.type) { in snic_io_cmpl_handler()
1213 snic_io_exch_ver_cmpl_handler(snic, fwreq); in snic_io_cmpl_handler()
1217 snic_report_tgt_cmpl_handler(snic, fwreq); in snic_io_cmpl_handler()
1221 snic_icmnd_cmpl_handler(snic, fwreq); in snic_io_cmpl_handler()
1225 snic_itmf_cmpl_handler(snic, fwreq); in snic_io_cmpl_handler()
1229 snic_hba_reset_cmpl_handler(snic, fwreq); in snic_io_cmpl_handler()
1233 snic_msg_ack_handler(snic, fwreq); in snic_io_cmpl_handler()
1237 snic_aen_handler(snic, fwreq); in snic_io_cmpl_handler()
1244 fwreq->hdr.type); in snic_io_cmpl_handler()