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