Lines Matching refs:aep

243 	at7_entry_t *aep;  in isp_endcmd()  local
249 aep = va_arg(ap, at7_entry_t *); in isp_endcmd()
258 …isp_prt(isp, ISP_LOGTDEBUG0, "%s: [RX_ID 0x%x] chan %d code %x", __func__, aep->at_rxid, vpidx, co… in isp_endcmd()
265 cto->ct_rxid = aep->at_rxid; in isp_endcmd()
266 cto->ct_iid_lo = (aep->at_hdr.s_id[1] << 8) | aep->at_hdr.s_id[2]; in isp_endcmd()
267 cto->ct_iid_hi = aep->at_hdr.s_id[0]; in isp_endcmd()
268 cto->ct_oxid = aep->at_hdr.ox_id; in isp_endcmd()
296 if (aep->at_cmnd.cdb_dl.sf.fcp_cmnd_dl != 0) { in isp_endcmd()
297 cto->ct_resid = aep->at_cmnd.cdb_dl.sf.fcp_cmnd_dl; in isp_endcmd()
352 isp_got_tmf_24xx(ispsoftc_t *isp, at7_entry_t *aep) in isp_got_tmf_24xx() argument
364 notify.nt_lun = CAM_EXTLUN_BYTE_SWIZZLE(be64dec(aep->at_cmnd.fcp_cmnd_lun)); in isp_got_tmf_24xx()
365 notify.nt_tagval = aep->at_rxid; in isp_got_tmf_24xx()
367 notify.nt_lreserved = aep; in isp_got_tmf_24xx()
368 sid = (aep->at_hdr.s_id[0] << 16) | (aep->at_hdr.s_id[1] << 8) | aep->at_hdr.s_id[2]; in isp_got_tmf_24xx()
369 did = (aep->at_hdr.d_id[0] << 16) | (aep->at_hdr.d_id[1] << 8) | aep->at_hdr.d_id[2]; in isp_got_tmf_24xx()
377 isp_endcmd(isp, aep, NIL_HANDLE, ISP_NOCHAN, in isp_got_tmf_24xx()
391 if (aep->at_cmnd.fcp_cmnd_task_management & FCP_CMND_TMF_QUERY_TASK_SET) { in isp_got_tmf_24xx()
392 isp_prt(isp, ISP_LOGINFO, f1, "QUERY TASK SET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
394 } else if (aep->at_cmnd.fcp_cmnd_task_management & FCP_CMND_TMF_ABORT_TASK_SET) { in isp_got_tmf_24xx()
395 isp_prt(isp, ISP_LOGINFO, f1, "ABORT TASK SET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
397 } else if (aep->at_cmnd.fcp_cmnd_task_management & FCP_CMND_TMF_CLEAR_TASK_SET) { in isp_got_tmf_24xx()
398 isp_prt(isp, ISP_LOGINFO, f1, "CLEAR TASK SET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
400 } else if (aep->at_cmnd.fcp_cmnd_task_management & FCP_CMND_TMF_QUERY_ASYNC_EVENT) { in isp_got_tmf_24xx()
401 isp_prt(isp, ISP_LOGINFO, f1, "QUERY ASYNC EVENT", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
403 } else if (aep->at_cmnd.fcp_cmnd_task_management & FCP_CMND_TMF_LUN_RESET) { in isp_got_tmf_24xx()
404 isp_prt(isp, ISP_LOGINFO, f1, "LUN RESET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
406 } else if (aep->at_cmnd.fcp_cmnd_task_management & FCP_CMND_TMF_TGT_RESET) { in isp_got_tmf_24xx()
407 isp_prt(isp, ISP_LOGINFO, f1, "TARGET RESET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
409 } else if (aep->at_cmnd.fcp_cmnd_task_management & FCP_CMND_TMF_CLEAR_ACA) { in isp_got_tmf_24xx()
410 isp_prt(isp, ISP_LOGINFO, f1, "CLEAR ACA", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx()
413 …isp_prt(isp, ISP_LOGWARN, f2, aep->at_cmnd.fcp_cmnd_task_management, notify.nt_lun, sid, aep->at_r… in isp_got_tmf_24xx()
415 isp_endcmd(isp, aep, notify.nt_nphdl, chan, ECMD_RVALID | (0x4 << 12), 0); in isp_got_tmf_24xx()