Lines Matching refs:reqp
2883 sns_screq_t *reqp = (sns_screq_t *) local; in isp_register_fc4_type() local
2886 MEMZERO((void *) reqp, SNS_RFT_ID_REQ_SIZE); in isp_register_fc4_type()
2887 reqp->snscb_rblen = SNS_RFT_ID_RESP_SIZE >> 1; in isp_register_fc4_type()
2888 reqp->snscb_addr[RQRSP_ADDR0015] = DMA_WD0(fcp->isp_scdma + 0x100); in isp_register_fc4_type()
2889 reqp->snscb_addr[RQRSP_ADDR1631] = DMA_WD1(fcp->isp_scdma + 0x100); in isp_register_fc4_type()
2890 reqp->snscb_addr[RQRSP_ADDR3247] = DMA_WD2(fcp->isp_scdma + 0x100); in isp_register_fc4_type()
2891 reqp->snscb_addr[RQRSP_ADDR4863] = DMA_WD3(fcp->isp_scdma + 0x100); in isp_register_fc4_type()
2892 reqp->snscb_sblen = 22; in isp_register_fc4_type()
2893 reqp->snscb_data[0] = SNS_RFT_ID; in isp_register_fc4_type()
2894 reqp->snscb_data[4] = fcp->isp_portid & 0xffff; in isp_register_fc4_type()
2895 reqp->snscb_data[5] = (fcp->isp_portid >> 16) & 0xff; in isp_register_fc4_type()
2896 reqp->snscb_data[6] = (1 << FC4_SCSI); in isp_register_fc4_type()
2898 reqp->snscb_data[6] |= (1 << FC4_IP); /* ISO/IEC 8802-2 LLC/SNAP */ in isp_register_fc4_type()
2901 isp_put_sns_request(isp, reqp, (sns_screq_t *) fcp->isp_scratch); in isp_register_fc4_type()
2928 ispreq_t *reqp, *qep; in isp_start() local
3171 reqp = (ispreq_t *) local; in isp_start()
3181 MEMZERO((void *) reqp, QENTRY_LEN); in isp_start()
3182 reqp->req_header.rqs_entry_count = 1; in isp_start()
3183 reqp->req_header.rqs_entry_type = RQSTYPE_MARKER; in isp_start()
3184 reqp->req_modifier = SYNC_ALL; in isp_start()
3185 reqp->req_target = i << 7; /* insert bus number */ in isp_start()
3186 isp_put_request(isp, reqp, qep); in isp_start()
3198 MEMZERO((void *)reqp, QENTRY_LEN); in isp_start()
3199 reqp->req_header.rqs_entry_count = 1; in isp_start()
3201 reqp->req_header.rqs_entry_type = RQSTYPE_T2RQS; in isp_start()
3204 reqp->req_header.rqs_entry_type = RQSTYPE_CMDONLY; in isp_start()
3206 reqp->req_header.rqs_entry_type = RQSTYPE_REQUEST; in isp_start()
3222 ((ispreqt2_t *)reqp)->req_flags = XS_TAG_TYPE(xs); in isp_start()
3229 ((ispreqt2_t *)reqp)->req_flags = REQFLAG_HTAG; in isp_start()
3231 ((ispreqt2_t *)reqp)->req_flags = REQFLAG_STAG; in isp_start()
3238 reqp->req_flags = XS_TAG_TYPE(xs); in isp_start()
3241 reqp->req_target = target | (XS_CHANNEL(xs) << 7); in isp_start()
3243 reqp->req_lun_trn = XS_LUN(xs); in isp_start()
3244 reqp->req_cdblen = XS_CDBLEN(xs); in isp_start()
3247 ((ispreqt2_t *)reqp)->req_scclun = XS_LUN(xs); in isp_start()
3249 ((ispreqt2_t *)reqp)->req_lun_trn = XS_LUN(xs); in isp_start()
3251 MEMCPY(reqp->req_cdb, XS_CDBP(xs), XS_CDBLEN(xs)); in isp_start()
3253 reqp->req_time = XS_TIME(xs) / 1000; in isp_start()
3254 if (reqp->req_time == 0 && XS_TIME(xs)) { in isp_start()
3255 reqp->req_time = 1; in isp_start()
3263 reqp->req_handle = handle; in isp_start()
3269 i = ISP_DMASETUP(isp, xs, reqp, &nxti, optr); in isp_start()