drv_fcxp         3183 drivers/scsi/bfa/bfad_bsg.c 	struct bfad_fcxp	*drv_fcxp = bfad_fcxp;
drv_fcxp         3187 drivers/scsi/bfa/bfad_bsg.c 	sge = drv_fcxp->req_sge + sgeid;
drv_fcxp         3195 drivers/scsi/bfa/bfad_bsg.c 	struct bfad_fcxp	*drv_fcxp = bfad_fcxp;
drv_fcxp         3198 drivers/scsi/bfa/bfad_bsg.c 	sge = drv_fcxp->req_sge + sgeid;
drv_fcxp         3205 drivers/scsi/bfa/bfad_bsg.c 	struct bfad_fcxp	*drv_fcxp = bfad_fcxp;
drv_fcxp         3209 drivers/scsi/bfa/bfad_bsg.c 	sge = drv_fcxp->rsp_sge + sgeid;
drv_fcxp         3217 drivers/scsi/bfa/bfad_bsg.c 	struct bfad_fcxp	*drv_fcxp = bfad_fcxp;
drv_fcxp         3220 drivers/scsi/bfa/bfad_bsg.c 	sge = drv_fcxp->rsp_sge + sgeid;
drv_fcxp         3229 drivers/scsi/bfa/bfad_bsg.c 	struct bfad_fcxp *drv_fcxp = bfad_fcxp;
drv_fcxp         3231 drivers/scsi/bfa/bfad_bsg.c 	drv_fcxp->req_status = req_status;
drv_fcxp         3232 drivers/scsi/bfa/bfad_bsg.c 	drv_fcxp->rsp_len = rsp_len;
drv_fcxp         3235 drivers/scsi/bfa/bfad_bsg.c 	drv_fcxp->bfa_fcxp = NULL;
drv_fcxp         3236 drivers/scsi/bfa/bfad_bsg.c 	complete(&drv_fcxp->comp);
drv_fcxp         3302 drivers/scsi/bfa/bfad_bsg.c bfad_fcxp_bsg_send(struct bsg_job *job, struct bfad_fcxp *drv_fcxp,
drv_fcxp         3306 drivers/scsi/bfa/bfad_bsg.c 	struct bfad_s	*bfad = drv_fcxp->port->bfad;
drv_fcxp         3313 drivers/scsi/bfa/bfad_bsg.c 	hal_fcxp = bfa_fcxp_req_rsp_alloc(drv_fcxp, &bfad->bfa,
drv_fcxp         3314 drivers/scsi/bfa/bfad_bsg.c 				  drv_fcxp->num_req_sgles,
drv_fcxp         3315 drivers/scsi/bfa/bfad_bsg.c 				  drv_fcxp->num_rsp_sgles,
drv_fcxp         3326 drivers/scsi/bfa/bfad_bsg.c 	drv_fcxp->bfa_fcxp = hal_fcxp;
drv_fcxp         3330 drivers/scsi/bfa/bfad_bsg.c 	bfa_fcxp_send(hal_fcxp, drv_fcxp->bfa_rport, bsg_fcpt->vf_id, lp_tag,
drv_fcxp         3349 drivers/scsi/bfa/bfad_bsg.c 	struct bfad_fcxp    *drv_fcxp;
drv_fcxp         3387 drivers/scsi/bfa/bfad_bsg.c 	drv_fcxp = kzalloc(sizeof(struct bfad_fcxp), GFP_KERNEL);
drv_fcxp         3388 drivers/scsi/bfa/bfad_bsg.c 	if (drv_fcxp == NULL) {
drv_fcxp         3410 drivers/scsi/bfa/bfad_bsg.c 	drv_fcxp->port = fcs_port->bfad_port;
drv_fcxp         3412 drivers/scsi/bfa/bfad_bsg.c 	if (drv_fcxp->port->bfad == 0)
drv_fcxp         3413 drivers/scsi/bfa/bfad_bsg.c 		drv_fcxp->port->bfad = bfad;
drv_fcxp         3419 drivers/scsi/bfa/bfad_bsg.c 		drv_fcxp->bfa_rport = NULL;
drv_fcxp         3432 drivers/scsi/bfa/bfad_bsg.c 		drv_fcxp->bfa_rport = fcs_rport->bfa_rport;
drv_fcxp         3463 drivers/scsi/bfa/bfad_bsg.c 	drv_fcxp->reqbuf_info = bfad_fcxp_map_sg(bfad, req_kbuf,
drv_fcxp         3465 drivers/scsi/bfa/bfad_bsg.c 					&drv_fcxp->num_req_sgles);
drv_fcxp         3466 drivers/scsi/bfa/bfad_bsg.c 	if (!drv_fcxp->reqbuf_info) {
drv_fcxp         3473 drivers/scsi/bfa/bfad_bsg.c 	drv_fcxp->req_sge = (struct bfa_sge_s *)
drv_fcxp         3474 drivers/scsi/bfa/bfad_bsg.c 			    (((uint8_t *)drv_fcxp->reqbuf_info) +
drv_fcxp         3476 drivers/scsi/bfa/bfad_bsg.c 					drv_fcxp->num_req_sgles));
drv_fcxp         3479 drivers/scsi/bfa/bfad_bsg.c 	drv_fcxp->rspbuf_info = bfad_fcxp_map_sg(bfad, rsp_kbuf,
drv_fcxp         3481 drivers/scsi/bfa/bfad_bsg.c 					&drv_fcxp->num_rsp_sgles);
drv_fcxp         3482 drivers/scsi/bfa/bfad_bsg.c 	if (!drv_fcxp->rspbuf_info) {
drv_fcxp         3489 drivers/scsi/bfa/bfad_bsg.c 	rsp_buf_info = (struct bfad_buf_info *)drv_fcxp->rspbuf_info;
drv_fcxp         3490 drivers/scsi/bfa/bfad_bsg.c 	drv_fcxp->rsp_sge = (struct bfa_sge_s  *)
drv_fcxp         3491 drivers/scsi/bfa/bfad_bsg.c 			    (((uint8_t *)drv_fcxp->rspbuf_info) +
drv_fcxp         3493 drivers/scsi/bfa/bfad_bsg.c 					drv_fcxp->num_rsp_sgles));
drv_fcxp         3496 drivers/scsi/bfa/bfad_bsg.c 	init_completion(&drv_fcxp->comp);
drv_fcxp         3497 drivers/scsi/bfa/bfad_bsg.c 	rc = bfad_fcxp_bsg_send(job, drv_fcxp, bsg_fcpt);
drv_fcxp         3499 drivers/scsi/bfa/bfad_bsg.c 		wait_for_completion(&drv_fcxp->comp);
drv_fcxp         3500 drivers/scsi/bfa/bfad_bsg.c 		bsg_fcpt->status = drv_fcxp->req_status;
drv_fcxp         3507 drivers/scsi/bfa/bfad_bsg.c 	if (drv_fcxp->req_status == BFA_STATUS_OK) {
drv_fcxp         3508 drivers/scsi/bfa/bfad_bsg.c 		job->reply_len = drv_fcxp->rsp_len;
drv_fcxp         3509 drivers/scsi/bfa/bfad_bsg.c 		bsg_reply->reply_payload_rcv_len = drv_fcxp->rsp_len;
drv_fcxp         3526 drivers/scsi/bfa/bfad_bsg.c 	bfad_fcxp_free_mem(bfad, drv_fcxp->rspbuf_info,
drv_fcxp         3527 drivers/scsi/bfa/bfad_bsg.c 			   drv_fcxp->num_rsp_sgles);
drv_fcxp         3528 drivers/scsi/bfa/bfad_bsg.c 	bfad_fcxp_free_mem(bfad, drv_fcxp->reqbuf_info,
drv_fcxp         3529 drivers/scsi/bfa/bfad_bsg.c 			   drv_fcxp->num_req_sgles);
drv_fcxp         3539 drivers/scsi/bfa/bfad_bsg.c 	kfree(drv_fcxp);