Lines Matching refs:reqp
5948 adv_req_t *reqp; in adv_isr_callback() local
5973 reqp = (adv_req_t *)scp->host_scribble; in adv_isr_callback()
5974 ASC_DBG(1, "reqp 0x%lx\n", (ulong)reqp); in adv_isr_callback()
5975 if (reqp == NULL) { in adv_isr_callback()
5984 reqp->cmndp = NULL; in adv_isr_callback()
6080 while ((sgblkp = reqp->sgblkp) != NULL) { in adv_isr_callback()
6082 reqp->sgblkp = sgblkp->next_sgblkp; in adv_isr_callback()
6118 adv_req_t *reqp; in AdvISR() local
6174 reqp = adv_get_reqp(asc_dvc, pa_offset); in AdvISR()
6175 scsiq = &reqp->scsi_req_q; in AdvISR()
7626 adv_get_sglist(struct asc_board *boardp, adv_req_t *reqp, in adv_get_sglist() argument
7640 reqp->sgblkp = NULL; in adv_get_sglist()
7658 while ((sgblkp = reqp->sgblkp) != NULL) { in adv_get_sglist()
7660 reqp->sgblkp = sgblkp->next_sgblkp; in adv_get_sglist()
7676 if (reqp->sgblkp == NULL) { in adv_get_sglist()
7678 reqp->sgblkp = sgblkp; in adv_get_sglist()
7736 adv_req_t *reqp; in adv_build_req() local
7746 reqp = &boardp->adv_reqp[srb_tag]; in adv_build_req()
7747 if (reqp->cmndp && reqp->cmndp != scp ) { in adv_build_req()
7753 reqp->req_addr = boardp->adv_reqp_addr + (srb_tag * sizeof(adv_req_t)); in adv_build_req()
7755 scsiqp = &reqp->scsi_req_q; in adv_build_req()
7770 reqp->cmndp = scp; in adv_build_req()
7771 scp->host_scribble = (void *)reqp; in adv_build_req()
7810 reqp->sgblkp = NULL; in adv_build_req()
7823 reqp->cmndp = NULL; in adv_build_req()
7831 ret = adv_get_sglist(boardp, reqp, scsiqp, scp, use_sg); in adv_build_req()
7835 reqp->cmndp = NULL; in adv_build_req()
7849 *adv_reqpp = reqp; in adv_build_req()
8380 static int AdvExeScsiQueue(ADV_DVC_VAR *asc_dvc, adv_req_t *reqp) in AdvExeScsiQueue() argument
8384 ADV_SCSI_REQ_Q *scsiq = &reqp->scsi_req_q; in AdvExeScsiQueue()
8411 scsiq->scsiq_rptr = cpu_to_le32(reqp->req_addr); in AdvExeScsiQueue()