Lines Matching refs:fc_lport
120 struct fc_lport *lp;
149 void (*event_callback)(struct fc_lport *, struct fc_rport_priv *,
162 struct fc_lport *local_port;
196 struct fc_lport *local_port;
220 void (*lld_event_callback)(struct fc_lport *,
329 struct fc_lport *lp;
446 struct fc_lport *lp;
478 int (*frame_send)(struct fc_lport *, struct fc_frame *);
485 struct fc_seq *(*elsct_send)(struct fc_lport *, u32 did,
497 int (*ddp_setup)(struct fc_lport *, u16, struct scatterlist *,
505 int (*ddp_done)(struct fc_lport *, u16);
512 int (*ddp_target)(struct fc_lport *, u16, struct scatterlist *,
519 void (*get_lesb)(struct fc_lport *, struct fc_els_lesb *lesb);
528 void (*exch_mgr_reset)(struct fc_lport *, u32 s_id, u32 d_id);
547 void (*lport_set_port_id)(struct fc_lport *, u32 port_id,
555 void (*rport_event_callback)(struct fc_lport *,
567 int (*fcp_cmd_send)(struct fc_lport *, struct fc_fcp_pkt *,
576 void (*fcp_cleanup)(struct fc_lport *);
583 void (*fcp_abort_io)(struct fc_lport *);
590 void (*disc_recv_req)(struct fc_lport *, struct fc_frame *);
597 void (*disc_start)(void (*disc_callback)(struct fc_lport *,
599 struct fc_lport *);
607 void (*disc_stop) (struct fc_lport *);
616 void (*disc_stop_final) (struct fc_lport *);
649 void (*disc_callback)(struct fc_lport *,
707 struct fc_lport { struct
780 void (*recv)(struct fc_lport *, struct fc_frame *); argument
800 static inline int fc_lport_test_ready(struct fc_lport *lport) in fc_lport_test_ready()
810 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) in fc_set_wwnn()
820 static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwpn) in fc_set_wwpn()
830 static inline void fc_lport_state_enter(struct fc_lport *lport, in fc_lport_state_enter()
844 static inline int fc_lport_init_stats(struct fc_lport *lport) in fc_lport_init_stats()
856 static inline void fc_lport_free_stats(struct fc_lport *lport) in fc_lport_free_stats()
867 static inline void *lport_priv(const struct fc_lport *lport) in lport_priv()
880 static inline struct fc_lport *
883 struct fc_lport *lport; in libfc_host_alloc()
909 int fc_lport_init(struct fc_lport *);
910 int fc_lport_destroy(struct fc_lport *);
911 int fc_fabric_logoff(struct fc_lport *);
912 int fc_fabric_login(struct fc_lport *);
913 void __fc_linkup(struct fc_lport *);
914 void fc_linkup(struct fc_lport *);
915 void __fc_linkdown(struct fc_lport *);
916 void fc_linkdown(struct fc_lport *);
917 void fc_vport_setlink(struct fc_lport *);
918 void fc_vports_linkchange(struct fc_lport *);
919 int fc_lport_config(struct fc_lport *);
920 int fc_lport_reset(struct fc_lport *);
921 void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp);
922 int fc_set_mfs(struct fc_lport *, u32 mfs);
923 struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
924 struct fc_lport *fc_vport_id_lookup(struct fc_lport *, u32 port_id);
926 void fc_lport_set_local_id(struct fc_lport *, u32 port_id);
927 void fc_lport_iterate(void (*func)(struct fc_lport *, void *), void *);
933 struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport,
935 struct fc_rport_priv *fc_rport_create(struct fc_lport *, u32);
939 void fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp);
945 void fc_disc_init(struct fc_lport *);
946 void fc_disc_config(struct fc_lport *, void *);
948 static inline struct fc_lport *fc_disc_lport(struct fc_disc *disc) in fc_disc_lport()
950 return container_of(disc, struct fc_lport, disc); in fc_disc_lport()
956 int fc_fcp_init(struct fc_lport *);
957 void fc_fcp_destroy(struct fc_lport *);
971 int fc_elsct_init(struct fc_lport *);
972 struct fc_seq *fc_elsct_send(struct fc_lport *, u32 did,
990 int fc_exch_init(struct fc_lport *);
991 void fc_exch_update_stats(struct fc_lport *lport);
992 struct fc_seq *fc_exch_seq_send(struct fc_lport *lport,
1005 struct fc_seq *fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp);
1007 struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *,
1011 int fc_exch_mgr_list_clone(struct fc_lport *src, struct fc_lport *dst);
1012 struct fc_exch_mgr *fc_exch_mgr_alloc(struct fc_lport *, enum fc_class class,
1015 void fc_exch_mgr_free(struct fc_lport *);
1016 void fc_exch_recv(struct fc_lport *, struct fc_frame *);
1017 void fc_exch_mgr_reset(struct fc_lport *, u32 s_id, u32 d_id);
1018 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp);