Lines Matching refs:rport

30 BFA_MODULE(rport);
250 static void bfa_rport_free(struct bfa_rport_s *rport);
848 struct bfa_rport_s *rport = reqi->bfa_rport; in bfa_fcxp_queue() local
854 if (rport) { in bfa_fcxp_queue()
855 send_req->rport_fw_hndl = rport->fw_handle; in bfa_fcxp_queue()
856 send_req->max_frmsz = cpu_to_be16(rport->rport_info.max_frmsz); in bfa_fcxp_queue()
1055 bfa_fcxp_send(struct bfa_fcxp_s *fcxp, struct bfa_rport_s *rport, in bfa_fcxp_send() argument
1070 reqi->bfa_rport = rport; in bfa_fcxp_send()
4961 struct bfa_rport_s *rport; in bfa_rport_iocdisable() local
4968 rport = (struct bfa_rport_s *) qe; in bfa_rport_iocdisable()
4969 bfa_sm_send_event(rport, BFA_RPORT_SM_HWFAIL); in bfa_rport_iocdisable()
4976 struct bfa_rport_s *rport; in bfa_rport_alloc() local
4978 bfa_q_deq(&mod->rp_free_q, &rport); in bfa_rport_alloc()
4979 if (rport) in bfa_rport_alloc()
4980 list_add_tail(&rport->qe, &mod->rp_active_q); in bfa_rport_alloc()
4982 return rport; in bfa_rport_alloc()
4986 bfa_rport_free(struct bfa_rport_s *rport) in bfa_rport_free() argument
4988 struct bfa_rport_mod_s *mod = BFA_RPORT_MOD(rport->bfa); in bfa_rport_free()
4990 WARN_ON(!bfa_q_is_on_q(&mod->rp_active_q, rport)); in bfa_rport_free()
4991 list_del(&rport->qe); in bfa_rport_free()
4992 list_add_tail(&rport->qe, &mod->rp_free_q); in bfa_rport_free()
5180 bfa_rport_online(struct bfa_rport_s *rport, struct bfa_rport_info_s *rport_info) in bfa_rport_online() argument
5189 bfa_trc(rport->bfa, rport->rport_tag); in bfa_rport_online()
5193 rport->rport_info = *rport_info; in bfa_rport_online()
5194 bfa_sm_send_event(rport, BFA_RPORT_SM_ONLINE); in bfa_rport_online()
5198 bfa_rport_speed(struct bfa_rport_s *rport, enum bfa_port_speed speed) in bfa_rport_speed() argument
5203 if (rport) { in bfa_rport_speed()
5204 rport->rport_info.speed = speed; in bfa_rport_speed()
5205 bfa_sm_send_event(rport, BFA_RPORT_SM_SET_SPEED); in bfa_rport_speed()