fcxp 168 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 1325 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcxp_s *fcxp; fcxp 1329 drivers/scsi/bfa/bfa_fcs.c fcxp = bfa_fcs_fcxp_alloc(fabric->fcs, BFA_FALSE); fcxp 1333 drivers/scsi/bfa/bfa_fcs.c if (!fcxp) fcxp 1336 drivers/scsi/bfa/bfa_fcs.c reqlen = fc_flogi_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 1343 drivers/scsi/bfa/bfa_fcs.c bfa_fcxp_send(fcxp, NULL, fabric->vf_id, fabric->lps->bfa_tag, fcxp 1353 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_flogiacc_comp(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 66 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcxp_s *fcxp; fcxp 77 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcxp_s *fcxp; fcxp 86 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcxp_s *fcxp; fcxp 97 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcxp_s *fcxp; fcxp 149 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcxp_s *fcxp; fcxp 408 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcxp_s *fcxp; /* FCXP needed for discarding */ fcxp 442 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcxp_s *fcxp; /* FCXP needed for discarding */ fcxp 511 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcxp_s *fcxp; /* FCXP in use */ fcxp 30 drivers/scsi/bfa/bfa_fcs_fcpim.c struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 168 drivers/scsi/bfa/bfa_fcs_fcpim.c bfa_fcxp_discard(itnim->fcxp); fcxp 174 drivers/scsi/bfa/bfa_fcs_fcpim.c bfa_fcxp_discard(itnim->fcxp); fcxp 180 drivers/scsi/bfa/bfa_fcs_fcpim.c bfa_fcxp_discard(itnim->fcxp); fcxp 447 drivers/scsi/bfa/bfa_fcs_fcpim.c struct bfa_fcxp_s *fcxp; fcxp 452 drivers/scsi/bfa/bfa_fcs_fcpim.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 454 drivers/scsi/bfa/bfa_fcs_fcpim.c if (!fcxp) { fcxp 460 drivers/scsi/bfa/bfa_fcs_fcpim.c itnim->fcxp = fcxp; fcxp 462 drivers/scsi/bfa/bfa_fcs_fcpim.c len = fc_prli_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 465 drivers/scsi/bfa/bfa_fcs_fcpim.c bfa_fcxp_send(fcxp, rport->bfa_rport, port->fabric->vf_id, port->lp_tag, fcxp 475 drivers/scsi/bfa/bfa_fcs_fcpim.c bfa_fcs_itnim_prli_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 496 drivers/scsi/bfa/bfa_fcs_fcpim.c els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 532 drivers/scsi/bfa/bfa_fcs_fcpim.c ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 382 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 389 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 390 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) fcxp 393 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_ls_rjt_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 397 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, fcxp 410 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 419 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 420 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) fcxp 423 drivers/scsi/bfa/bfa_fcs_lport.c ct_hdr = bfa_fcxp_get_reqbuf(fcxp); fcxp 431 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, fcxp 549 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 556 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 557 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) fcxp 560 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 572 drivers/scsi/bfa/bfa_fcs_lport.c memcpy(((u8 *) bfa_fcxp_get_reqbuf(fcxp)) + fcxp 576 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, fcxp 592 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 601 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 602 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) fcxp 628 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_rnid_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 633 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, fcxp 727 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 733 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 734 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) fcxp 737 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_ba_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 741 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, fcxp 1390 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 1397 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 1404 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 1582 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(fdmi->fcxp); fcxp 1685 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(fdmi->fcxp); fcxp 1786 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(fdmi->fcxp); fcxp 1866 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 1871 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 1873 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 1878 drivers/scsi/bfa/bfa_fcs_lport.c fdmi->fcxp = fcxp; fcxp 1880 drivers/scsi/bfa/bfa_fcs_lport.c pyld = bfa_fcxp_get_reqbuf(fcxp); fcxp 1891 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 2155 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_fdmi_rhba_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 2176 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 2199 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 2204 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 2206 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 2211 drivers/scsi/bfa/bfa_fcs_lport.c fdmi->fcxp = fcxp; fcxp 2213 drivers/scsi/bfa/bfa_fcs_lport.c pyld = bfa_fcxp_get_reqbuf(fcxp); fcxp 2224 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 2478 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_fdmi_rprt_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 2499 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 2522 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 2527 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 2529 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 2534 drivers/scsi/bfa/bfa_fcs_lport.c fdmi->fcxp = fcxp; fcxp 2536 drivers/scsi/bfa/bfa_fcs_lport.c pyld = bfa_fcxp_get_reqbuf(fcxp); fcxp 2545 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 2571 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_fdmi_rpa_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 2591 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 2829 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 2839 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 2848 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 2983 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(ms->fcxp); fcxp 3095 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(ms->fcxp); fcxp 3139 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 3143 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 3145 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 3150 drivers/scsi/bfa/bfa_fcs_lport.c ms->fcxp = fcxp; fcxp 3152 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_gmal_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 3156 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 3165 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_ms_gmal_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 3190 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 3296 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(ms->fcxp); fcxp 3340 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 3344 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 3346 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 3351 drivers/scsi/bfa/bfa_fcs_lport.c ms->fcxp = fcxp; fcxp 3353 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_gfn_req_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 3357 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 3366 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_ms_gfn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 3387 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 3417 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 3421 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 3423 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 3429 drivers/scsi/bfa/bfa_fcs_lport.c ms->fcxp = fcxp; fcxp 3431 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 3438 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 3448 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_ms_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 3470 drivers/scsi/bfa/bfa_fcs_lport.c els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 3486 drivers/scsi/bfa/bfa_fcs_lport.c ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 3582 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 3589 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 3596 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 3603 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 3610 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 3617 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 3624 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 3785 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(ns->fcxp); fcxp 3872 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(ns->fcxp); fcxp 3958 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(ns->fcxp); fcxp 4037 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(ns->fcxp); fcxp 4122 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(ns->fcxp); fcxp 4225 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(ns->fcxp); fcxp 4306 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(ns->fcxp); fcxp 4382 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 4386 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 4388 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 4394 drivers/scsi/bfa/bfa_fcs_lport.c ns->fcxp = fcxp; fcxp 4396 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 4403 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 4413 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_ns_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 4436 drivers/scsi/bfa/bfa_fcs_lport.c els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 4452 drivers/scsi/bfa/bfa_fcs_lport.c ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 4479 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 4483 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 4485 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 4492 drivers/scsi/bfa/bfa_fcs_lport.c ns->fcxp = fcxp; fcxp 4494 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_rnnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 4499 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 4509 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_ns_rnn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 4531 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 4556 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 4561 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 4563 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 4569 drivers/scsi/bfa/bfa_fcs_lport.c ns->fcxp = fcxp; fcxp 4574 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_rsnn_nn_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 4578 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 4589 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_ns_rsnn_nn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 4610 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 4635 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 4643 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 4645 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 4651 drivers/scsi/bfa/bfa_fcs_lport.c ns->fcxp = fcxp; fcxp 4673 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 4676 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 4687 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_ns_rspn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 4708 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 4733 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 4737 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 4739 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 4745 drivers/scsi/bfa/bfa_fcs_lport.c ns->fcxp = fcxp; fcxp 4747 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_rftid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 4750 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 4760 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_ns_rft_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 4781 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 4806 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 4811 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 4813 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 4819 drivers/scsi/bfa/bfa_fcs_lport.c ns->fcxp = fcxp; fcxp 4824 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_rffid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 4828 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 4838 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_ns_rff_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 4859 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 4891 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 4895 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 4897 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 4903 drivers/scsi/bfa/bfa_fcs_lport.c ns->fcxp = fcxp; fcxp 4908 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_gid_ft_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 4911 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 4922 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_ns_gid_ft_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 4954 drivers/scsi/bfa/bfa_fcs_lport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 5158 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 5173 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 5175 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 5182 drivers/scsi/bfa/bfa_fcs_lport.c ns->fcxp = fcxp; fcxp 5198 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_rspnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 5201 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 5220 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp, fcxp 5318 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_discard(scn->fcxp); fcxp 5376 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 5381 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 5383 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) { fcxp 5388 drivers/scsi/bfa/bfa_fcs_lport.c scn->fcxp = fcxp; fcxp 5392 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_scr_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 5396 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_scr_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 5401 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 5410 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_scn_scr_response(void *fcsarg, struct bfa_fcxp_s *fcxp, fcxp 5430 drivers/scsi/bfa/bfa_fcs_lport.c els_cmd = (struct fc_els_cmd_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 5440 drivers/scsi/bfa/bfa_fcs_lport.c ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 5461 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcxp_s *fcxp; fcxp 5467 drivers/scsi/bfa/bfa_fcs_lport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 5468 drivers/scsi/bfa/bfa_fcs_lport.c if (!fcxp) fcxp 5471 drivers/scsi/bfa/bfa_fcs_lport.c len = fc_ls_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 5475 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, fcxp 50 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 56 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 62 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 66 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 427 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 452 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 469 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 477 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 487 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 493 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 499 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 757 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 767 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 776 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 858 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 869 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 881 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 888 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 958 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 975 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 1583 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 1589 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 1596 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 1621 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 1699 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 1703 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 1705 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) { fcxp 1710 drivers/scsi/bfa/bfa_fcs_rport.c rport->fcxp = fcxp; fcxp 1712 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_plogi_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), rport->pid, fcxp 1718 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 1727 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcs_rport_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 1749 drivers/scsi/bfa/bfa_fcs_rport.c plogi_rsp = (struct fc_logi_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 1755 drivers/scsi/bfa/bfa_fcs_rport.c ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 1819 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 1824 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 1826 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) { fcxp 1831 drivers/scsi/bfa/bfa_fcs_rport.c rport->fcxp = fcxp; fcxp 1833 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_plogi_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 1840 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 1853 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 1857 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 1859 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) { fcxp 1864 drivers/scsi/bfa/bfa_fcs_rport.c rport->fcxp = fcxp; fcxp 1866 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_adisc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), rport->pid, fcxp 1870 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 1879 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcs_rport_adisc_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 1884 drivers/scsi/bfa/bfa_fcs_rport.c void *pld = bfa_fcxp_get_rspbuf(fcxp); fcxp 1915 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 1921 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 1923 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) { fcxp 1928 drivers/scsi/bfa/bfa_fcs_rport.c rport->fcxp = fcxp; fcxp 1931 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_gidpn_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 1935 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_gpnid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 1940 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 1948 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcs_rport_gidpn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 1960 drivers/scsi/bfa/bfa_fcs_rport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 2021 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcs_rport_gpnid_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 2030 drivers/scsi/bfa/bfa_fcs_rport.c cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 2071 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 2078 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 2080 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) { fcxp 2085 drivers/scsi/bfa/bfa_fcs_rport.c rport->fcxp = fcxp; fcxp 2087 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_logo_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), rport->pid, fcxp 2091 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 2096 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rport->fcxp); fcxp 2109 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 2116 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 2117 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) fcxp 2121 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_logo_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 2125 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 2157 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 2187 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 2188 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) fcxp 2191 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_prli_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 2195 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 2203 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 2224 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 2225 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) fcxp 2228 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_rpsc_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 2232 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 2240 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 2258 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 2259 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) fcxp 2262 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_adisc_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 2267 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, fcxp 2920 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 2925 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); fcxp 2926 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) fcxp 2928 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_prlo_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 2932 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, rport->bfa_rport, port->fabric->vf_id, fcxp 2946 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 2951 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = bfa_fcs_fcxp_alloc(rport->fcs, BFA_FALSE); fcxp 2952 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) fcxp 2955 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_ls_rjt_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), fcxp 2959 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, fcxp 3104 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp, fcxp 3231 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_discard(rpf->fcxp); fcxp 3370 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcxp_s *fcxp; fcxp 3374 drivers/scsi/bfa/bfa_fcs_rport.c fcxp = fcxp_alloced ? fcxp_alloced : fcxp 3376 drivers/scsi/bfa/bfa_fcs_rport.c if (!fcxp) { fcxp 3381 drivers/scsi/bfa/bfa_fcs_rport.c rpf->fcxp = fcxp; fcxp 3383 drivers/scsi/bfa/bfa_fcs_rport.c len = fc_rpsc2_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), rport->pid, fcxp 3386 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fcxp 3395 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcs_rpf_rpsc2_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 3415 drivers/scsi/bfa/bfa_fcs_rport.c rpsc2_acc = (struct fc_rpsc2_acc_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 3443 drivers/scsi/bfa/bfa_fcs_rport.c ls_rjt = (struct fc_ls_rjt_s *) BFA_FCXP_RSP_PLD(fcxp); fcxp 98 drivers/scsi/bfa/bfa_svc.c static void hal_fcxp_rx_plog(struct bfa_s *bfa, struct bfa_fcxp_s *fcxp, fcxp 101 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_s *fcxp, struct fchs_s *fchs); fcxp 103 drivers/scsi/bfa/bfa_svc.c static void bfa_fcxp_queue(struct bfa_fcxp_s *fcxp, fcxp 417 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_s *fcxp; fcxp 419 drivers/scsi/bfa/bfa_svc.c fcxp = (struct bfa_fcxp_s *) bfa_mem_kva_curp(mod); fcxp 420 drivers/scsi/bfa/bfa_svc.c memset(fcxp, 0, sizeof(struct bfa_fcxp_s) * mod->num_fcxps); fcxp 428 drivers/scsi/bfa/bfa_svc.c mod->fcxp_list = fcxp; fcxp 431 drivers/scsi/bfa/bfa_svc.c fcxp->fcxp_mod = mod; fcxp 432 drivers/scsi/bfa/bfa_svc.c fcxp->fcxp_tag = i; fcxp 435 drivers/scsi/bfa/bfa_svc.c list_add_tail(&fcxp->qe, &mod->fcxp_req_free_q); fcxp 436 drivers/scsi/bfa/bfa_svc.c fcxp->req_rsp = BFA_TRUE; fcxp 438 drivers/scsi/bfa/bfa_svc.c list_add_tail(&fcxp->qe, &mod->fcxp_rsp_free_q); fcxp 439 drivers/scsi/bfa/bfa_svc.c fcxp->req_rsp = BFA_FALSE; fcxp 442 drivers/scsi/bfa/bfa_svc.c bfa_reqq_winit(&fcxp->reqq_wqe, bfa_fcxp_qresume, fcxp); fcxp 443 drivers/scsi/bfa/bfa_svc.c fcxp->reqq_waiting = BFA_FALSE; fcxp 445 drivers/scsi/bfa/bfa_svc.c fcxp = fcxp + 1; fcxp 448 drivers/scsi/bfa/bfa_svc.c bfa_mem_kva_curp(mod) = (void *)fcxp; fcxp 515 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_s *fcxp; fcxp 523 drivers/scsi/bfa/bfa_svc.c fcxp = (struct bfa_fcxp_s *) qe; fcxp 524 drivers/scsi/bfa/bfa_svc.c if (fcxp->caller == NULL) { fcxp 525 drivers/scsi/bfa/bfa_svc.c fcxp->send_cbfn(fcxp->caller, fcxp, fcxp->send_cbarg, fcxp 527 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_free(fcxp); fcxp 529 drivers/scsi/bfa/bfa_svc.c fcxp->rsp_status = BFA_STATUS_IOC_FAILURE; fcxp 530 drivers/scsi/bfa/bfa_svc.c bfa_cb_queue(bfa, &fcxp->hcb_qe, fcxp 531 drivers/scsi/bfa/bfa_svc.c __bfa_fcxp_send_cbfn, fcxp); fcxp 539 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_s *fcxp; fcxp 542 drivers/scsi/bfa/bfa_svc.c bfa_q_deq(&fm->fcxp_req_free_q, &fcxp); fcxp 544 drivers/scsi/bfa/bfa_svc.c bfa_q_deq(&fm->fcxp_rsp_free_q, &fcxp); fcxp 546 drivers/scsi/bfa/bfa_svc.c if (fcxp) fcxp 547 drivers/scsi/bfa/bfa_svc.c list_add_tail(&fcxp->qe, &fm->fcxp_active_q); fcxp 549 drivers/scsi/bfa/bfa_svc.c return fcxp; fcxp 553 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_init_reqrsp(struct bfa_fcxp_s *fcxp, fcxp 567 drivers/scsi/bfa/bfa_svc.c bfa_trc(bfa, fcxp->fcxp_tag); fcxp 591 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_init(struct bfa_fcxp_s *fcxp, fcxp 601 drivers/scsi/bfa/bfa_svc.c bfa_trc(bfa, fcxp->fcxp_tag); fcxp 603 drivers/scsi/bfa/bfa_svc.c fcxp->caller = caller; fcxp 605 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_init_reqrsp(fcxp, bfa, fcxp 606 drivers/scsi/bfa/bfa_svc.c &fcxp->use_ireqbuf, &fcxp->nreq_sgles, &fcxp->req_sga_cbfn, fcxp 607 drivers/scsi/bfa/bfa_svc.c &fcxp->req_sglen_cbfn, &fcxp->req_sgpg_q, fcxp 610 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_init_reqrsp(fcxp, bfa, fcxp 611 drivers/scsi/bfa/bfa_svc.c &fcxp->use_irspbuf, &fcxp->nrsp_sgles, &fcxp->rsp_sga_cbfn, fcxp 612 drivers/scsi/bfa/bfa_svc.c &fcxp->rsp_sglen_cbfn, &fcxp->rsp_sgpg_q, fcxp 618 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_put(struct bfa_fcxp_s *fcxp) fcxp 620 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_mod_s *mod = fcxp->fcxp_mod; fcxp 623 drivers/scsi/bfa/bfa_svc.c if (fcxp->req_rsp) fcxp 629 drivers/scsi/bfa/bfa_svc.c bfa_trc(mod->bfa, fcxp->fcxp_tag); fcxp 631 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_init(fcxp, wqe->caller, wqe->bfa, wqe->nreq_sgles, fcxp 636 drivers/scsi/bfa/bfa_svc.c wqe->alloc_cbfn(wqe->alloc_cbarg, fcxp); fcxp 640 drivers/scsi/bfa/bfa_svc.c WARN_ON(!bfa_q_is_on_q(&mod->fcxp_active_q, fcxp)); fcxp 641 drivers/scsi/bfa/bfa_svc.c list_del(&fcxp->qe); fcxp 643 drivers/scsi/bfa/bfa_svc.c if (fcxp->req_rsp) fcxp 644 drivers/scsi/bfa/bfa_svc.c list_add_tail(&fcxp->qe, &mod->fcxp_req_free_q); fcxp 646 drivers/scsi/bfa/bfa_svc.c list_add_tail(&fcxp->qe, &mod->fcxp_rsp_free_q); fcxp 650 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_null_comp(void *bfad_fcxp, struct bfa_fcxp_s *fcxp, void *cbarg, fcxp 660 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_s *fcxp = cbarg; fcxp 663 drivers/scsi/bfa/bfa_svc.c fcxp->send_cbfn(fcxp->caller, fcxp, fcxp->send_cbarg, fcxp 664 drivers/scsi/bfa/bfa_svc.c fcxp->rsp_status, fcxp->rsp_len, fcxp 665 drivers/scsi/bfa/bfa_svc.c fcxp->residue_len, &fcxp->rsp_fchs); fcxp 667 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_free(fcxp); fcxp 675 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_s *fcxp; fcxp 691 drivers/scsi/bfa/bfa_svc.c fcxp = BFA_FCXP_FROM_TAG(mod, fcxp_tag); fcxp 693 drivers/scsi/bfa/bfa_svc.c WARN_ON(fcxp->send_cbfn == NULL); fcxp 695 drivers/scsi/bfa/bfa_svc.c hal_fcxp_rx_plog(mod->bfa, fcxp, fcxp_rsp); fcxp 697 drivers/scsi/bfa/bfa_svc.c if (fcxp->send_cbfn != NULL) { fcxp 698 drivers/scsi/bfa/bfa_svc.c bfa_trc(mod->bfa, (NULL == fcxp->caller)); fcxp 699 drivers/scsi/bfa/bfa_svc.c if (fcxp->caller == NULL) { fcxp 700 drivers/scsi/bfa/bfa_svc.c fcxp->send_cbfn(fcxp->caller, fcxp, fcxp->send_cbarg, fcxp 706 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_free(fcxp); fcxp 708 drivers/scsi/bfa/bfa_svc.c fcxp->rsp_status = fcxp_rsp->req_status; fcxp 709 drivers/scsi/bfa/bfa_svc.c fcxp->rsp_len = fcxp_rsp->rsp_len; fcxp 710 drivers/scsi/bfa/bfa_svc.c fcxp->residue_len = fcxp_rsp->residue_len; fcxp 711 drivers/scsi/bfa/bfa_svc.c fcxp->rsp_fchs = fcxp_rsp->fchs; fcxp 713 drivers/scsi/bfa/bfa_svc.c bfa_cb_queue(bfa, &fcxp->hcb_qe, fcxp 714 drivers/scsi/bfa/bfa_svc.c __bfa_fcxp_send_cbfn, fcxp); fcxp 717 drivers/scsi/bfa/bfa_svc.c bfa_trc(bfa, (NULL == fcxp->send_cbfn)); fcxp 722 drivers/scsi/bfa/bfa_svc.c hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen, struct bfa_fcxp_s *fcxp, fcxp 729 drivers/scsi/bfa/bfa_svc.c if (fcxp->use_ireqbuf) { fcxp 731 drivers/scsi/bfa/bfa_svc.c *((u32 *) BFA_FCXP_REQ_PLD(fcxp)); fcxp 750 drivers/scsi/bfa/bfa_svc.c hal_fcxp_rx_plog(struct bfa_s *bfa, struct bfa_fcxp_s *fcxp, fcxp 754 drivers/scsi/bfa/bfa_svc.c if (fcxp->use_irspbuf) { fcxp 756 drivers/scsi/bfa/bfa_svc.c *((u32 *) BFA_FCXP_RSP_PLD(fcxp)); fcxp 780 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_s *fcxp = cbarg; fcxp 781 drivers/scsi/bfa/bfa_svc.c struct bfa_s *bfa = fcxp->fcxp_mod->bfa; fcxp 784 drivers/scsi/bfa/bfa_svc.c fcxp->reqq_waiting = BFA_FALSE; fcxp 786 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_queue(fcxp, send_req); fcxp 793 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_queue(struct bfa_fcxp_s *fcxp, struct bfi_fcxp_send_req_s *send_req) fcxp 795 drivers/scsi/bfa/bfa_svc.c struct bfa_s *bfa = fcxp->fcxp_mod->bfa; fcxp 796 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_req_info_s *reqi = &fcxp->req_info; fcxp 797 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_rsp_info_s *rspi = &fcxp->rsp_info; fcxp 803 drivers/scsi/bfa/bfa_svc.c send_req->fcxp_tag = cpu_to_be16(fcxp->fcxp_tag); fcxp 827 drivers/scsi/bfa/bfa_svc.c if (fcxp->use_ireqbuf == 1) { fcxp 829 drivers/scsi/bfa/bfa_svc.c BFA_FCXP_REQ_PLD_PA(fcxp)); fcxp 831 drivers/scsi/bfa/bfa_svc.c if (fcxp->nreq_sgles > 0) { fcxp 832 drivers/scsi/bfa/bfa_svc.c WARN_ON(fcxp->nreq_sgles != 1); fcxp 834 drivers/scsi/bfa/bfa_svc.c fcxp->req_sga_cbfn(fcxp->caller, 0)); fcxp 844 drivers/scsi/bfa/bfa_svc.c if (fcxp->use_irspbuf == 1) { fcxp 848 drivers/scsi/bfa/bfa_svc.c BFA_FCXP_RSP_PLD_PA(fcxp)); fcxp 850 drivers/scsi/bfa/bfa_svc.c if (fcxp->nrsp_sgles > 0) { fcxp 851 drivers/scsi/bfa/bfa_svc.c WARN_ON(fcxp->nrsp_sgles != 1); fcxp 853 drivers/scsi/bfa/bfa_svc.c fcxp->rsp_sga_cbfn(fcxp->caller, 0)); fcxp 861 drivers/scsi/bfa/bfa_svc.c hal_fcxp_tx_plog(bfa, reqi->req_tot_len, fcxp, &reqi->fchs); fcxp 901 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_s *fcxp = NULL; fcxp 905 drivers/scsi/bfa/bfa_svc.c fcxp = bfa_fcxp_get(BFA_FCXP_MOD(bfa), req); fcxp 906 drivers/scsi/bfa/bfa_svc.c if (fcxp == NULL) fcxp 909 drivers/scsi/bfa/bfa_svc.c bfa_trc(bfa, fcxp->fcxp_tag); fcxp 911 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_init(fcxp, caller, bfa, nreq_sgles, nrsp_sgles, req_sga_cbfn, fcxp 914 drivers/scsi/bfa/bfa_svc.c return fcxp; fcxp 925 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_get_reqbuf(struct bfa_fcxp_s *fcxp) fcxp 927 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_mod_s *mod = fcxp->fcxp_mod; fcxp 930 drivers/scsi/bfa/bfa_svc.c WARN_ON(fcxp->use_ireqbuf != 1); fcxp 931 drivers/scsi/bfa/bfa_svc.c reqbuf = bfa_mem_get_dmabuf_kva(mod, fcxp->fcxp_tag, fcxp 937 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_get_reqbufsz(struct bfa_fcxp_s *fcxp) fcxp 939 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_mod_s *mod = fcxp->fcxp_mod; fcxp 952 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_get_rspbuf(struct bfa_fcxp_s *fcxp) fcxp 954 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_mod_s *mod = fcxp->fcxp_mod; fcxp 957 drivers/scsi/bfa/bfa_svc.c WARN_ON(fcxp->use_irspbuf != 1); fcxp 959 drivers/scsi/bfa/bfa_svc.c fcxp_buf = bfa_mem_get_dmabuf_kva(mod, fcxp->fcxp_tag, fcxp 974 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_free(struct bfa_fcxp_s *fcxp) fcxp 976 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_mod_s *mod = fcxp->fcxp_mod; fcxp 978 drivers/scsi/bfa/bfa_svc.c WARN_ON(fcxp == NULL); fcxp 979 drivers/scsi/bfa/bfa_svc.c bfa_trc(mod->bfa, fcxp->fcxp_tag); fcxp 980 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_put(fcxp); fcxp 1005 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_send(struct bfa_fcxp_s *fcxp, struct bfa_rport_s *rport, fcxp 1010 drivers/scsi/bfa/bfa_svc.c struct bfa_s *bfa = fcxp->fcxp_mod->bfa; fcxp 1011 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_req_info_s *reqi = &fcxp->req_info; fcxp 1012 drivers/scsi/bfa/bfa_svc.c struct bfa_fcxp_rsp_info_s *rspi = &fcxp->rsp_info; fcxp 1015 drivers/scsi/bfa/bfa_svc.c bfa_trc(bfa, fcxp->fcxp_tag); fcxp 1029 drivers/scsi/bfa/bfa_svc.c fcxp->send_cbfn = cbfn ? cbfn : bfa_fcxp_null_comp; fcxp 1030 drivers/scsi/bfa/bfa_svc.c fcxp->send_cbarg = cbarg; fcxp 1037 drivers/scsi/bfa/bfa_svc.c bfa_trc(bfa, fcxp->fcxp_tag); fcxp 1038 drivers/scsi/bfa/bfa_svc.c fcxp->reqq_waiting = BFA_TRUE; fcxp 1039 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wait(bfa, BFA_REQQ_FCXP, &fcxp->reqq_wqe); fcxp 1043 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_queue(fcxp, send_req); fcxp 1054 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_abort(struct bfa_fcxp_s *fcxp) fcxp 1056 drivers/scsi/bfa/bfa_svc.c bfa_trc(fcxp->fcxp_mod->bfa, fcxp->fcxp_tag); fcxp 1105 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_discard(struct bfa_fcxp_s *fcxp) fcxp 1111 drivers/scsi/bfa/bfa_svc.c if (fcxp->reqq_waiting) { fcxp 1112 drivers/scsi/bfa/bfa_svc.c fcxp->reqq_waiting = BFA_FALSE; fcxp 1113 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wcancel(&fcxp->reqq_wqe); fcxp 1114 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_free(fcxp); fcxp 1118 drivers/scsi/bfa/bfa_svc.c fcxp->send_cbfn = bfa_fcxp_null_comp; fcxp 110 drivers/scsi/bfa/bfa_svc.h typedef void (*fcxp_send_cb_t) (struct bfa_s *ioc, struct bfa_fcxp_s *fcxp, fcxp 117 drivers/scsi/bfa/bfa_svc.h typedef void (*bfa_cb_fcxp_send_t) (void *bfad_fcxp, struct bfa_fcxp_s *fcxp, fcxp 121 drivers/scsi/bfa/bfa_svc.h typedef void (*bfa_fcxp_alloc_cbfn_t) (void *cbarg, struct bfa_fcxp_s *fcxp); fcxp 620 drivers/scsi/bfa/bfa_svc.h void bfa_fcxp_discard(struct bfa_fcxp_s *fcxp); fcxp 622 drivers/scsi/bfa/bfa_svc.h void *bfa_fcxp_get_reqbuf(struct bfa_fcxp_s *fcxp); fcxp 623 drivers/scsi/bfa/bfa_svc.h void *bfa_fcxp_get_rspbuf(struct bfa_fcxp_s *fcxp); fcxp 625 drivers/scsi/bfa/bfa_svc.h void bfa_fcxp_free(struct bfa_fcxp_s *fcxp); fcxp 627 drivers/scsi/bfa/bfa_svc.h void bfa_fcxp_send(struct bfa_fcxp_s *fcxp, struct bfa_rport_s *rport, fcxp 634 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcxp_abort(struct bfa_fcxp_s *fcxp); fcxp 635 drivers/scsi/bfa/bfa_svc.h u32 bfa_fcxp_get_reqbufsz(struct bfa_fcxp_s *fcxp); fcxp 3225 drivers/scsi/bfa/bfad_bsg.c bfad_send_fcpt_cb(void *bfad_fcxp, struct bfa_fcxp_s *fcxp, void *cbarg,