Searched refs:cmnd_id (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/scsi/snic/
H A Dsnic_res.h28 snic_icmnd_init(struct snic_host_req *req, u32 cmnd_id, u32 host_id, u64 ctx, snic_icmnd_init() argument
33 snic_io_hdr_enc(&req->hdr, SNIC_REQ_ICMND, 0, cmnd_id, host_id, sg_cnt, snic_icmnd_init()
49 snic_itmf_init(struct snic_host_req *req, u32 cmnd_id, u32 host_id, ulong ctx, snic_itmf_init() argument
52 snic_io_hdr_enc(&req->hdr, SNIC_REQ_ITMF, 0, cmnd_id, host_id, 0, ctx); snic_itmf_init()
H A Dsnic_scsi.c548 u32 cmnd_id, hid; snic_icmnd_cmpl_handler() local
558 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); snic_icmnd_cmpl_handler()
563 "Icmnd_cmpl: type = %x, hdr_stat = %x, cmnd_id = %x, hid = %x,i ctx = %lx\n", snic_icmnd_cmpl_handler()
564 typ, hdr_stat, cmnd_id, hid, ctx); snic_icmnd_cmpl_handler()
566 if (cmnd_id >= snic->max_tag_id) { snic_icmnd_cmpl_handler()
569 cmnd_id, snic_io_status_to_str(hdr_stat)); snic_icmnd_cmpl_handler()
573 sc = scsi_host_find_tag(snic->shost, cmnd_id); snic_icmnd_cmpl_handler()
581 cmnd_id, snic_icmnd_cmpl_handler()
584 SNIC_TRC(snic->shost->host_no, cmnd_id, 0, snic_icmnd_cmpl_handler()
611 cmnd_id, sc, CMD_FLAGS(sc)); snic_icmnd_cmpl_handler()
642 SNIC_TRC(snic->shost->host_no, cmnd_id, (ulong) sc, snic_icmnd_cmpl_handler()
653 sc, sc->cmnd[0], cmnd_id, snic_icmnd_cmpl_handler()
668 SNIC_TRC(snic->shost->host_no, cmnd_id, (ulong) sc, snic_icmnd_cmpl_handler()
683 u32 cmnd_id, snic_proc_dr_cmpl_locked()
697 SNIC_TRC(snic->shost->host_no, cmnd_id, (ulong) sc, snic_proc_dr_cmpl_locked()
703 (int)(cmnd_id & SNIC_TAG_MASK), snic_proc_dr_cmpl_locked()
712 SNIC_TRC(snic->shost->host_no, cmnd_id, (ulong) sc, snic_proc_dr_cmpl_locked()
718 (int)(cmnd_id & SNIC_TAG_MASK), snic_proc_dr_cmpl_locked()
730 (int)(cmnd_id & SNIC_TAG_MASK), snic_proc_dr_cmpl_locked()
769 u32 cmnd_id, snic_process_itmf_cmpl()
791 snic_io_status_to_str(cmpl_stat), cmnd_id, sc, snic_process_itmf_cmpl()
798 tm_tags = cmnd_id & ~(SNIC_TAG_MASK); snic_process_itmf_cmpl()
801 cmnd_id &= (SNIC_TAG_MASK); snic_process_itmf_cmpl()
821 cmnd_id, snic_process_itmf_cmpl()
848 SNIC_TRC(snic->shost->host_no, cmnd_id, (ulong) sc, snic_process_itmf_cmpl()
860 snic_proc_dr_cmpl_locked(snic, fwreq, cmpl_stat, cmnd_id, sc); snic_process_itmf_cmpl()
875 cmnd_id, snic_io_status_to_str(cmpl_stat), snic_process_itmf_cmpl()
893 cmnd_id, snic_process_itmf_cmpl()
915 u32 cmnd_id; snic_itmf_cmpl_handler() local
920 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); snic_itmf_cmpl_handler()
922 "Itmf_cmpl: %s: type = %x, hdr_stat = %x, cmnd_id = %x, hid = %x,ctx = %lx\n", snic_itmf_cmpl_handler()
923 __func__, typ, hdr_stat, cmnd_id, hid, ctx); snic_itmf_cmpl_handler()
931 if (cmnd_id & SNIC_TAG_IOCTL_DEV_RST) { snic_itmf_cmpl_handler()
938 if ((cmnd_id & SNIC_TAG_MASK) >= snic->max_tag_id) { snic_itmf_cmpl_handler()
941 cmnd_id, snic_io_status_to_str(hdr_stat)); snic_itmf_cmpl_handler()
947 sc = scsi_host_find_tag(snic->shost, cmnd_id & SNIC_TAG_MASK); snic_itmf_cmpl_handler()
955 snic_io_status_to_str(hdr_stat), cmnd_id); snic_itmf_cmpl_handler()
960 snic_process_itmf_cmpl(snic, fwreq, cmnd_id, hdr_stat, sc); snic_itmf_cmpl_handler()
994 u32 cmnd_id; snic_hba_reset_cmpl_handler() local
1007 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); snic_hba_reset_cmpl_handler()
1009 "reset_cmpl: type = %x, hdr_stat = %x, cmnd_id = %x, hid = %x, ctx = %lx\n", snic_hba_reset_cmpl_handler()
1010 typ, hdr_stat, cmnd_id, hid, ctx); snic_hba_reset_cmpl_handler()
1013 if (cmnd_id == SCSI_NO_TAG) { snic_hba_reset_cmpl_handler()
1020 if (cmnd_id >= snic->max_tag_id) { snic_hba_reset_cmpl_handler()
1023 cmnd_id, snic_io_status_to_str(hdr_stat)); snic_hba_reset_cmpl_handler()
1029 sc = scsi_host_find_tag(snic->shost, cmnd_id); snic_hba_reset_cmpl_handler()
1035 snic_io_status_to_str(hdr_stat), cmnd_id); snic_hba_reset_cmpl_handler()
1062 snic_io_status_to_str(hdr_stat), cmnd_id, sc, snic_hba_reset_cmpl_handler()
1114 u32 cmnd_id, hid; snic_aen_handler() local
1119 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); snic_aen_handler()
1121 "aen: type = %x, hdr_stat = %x, cmnd_id = %x, hid = %x, ctx = %lx\n", snic_aen_handler()
1122 typ, hdr_stat, cmnd_id, hid, ctx); snic_aen_handler()
680 snic_proc_dr_cmpl_locked(struct snic *snic, struct snic_fw_req *fwreq, u8 cmpl_stat, u32 cmnd_id, struct scsi_cmnd *sc) snic_proc_dr_cmpl_locked() argument
767 snic_process_itmf_cmpl(struct snic *snic, struct snic_fw_req *fwreq, u32 cmnd_id, u8 cmpl_stat, struct scsi_cmnd *sc) snic_process_itmf_cmpl() argument
H A Dsnic_fwint.h102 __le32 cmnd_id; /* tag here */ member in struct:snic_io_hdr
121 hdr->cmnd_id = cpu_to_le32(id); snic_io_hdr_enc()
129 snic_io_hdr_dec(struct snic_io_hdr *hdr, u8 *typ, u8 *stat, u32 *cmnd_id, snic_io_hdr_dec() argument
135 *cmnd_id = le32_to_cpu(hdr->cmnd_id); snic_io_hdr_dec()
H A Dsnic_ctl.c162 u32 cmnd_id, hid, max_sgs; snic_io_exch_ver_cmpl_handler() local
168 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); snic_io_exch_ver_cmpl_handler()
H A Dsnic_disc.c398 u32 cmnd_id, hid, tgt_cnt = 0; snic_report_tgt_cmpl_handler() local
404 snic_io_hdr_dec(&fwreq->hdr, &typ, &cmpl_stat, &cmnd_id, &hid, &ctx); snic_report_tgt_cmpl_handler()
H A Dsnic_io.c494 fn, line, req->hdr.cmnd_id, req->hdr.sg_cnt, req->hdr.status, snic_dump_desc()

Completed in 118 milliseconds