elreq             716 drivers/scsi/qla2xxx/qla_bsg.c 	struct msg_echo_lb elreq;
elreq             732 drivers/scsi/qla2xxx/qla_bsg.c 	memset(&elreq, 0, sizeof(elreq));
elreq             734 drivers/scsi/qla2xxx/qla_bsg.c 	elreq.req_sg_cnt = dma_map_sg(&ha->pdev->dev,
elreq             738 drivers/scsi/qla2xxx/qla_bsg.c 	if (!elreq.req_sg_cnt) {
elreq             740 drivers/scsi/qla2xxx/qla_bsg.c 		    "dma_map_sg returned %d for request.\n", elreq.req_sg_cnt);
elreq             744 drivers/scsi/qla2xxx/qla_bsg.c 	elreq.rsp_sg_cnt = dma_map_sg(&ha->pdev->dev,
elreq             748 drivers/scsi/qla2xxx/qla_bsg.c 	if (!elreq.rsp_sg_cnt) {
elreq             750 drivers/scsi/qla2xxx/qla_bsg.c 		    "dma_map_sg returned %d for reply.\n", elreq.rsp_sg_cnt);
elreq             755 drivers/scsi/qla2xxx/qla_bsg.c 	if ((elreq.req_sg_cnt !=  bsg_job->request_payload.sg_cnt) ||
elreq             756 drivers/scsi/qla2xxx/qla_bsg.c 		(elreq.rsp_sg_cnt != bsg_job->reply_payload.sg_cnt)) {
elreq             761 drivers/scsi/qla2xxx/qla_bsg.c 		    bsg_job->request_payload.sg_cnt, elreq.req_sg_cnt,
elreq             762 drivers/scsi/qla2xxx/qla_bsg.c 		    bsg_job->reply_payload.sg_cnt, elreq.rsp_sg_cnt);
elreq             789 drivers/scsi/qla2xxx/qla_bsg.c 	elreq.send_dma = req_data_dma;
elreq             790 drivers/scsi/qla2xxx/qla_bsg.c 	elreq.rcv_dma = rsp_data_dma;
elreq             791 drivers/scsi/qla2xxx/qla_bsg.c 	elreq.transfer_size = req_data_len;
elreq             793 drivers/scsi/qla2xxx/qla_bsg.c 	elreq.options = bsg_request->rqst_data.h_vendor.vendor_cmd[1];
elreq             794 drivers/scsi/qla2xxx/qla_bsg.c 	elreq.iteration_count =
elreq             801 drivers/scsi/qla2xxx/qla_bsg.c 	    elreq.options == EXTERNAL_LOOPBACK) {
elreq             806 drivers/scsi/qla2xxx/qla_bsg.c 		rval = qla2x00_echo_test(vha, &elreq, response);
elreq             828 drivers/scsi/qla2xxx/qla_bsg.c 			    "elreq.options=%04x\n", elreq.options);
elreq             830 drivers/scsi/qla2xxx/qla_bsg.c 			if (elreq.options == EXTERNAL_LOOPBACK)
elreq             833 drivers/scsi/qla2xxx/qla_bsg.c 					    config, new_config, elreq.options);
elreq             839 drivers/scsi/qla2xxx/qla_bsg.c 				    new_config, elreq.options);
elreq             851 drivers/scsi/qla2xxx/qla_bsg.c 			rval = qla2x00_loopback_test(vha, &elreq, response);
elreq             899 drivers/scsi/qla2xxx/qla_bsg.c 			rval = qla2x00_loopback_test(vha, &elreq, response);