Lines Matching refs:fwreq
526 snic_icmnd_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_icmnd_cmpl_handler() argument
539 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_icmnd_cmpl_handler()
540 icmnd_cmpl = &fwreq->u.icmnd_cmpl; in snic_icmnd_cmpl_handler()
563 fwreq); in snic_icmnd_cmpl_handler()
568 (ulong) fwreq, le32_to_cpu(icmnd_cmpl->resid), ctx); in snic_icmnd_cmpl_handler()
630 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler()
656 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler()
667 struct snic_fw_req *fwreq, in snic_proc_dr_cmpl_locked() argument
685 (ulong) fwreq, 0, SNIC_TRC_CMD_STATE_FLAGS(sc)); in snic_proc_dr_cmpl_locked()
700 (ulong) fwreq, 0, SNIC_TRC_CMD_STATE_FLAGS(sc)); in snic_proc_dr_cmpl_locked()
754 struct snic_fw_req *fwreq, in snic_process_itmf_cmpl() argument
840 (ulong) fwreq, SNIC_TRC_CMD(sc), in snic_process_itmf_cmpl()
849 snic_proc_dr_cmpl_locked(snic, fwreq, cmpl_stat, cmnd_id, sc); in snic_process_itmf_cmpl()
898 snic_itmf_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_itmf_cmpl_handler() argument
909 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_itmf_cmpl_handler()
914 itmf_cmpl = &fwreq->u.itmf_cmpl; in snic_itmf_cmpl_handler()
949 snic_process_itmf_cmpl(snic, fwreq, cmnd_id, hdr_stat, sc); in snic_itmf_cmpl_handler()
980 snic_hba_reset_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_hba_reset_cmpl_handler() argument
993 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_hba_reset_cmpl_handler()
1100 snic_msg_ack_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_msg_ack_handler() argument
1108 snic_aen_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_aen_handler() argument
1113 struct snic_async_evnotify *aen = &fwreq->u.async_ev; in snic_aen_handler()
1116 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_aen_handler()
1180 struct snic_fw_req *fwreq) in snic_io_cmpl_handler() argument
1185 snic_print_desc(__func__, (char *)fwreq, sizeof(*fwreq)); in snic_io_cmpl_handler()
1188 if ((fwreq->hdr.type >= SNIC_RSP_REPORT_TGTS_CMPL) && in snic_io_cmpl_handler()
1189 (fwreq->hdr.type <= SNIC_RSP_BOOT_LUNS_CMPL)) in snic_io_cmpl_handler()
1192 SNIC_BUG_ON((fwreq->hdr.type > SNIC_RSP_BOOT_LUNS_CMPL) && in snic_io_cmpl_handler()
1193 (fwreq->hdr.type < SNIC_MSG_ASYNC_EVNOTIFY)); in snic_io_cmpl_handler()
1196 switch (fwreq->hdr.status) { in snic_io_cmpl_handler()
1208 switch (fwreq->hdr.type) { in snic_io_cmpl_handler()
1210 snic_io_exch_ver_cmpl_handler(snic, fwreq); in snic_io_cmpl_handler()
1214 snic_report_tgt_cmpl_handler(snic, fwreq); in snic_io_cmpl_handler()
1218 snic_icmnd_cmpl_handler(snic, fwreq); in snic_io_cmpl_handler()
1222 snic_itmf_cmpl_handler(snic, fwreq); in snic_io_cmpl_handler()
1226 snic_hba_reset_cmpl_handler(snic, fwreq); in snic_io_cmpl_handler()
1230 snic_msg_ack_handler(snic, fwreq); in snic_io_cmpl_handler()
1234 snic_aen_handler(snic, fwreq); in snic_io_cmpl_handler()
1241 fwreq->hdr.type); in snic_io_cmpl_handler()