Lines Matching refs:fc_lport
101 static void fc_lport_error(struct fc_lport *, struct fc_frame *);
103 static void fc_lport_enter_reset(struct fc_lport *);
104 static void fc_lport_enter_flogi(struct fc_lport *);
105 static void fc_lport_enter_dns(struct fc_lport *);
106 static void fc_lport_enter_ns(struct fc_lport *, enum fc_lport_state);
107 static void fc_lport_enter_scr(struct fc_lport *);
108 static void fc_lport_enter_ready(struct fc_lport *);
109 static void fc_lport_enter_logo(struct fc_lport *);
110 static void fc_lport_enter_fdmi(struct fc_lport *lport);
111 static void fc_lport_enter_ms(struct fc_lport *, enum fc_lport_state);
144 struct fc_lport *lport;
156 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop()
171 static void fc_lport_rport_callback(struct fc_lport *lport, in fc_lport_rport_callback()
215 static const char *fc_lport_state(struct fc_lport *lport) in fc_lport_state()
232 static void fc_lport_ptp_setup(struct fc_lport *lport, in fc_lport_ptp_setup()
260 struct fc_lport *lport = shost_priv(shost); in fc_get_host_port_state()
283 struct fc_lport *lport = shost_priv(shost); in fc_get_host_speed()
296 struct fc_lport *lport = shost_priv(shost); in fc_get_host_stats()
349 static void fc_lport_flogi_fill(struct fc_lport *lport, in fc_lport_flogi_fill()
384 static void fc_lport_add_fc4_type(struct fc_lport *lport, enum fc_fh_type type) in fc_lport_add_fc4_type()
397 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_rlir_req()
413 static void fc_lport_recv_echo_req(struct fc_lport *lport, in fc_lport_recv_echo_req()
448 static void fc_lport_recv_rnid_req(struct fc_lport *lport, in fc_lport_recv_rnid_req()
506 static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_logo_req()
522 int fc_fabric_login(struct fc_lport *lport) in fc_fabric_login()
543 void __fc_linkup(struct fc_lport *lport) in __fc_linkup()
559 void fc_linkup(struct fc_lport *lport) in fc_linkup()
574 void __fc_linkdown(struct fc_lport *lport) in __fc_linkdown()
589 void fc_linkdown(struct fc_lport *lport) in fc_linkdown()
607 int fc_fabric_logoff(struct fc_lport *lport) in fc_fabric_logoff()
633 int fc_lport_destroy(struct fc_lport *lport) in fc_lport_destroy()
655 int fc_set_mfs(struct fc_lport *lport, u32 mfs) in fc_set_mfs()
687 static void fc_lport_disc_callback(struct fc_lport *lport, in fc_lport_disc_callback()
712 static void fc_lport_enter_ready(struct fc_lport *lport) in fc_lport_enter_ready()
734 static void fc_lport_set_port_id(struct fc_lport *lport, u32 port_id, in fc_lport_set_port_id()
761 void fc_lport_set_local_id(struct fc_lport *lport, u32 port_id) in fc_lport_set_local_id()
789 static void fc_lport_recv_flogi_req(struct fc_lport *lport, in fc_lport_recv_flogi_req()
870 static void fc_lport_recv_els_req(struct fc_lport *lport, in fc_lport_recv_els_req()
939 void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv()
979 int fc_lport_reset(struct fc_lport *lport) in fc_lport_reset()
993 static void fc_lport_reset_locked(struct fc_lport *lport) in fc_lport_reset_locked()
1021 static void fc_lport_enter_reset(struct fc_lport *lport) in fc_lport_enter_reset()
1050 static void fc_lport_enter_disabled(struct fc_lport *lport) in fc_lport_enter_disabled()
1071 static void fc_lport_error(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_error()
1112 struct fc_lport *lport = lp_arg; in fc_lport_ns_resp()
1188 struct fc_lport *lport = lp_arg; in fc_lport_ms_resp()
1272 struct fc_lport *lport = lp_arg; in fc_lport_scr_resp()
1311 static void fc_lport_enter_scr(struct fc_lport *lport) in fc_lport_enter_scr()
1339 static void fc_lport_enter_ns(struct fc_lport *lport, enum fc_lport_state state) in fc_lport_enter_ns()
1408 static void fc_lport_enter_dns(struct fc_lport *lport) in fc_lport_enter_dns()
1438 static void fc_lport_enter_ms(struct fc_lport *lport, enum fc_lport_state state) in fc_lport_enter_ms()
1554 static void fc_lport_enter_fdmi(struct fc_lport *lport) in fc_lport_enter_fdmi()
1585 struct fc_lport *lport = in fc_lport_timeout()
1586 container_of(work, struct fc_lport, in fc_lport_timeout()
1653 struct fc_lport *lport = lp_arg; in fc_lport_logo_resp()
1693 static void fc_lport_enter_logo(struct fc_lport *lport) in fc_lport_enter_logo()
1731 struct fc_lport *lport = lp_arg; in fc_lport_flogi_resp()
1835 static void fc_lport_enter_flogi(struct fc_lport *lport) in fc_lport_enter_flogi()
1868 int fc_lport_config(struct fc_lport *lport) in fc_lport_config()
1887 int fc_lport_init(struct fc_lport *lport) in fc_lport_init()
1954 struct fc_lport *lport = info->lport; in fc_lport_bsg_resp()
2014 struct fc_lport *lport, in fc_lport_els_request()
2074 struct fc_lport *lport, u32 did, u32 tov) in fc_lport_ct_request()
2136 struct fc_lport *lport = shost_priv(shost); in fc_lport_bsg_request()