Lines Matching refs:srp

3295 	soc_response_t		*srp;  in socal_intr_solicited()  local
3345 srp = (soc_response_t *)cqe; in socal_intr_solicited()
3346 port = srp->sr_soc_hdr.sh_flags & SOC_PORT_B; in socal_intr_solicited()
3347 shp = &srp->sr_soc_hdr; in socal_intr_solicited()
3348 cq_hdr = &srp->sr_cqhdr; in socal_intr_solicited()
3410 status = srp->sr_soc_status; in socal_intr_solicited()
3435 (srp->sr_soc_hdr.sh_flags & SOC_FC_HEADER)) { in socal_intr_solicited()
3436 src = (caddr_t)&srp->sr_fc_frame_hdr; in socal_intr_solicited()
3440 i = srp->sr_soc_hdr.sh_flags & SOC_PORT_B ? in socal_intr_solicited()
3456 (uint32_t)srp->sr_dataseg.fc_base; in socal_intr_solicited()
3457 fcalpkt->fcal_ncmds = srp->sr_ncmds; in socal_intr_solicited()
3610 soc_response_t *srp; in socal_intr_unsolicited() local
3747 srp = (soc_response_t *)cqe; in socal_intr_unsolicited()
3748 flags = srp->sr_soc_hdr.sh_flags; in socal_intr_unsolicited()
3758 srp = (soc_response_t *)cqe; in socal_intr_unsolicited()
3760 switch (srp->sr_fc_frame_hdr.r_ctl & R_CTL_ROUTING) { in socal_intr_unsolicited()
3787 srp->sr_fc_frame_hdr.type); in socal_intr_unsolicited()
3791 switch (srp->sr_fc_frame_hdr.type) { in socal_intr_unsolicited()
3799 srp->sr_fc_frame_hdr.type)) { in socal_intr_unsolicited()
3816 srp->sr_fc_frame_hdr.type); in socal_intr_unsolicited()
3824 srp->sr_fc_frame_hdr.r_ctl); in socal_intr_unsolicited()
3836 status = srp->sr_soc_status; in socal_intr_unsolicited()
3998 soc_response_t *srp = (soc_response_t *)cqe; in socal_us_els() local
4008 if ((els == NULL) || ((i = srp->sr_soc_hdr.sh_byte_cnt) == 0)) { in socal_us_els()
4419 soc_request_t *srp; in socal_els_alloc() local
4498 srp = (soc_request_t *)&fcalpkt->fcal_socal_request; in socal_els_alloc()
4499 srp->sr_soc_hdr.sh_flags = SOC_FC_HEADER; in socal_els_alloc()
4501 srp->sr_soc_hdr.sh_flags |= SOC_PORT_B; in socal_els_alloc()
4502 srp->sr_soc_hdr.sh_class = 3; in socal_els_alloc()
4503 srp->sr_soc_hdr.sh_byte_cnt = cmd_size; in socal_els_alloc()
4504 srp->sr_dataseg[0].fc_base = (uint32_t)ccookie.dmac_address; in socal_els_alloc()
4505 srp->sr_dataseg[0].fc_count = cmd_size; in socal_els_alloc()
4507 srp->sr_soc_hdr.sh_seg_cnt = 1; in socal_els_alloc()
4509 srp->sr_soc_hdr.sh_seg_cnt = 2; in socal_els_alloc()
4510 srp->sr_dataseg[1].fc_base = (uint32_t)rcookie.dmac_address; in socal_els_alloc()
4511 srp->sr_dataseg[1].fc_count = rsp_size; in socal_els_alloc()
4513 srp->sr_cqhdr.cq_hdr_count = 1; in socal_els_alloc()
4515 srp->sr_cqhdr.cq_hdr_type = CQ_TYPE_SIMPLE; in socal_els_alloc()
4520 fhp = &srp->sr_fc_frame_hdr; in socal_els_alloc()
4569 soc_request_t *srp; in socal_lbf_alloc() local
4645 srp = (soc_request_t *)&fcalpkt->fcal_socal_request; in socal_lbf_alloc()
4646 srp->sr_soc_hdr.sh_flags = SOC_FC_HEADER; in socal_lbf_alloc()
4648 srp->sr_soc_hdr.sh_flags |= SOC_PORT_B; in socal_lbf_alloc()
4649 srp->sr_soc_hdr.sh_class = 3; in socal_lbf_alloc()
4650 srp->sr_soc_hdr.sh_byte_cnt = cmd_size; in socal_lbf_alloc()
4651 srp->sr_dataseg[0].fc_base = (uint32_t)ccookie.dmac_address; in socal_lbf_alloc()
4652 srp->sr_dataseg[0].fc_count = cmd_size; in socal_lbf_alloc()
4654 srp->sr_soc_hdr.sh_seg_cnt = 1; in socal_lbf_alloc()
4656 srp->sr_soc_hdr.sh_seg_cnt = 2; in socal_lbf_alloc()
4657 srp->sr_dataseg[1].fc_base = (uint32_t)rcookie.dmac_address; in socal_lbf_alloc()
4658 srp->sr_dataseg[1].fc_count = rsp_size; in socal_lbf_alloc()
4660 srp->sr_cqhdr.cq_hdr_count = 1; in socal_lbf_alloc()
4662 srp->sr_cqhdr.cq_hdr_type = CQ_TYPE_SIMPLE; in socal_lbf_alloc()
4667 fhp = &srp->sr_fc_frame_hdr; in socal_lbf_alloc()