Lines Matching refs:ctarg

518 		ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp;  in qla2x00_async_sns_sp_done()
542 if (sp->u.iocb_cmd.u.ctarg.req) { in qla2x00_async_sns_sp_done()
544 sp->u.iocb_cmd.u.ctarg.req_allocated_size, in qla2x00_async_sns_sp_done()
545 sp->u.iocb_cmd.u.ctarg.req, in qla2x00_async_sns_sp_done()
546 sp->u.iocb_cmd.u.ctarg.req_dma); in qla2x00_async_sns_sp_done()
547 sp->u.iocb_cmd.u.ctarg.req = NULL; in qla2x00_async_sns_sp_done()
550 if (sp->u.iocb_cmd.u.ctarg.rsp) { in qla2x00_async_sns_sp_done()
552 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, in qla2x00_async_sns_sp_done()
553 sp->u.iocb_cmd.u.ctarg.rsp, in qla2x00_async_sns_sp_done()
554 sp->u.iocb_cmd.u.ctarg.rsp_dma); in qla2x00_async_sns_sp_done()
555 sp->u.iocb_cmd.u.ctarg.rsp = NULL; in qla2x00_async_sns_sp_done()
604 sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, in qla_async_rftid()
605 sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.req_dma, in qla_async_rftid()
607 sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); in qla_async_rftid()
608 if (!sp->u.iocb_cmd.u.ctarg.req) { in qla_async_rftid()
615 sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, in qla_async_rftid()
616 sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.rsp_dma, in qla_async_rftid()
618 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = sizeof(struct ct_sns_pkt); in qla_async_rftid()
619 if (!sp->u.iocb_cmd.u.ctarg.rsp) { in qla_async_rftid()
625 ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp; in qla_async_rftid()
627 ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; in qla_async_rftid()
639 sp->u.iocb_cmd.u.ctarg.req_size = RFT_ID_REQ_SIZE; in qla_async_rftid()
640 sp->u.iocb_cmd.u.ctarg.rsp_size = RFT_ID_RSP_SIZE; in qla_async_rftid()
641 sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; in qla_async_rftid()
700 sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, in qla_async_rffid()
701 sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.req_dma, in qla_async_rffid()
703 sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); in qla_async_rffid()
704 if (!sp->u.iocb_cmd.u.ctarg.req) { in qla_async_rffid()
711 sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, in qla_async_rffid()
712 sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.rsp_dma, in qla_async_rffid()
714 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = sizeof(struct ct_sns_pkt); in qla_async_rffid()
715 if (!sp->u.iocb_cmd.u.ctarg.rsp) { in qla_async_rffid()
721 ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp; in qla_async_rffid()
723 ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; in qla_async_rffid()
733 sp->u.iocb_cmd.u.ctarg.req_size = RFF_ID_REQ_SIZE; in qla_async_rffid()
734 sp->u.iocb_cmd.u.ctarg.rsp_size = RFF_ID_RSP_SIZE; in qla_async_rffid()
735 sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; in qla_async_rffid()
792 sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, in qla_async_rnnid()
793 sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.req_dma, in qla_async_rnnid()
795 sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); in qla_async_rnnid()
796 if (!sp->u.iocb_cmd.u.ctarg.req) { in qla_async_rnnid()
803 sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, in qla_async_rnnid()
804 sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.rsp_dma, in qla_async_rnnid()
806 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = sizeof(struct ct_sns_pkt); in qla_async_rnnid()
807 if (!sp->u.iocb_cmd.u.ctarg.rsp) { in qla_async_rnnid()
813 ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp; in qla_async_rnnid()
815 ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; in qla_async_rnnid()
824 sp->u.iocb_cmd.u.ctarg.req_size = RNN_ID_REQ_SIZE; in qla_async_rnnid()
825 sp->u.iocb_cmd.u.ctarg.rsp_size = RNN_ID_RSP_SIZE; in qla_async_rnnid()
826 sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; in qla_async_rnnid()
899 sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, in qla_async_rsnn_nn()
900 sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.req_dma, in qla_async_rsnn_nn()
902 sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); in qla_async_rsnn_nn()
903 if (!sp->u.iocb_cmd.u.ctarg.req) { in qla_async_rsnn_nn()
910 sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, in qla_async_rsnn_nn()
911 sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.rsp_dma, in qla_async_rsnn_nn()
913 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = sizeof(struct ct_sns_pkt); in qla_async_rsnn_nn()
914 if (!sp->u.iocb_cmd.u.ctarg.rsp) { in qla_async_rsnn_nn()
920 ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp; in qla_async_rsnn_nn()
922 ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; in qla_async_rsnn_nn()
937 sp->u.iocb_cmd.u.ctarg.req_size = 24 + 1 + ct_req->req.rsnn_nn.name_len; in qla_async_rsnn_nn()
938 sp->u.iocb_cmd.u.ctarg.rsp_size = RSNN_NN_RSP_SIZE; in qla_async_rsnn_nn()
939 sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; in qla_async_rsnn_nn()
2926 sp->u.iocb_cmd.u.ctarg.req = fcport->ct_desc.ct_sns; in qla24xx_async_gpsc()
2927 sp->u.iocb_cmd.u.ctarg.req_dma = fcport->ct_desc.ct_sns_dma; in qla24xx_async_gpsc()
2928 sp->u.iocb_cmd.u.ctarg.rsp = fcport->ct_desc.ct_sns; in qla24xx_async_gpsc()
2929 sp->u.iocb_cmd.u.ctarg.rsp_dma = fcport->ct_desc.ct_sns_dma; in qla24xx_async_gpsc()
2930 sp->u.iocb_cmd.u.ctarg.req_size = GPSC_REQ_SIZE; in qla24xx_async_gpsc()
2931 sp->u.iocb_cmd.u.ctarg.rsp_size = GPSC_RSP_SIZE; in qla24xx_async_gpsc()
2932 sp->u.iocb_cmd.u.ctarg.nport_handle = vha->mgmt_svr_loop_id; in qla24xx_async_gpsc()
2962 if (sp->u.iocb_cmd.u.ctarg.req) { in qla24xx_sp_unmap()
2964 sp->u.iocb_cmd.u.ctarg.req_allocated_size, in qla24xx_sp_unmap()
2965 sp->u.iocb_cmd.u.ctarg.req, in qla24xx_sp_unmap()
2966 sp->u.iocb_cmd.u.ctarg.req_dma); in qla24xx_sp_unmap()
2967 sp->u.iocb_cmd.u.ctarg.req = NULL; in qla24xx_sp_unmap()
2970 if (sp->u.iocb_cmd.u.ctarg.rsp) { in qla24xx_sp_unmap()
2972 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, in qla24xx_sp_unmap()
2973 sp->u.iocb_cmd.u.ctarg.rsp, in qla24xx_sp_unmap()
2974 sp->u.iocb_cmd.u.ctarg.rsp_dma); in qla24xx_sp_unmap()
2975 sp->u.iocb_cmd.u.ctarg.rsp = NULL; in qla24xx_sp_unmap()
2996 ct_rsp = sp->u.iocb_cmd.u.ctarg.rsp; in qla24xx_async_gffid_sp_done()
3023 if (sp->u.iocb_cmd.u.ctarg.req) { in qla24xx_async_gffid_sp_done()
3025 sp->u.iocb_cmd.u.ctarg.req_allocated_size, in qla24xx_async_gffid_sp_done()
3026 sp->u.iocb_cmd.u.ctarg.req, in qla24xx_async_gffid_sp_done()
3027 sp->u.iocb_cmd.u.ctarg.req_dma); in qla24xx_async_gffid_sp_done()
3028 sp->u.iocb_cmd.u.ctarg.req = NULL; in qla24xx_async_gffid_sp_done()
3031 if (sp->u.iocb_cmd.u.ctarg.rsp) { in qla24xx_async_gffid_sp_done()
3033 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, in qla24xx_async_gffid_sp_done()
3034 sp->u.iocb_cmd.u.ctarg.rsp, in qla24xx_async_gffid_sp_done()
3035 sp->u.iocb_cmd.u.ctarg.rsp_dma); in qla24xx_async_gffid_sp_done()
3036 sp->u.iocb_cmd.u.ctarg.rsp = NULL; in qla24xx_async_gffid_sp_done()
3075 sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); in qla24xx_async_gffid()
3076 sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, in qla24xx_async_gffid()
3077 sp->u.iocb_cmd.u.ctarg.req_allocated_size, in qla24xx_async_gffid()
3078 &sp->u.iocb_cmd.u.ctarg.req_dma, in qla24xx_async_gffid()
3080 if (!sp->u.iocb_cmd.u.ctarg.req) { in qla24xx_async_gffid()
3087 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = sizeof(struct ct_sns_pkt); in qla24xx_async_gffid()
3088 sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, in qla24xx_async_gffid()
3089 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, in qla24xx_async_gffid()
3090 &sp->u.iocb_cmd.u.ctarg.rsp_dma, in qla24xx_async_gffid()
3092 if (!sp->u.iocb_cmd.u.ctarg.rsp) { in qla24xx_async_gffid()
3100 ct_req = qla2x00_prep_ct_req(sp->u.iocb_cmd.u.ctarg.req, GFF_ID_CMD, GFF_ID_RSP_SIZE); in qla24xx_async_gffid()
3106 sp->u.iocb_cmd.u.ctarg.req_size = GFF_ID_REQ_SIZE; in qla24xx_async_gffid()
3107 sp->u.iocb_cmd.u.ctarg.rsp_size = GFF_ID_RSP_SIZE; in qla24xx_async_gffid()
3108 sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; in qla24xx_async_gffid()
3125 if (sp->u.iocb_cmd.u.ctarg.req) { in qla24xx_async_gffid()
3127 sp->u.iocb_cmd.u.ctarg.req_allocated_size, in qla24xx_async_gffid()
3128 sp->u.iocb_cmd.u.ctarg.req, in qla24xx_async_gffid()
3129 sp->u.iocb_cmd.u.ctarg.req_dma); in qla24xx_async_gffid()
3130 sp->u.iocb_cmd.u.ctarg.req = NULL; in qla24xx_async_gffid()
3133 if (sp->u.iocb_cmd.u.ctarg.rsp) { in qla24xx_async_gffid()
3135 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, in qla24xx_async_gffid()
3136 sp->u.iocb_cmd.u.ctarg.rsp, in qla24xx_async_gffid()
3137 sp->u.iocb_cmd.u.ctarg.rsp_dma); in qla24xx_async_gffid()
3138 sp->u.iocb_cmd.u.ctarg.rsp = NULL; in qla24xx_async_gffid()
3429 (struct ct_sns_gpnft_rsp *)sp->u.iocb_cmd.u.ctarg.rsp; in qla2x00_find_free_fcp_nvme_slot()
3651 sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, in qla_fab_async_scan()
3653 &sp->u.iocb_cmd.u.ctarg.req_dma, in qla_fab_async_scan()
3655 sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); in qla_fab_async_scan()
3656 if (!sp->u.iocb_cmd.u.ctarg.req) { in qla_fab_async_scan()
3670 sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, in qla_fab_async_scan()
3672 &sp->u.iocb_cmd.u.ctarg.rsp_dma, in qla_fab_async_scan()
3674 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = rspsz; in qla_fab_async_scan()
3675 if (!sp->u.iocb_cmd.u.ctarg.rsp) { in qla_fab_async_scan()
3682 sp->u.iocb_cmd.u.ctarg.req_allocated_size, in qla_fab_async_scan()
3683 sp->u.iocb_cmd.u.ctarg.req, in qla_fab_async_scan()
3684 sp->u.iocb_cmd.u.ctarg.req_dma); in qla_fab_async_scan()
3685 sp->u.iocb_cmd.u.ctarg.req = NULL; in qla_fab_async_scan()
3690 sp->u.iocb_cmd.u.ctarg.rsp_size = rspsz; in qla_fab_async_scan()
3720 if (!sp->u.iocb_cmd.u.ctarg.req || !sp->u.iocb_cmd.u.ctarg.rsp) { in qla_fab_async_scan()
3723 __func__, sp->u.iocb_cmd.u.ctarg.req, in qla_fab_async_scan()
3724 sp->u.iocb_cmd.u.ctarg.rsp); in qla_fab_async_scan()
3734 rspsz = sp->u.iocb_cmd.u.ctarg.rsp_size; in qla_fab_async_scan()
3735 memset(sp->u.iocb_cmd.u.ctarg.req, 0, sp->u.iocb_cmd.u.ctarg.req_size); in qla_fab_async_scan()
3736 memset(sp->u.iocb_cmd.u.ctarg.rsp, 0, sp->u.iocb_cmd.u.ctarg.rsp_size); in qla_fab_async_scan()
3744 ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; in qla_fab_async_scan()
3752 sp->u.iocb_cmd.u.ctarg.req_size = GPN_FT_REQ_SIZE; in qla_fab_async_scan()
3758 sp->u.iocb_cmd.u.ctarg.req_size = GNN_FT_REQ_SIZE; in qla_fab_async_scan()
3764 sp->u.iocb_cmd.u.ctarg.req_size = GPN_FT_REQ_SIZE; in qla_fab_async_scan()
3770 sp->u.iocb_cmd.u.ctarg.req_size = GNN_FT_REQ_SIZE; in qla_fab_async_scan()
3778 sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; in qla_fab_async_scan()
3782 __func__, vha->scan.step, sp->u.iocb_cmd.u.ctarg.rsp_size, in qla_fab_async_scan()
3783 sp->u.iocb_cmd.u.ctarg.req_size, sp->handle, sp->name, in qla_fab_async_scan()
3794 if (sp->u.iocb_cmd.u.ctarg.req) { in qla_fab_async_scan()
3796 sp->u.iocb_cmd.u.ctarg.req_allocated_size, in qla_fab_async_scan()
3797 sp->u.iocb_cmd.u.ctarg.req, in qla_fab_async_scan()
3798 sp->u.iocb_cmd.u.ctarg.req_dma); in qla_fab_async_scan()
3799 sp->u.iocb_cmd.u.ctarg.req = NULL; in qla_fab_async_scan()
3801 if (sp->u.iocb_cmd.u.ctarg.rsp) { in qla_fab_async_scan()
3803 sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, in qla_fab_async_scan()
3804 sp->u.iocb_cmd.u.ctarg.rsp, in qla_fab_async_scan()
3805 sp->u.iocb_cmd.u.ctarg.rsp_dma); in qla_fab_async_scan()
3806 sp->u.iocb_cmd.u.ctarg.rsp = NULL; in qla_fab_async_scan()
3937 sp->u.iocb_cmd.u.ctarg.req = fcport->ct_desc.ct_sns; in qla24xx_async_gfpnid()
3938 sp->u.iocb_cmd.u.ctarg.req_dma = fcport->ct_desc.ct_sns_dma; in qla24xx_async_gfpnid()
3939 sp->u.iocb_cmd.u.ctarg.rsp = fcport->ct_desc.ct_sns; in qla24xx_async_gfpnid()
3940 sp->u.iocb_cmd.u.ctarg.rsp_dma = fcport->ct_desc.ct_sns_dma; in qla24xx_async_gfpnid()
3941 sp->u.iocb_cmd.u.ctarg.req_size = GFPN_ID_REQ_SIZE; in qla24xx_async_gfpnid()
3942 sp->u.iocb_cmd.u.ctarg.rsp_size = GFPN_ID_RSP_SIZE; in qla24xx_async_gfpnid()
3943 sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; in qla24xx_async_gfpnid()